Skip to content

Instantly share code, notes, and snippets.

@Manoz
Created January 6, 2014 13:47
Show Gist options
  • Select an option

  • Save Manoz/8283084 to your computer and use it in GitHub Desktop.

Select an option

Save Manoz/8283084 to your computer and use it in GitHub Desktop.
//
// STANDARD SCROLLBARS
//
// Standard vertical scroll bar
{
"class": "scroll_bar_control",
"layer0.texture": "",
"layer0.tint": [35, 40, 48], // 01
"layer0.opacity": 1,
"layer0.inner_margin": [0,0],
"blur": true
},
// Standard horizontal scroll bar
{
"class": "scroll_bar_control",
"attributes": ["horizontal"],
"layer0.texture": "",
"layer0.tint": [35, 40, 48], // 01
"layer0.inner_margin": [0,0],
"blur": true
},
// Standard scroll bar corner
{
"class": "scroll_corner_control",
"layer0.texture": "",
"layer0.tint": [52, 61, 70], // 01
"layer0.inner_margin": [0,0],
"layer0.opacity": 1
},
// Standard vertical scroll puck
{
"class": "puck_control",
"layer0.texture": "",
"layer0.tint": [60, 60, 60],
"layer0.opacity": 1,
"layer0.inner_margin": [0,0],
"content_margin": [6,0],
"blur": false
},
// Standard horizontal scroll puck
{
"class": "puck_control",
"attributes": ["horizontal"],
// "layer0.texture": "",
"layer0.tint": [60, 60, 60], // 01
"layer0.inner_margin": [0,0],
"content_margin": [12,6],
"blur": false
},
//
// OVERLAY SCROLLBARS
//
// Overlay toggle scroll bar
{
"class": "scroll_area_control",
"settings": ["overlay_scroll_bars"],
"overlay": true
},
{
"class": "scroll_area_control",
"settings": ["!overlay_scroll_bars"],
"overlay": false
},
// Overlay vertical scroll bar
{
"class": "scroll_bar_control",
"settings": ["overlay_scroll_bars"],
// "layer0.texture": "",
"layer0.tint": [43, 48, 59], // 00
"layer0.inner_margin": [0,5],
"layer0.opacity": 0,
"blur": false
},
// Overlay horizontal scroll bar
{
"class": "scroll_bar_control",
"settings": ["overlay_scroll_bars"],
"attributes": ["horizontal"],
"layer0.inner_margin": [5,0],
"layer0.opacity": 0,
"blur": true
},
// Overlay vertical puck
{
"class": "puck_control",
"settings": ["overlay_scroll_bars"],
"layer0.texture": "",
"layer0.inner_margin": [0,5],
"content_margin": [2,32],
"blur": true
},
// Overlay horizontal puck
{
"class": "puck_control",
"settings": ["overlay_scroll_bars"],
"attributes": ["horizontal"],
"layer0.texture": "",
"layer0.inner_margin": [5,0],
"content_margin": [16,2],
"blur": true
},
// Overlay light puck (for dark content)
{
"class": "puck_control",
"settings": ["overlay_scroll_bars"],
"attributes": ["dark"],
// "layer0.texture": "",
"layer0.tint": [79, 91, 102] // 02
},
// Overlay light horizontal puck (for dark content)
{
"class": "puck_control",
"settings": ["overlay_scroll_bars"],
"attributes": ["horizontal","dark"],
// "layer0.texture": "",
"layer0.tint": [79, 91, 102] // 02
},
//
// EMPTY WINDOW BACKGROUND
//
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment