mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
40 lines
688 B
Stylus
40 lines
688 B
Stylus
@import 'nib';
|
|
|
|
// config
|
|
|
|
support-for-ie ?= true
|
|
use-debug = false
|
|
|
|
debug( color )
|
|
if use-debug
|
|
border: 1px solid color
|
|
|
|
// constants
|
|
|
|
panel-width = 245px
|
|
|
|
row-height = 29px
|
|
// row-height-touch = 44px
|
|
|
|
font-color = #ECEBE0
|
|
panel-color = rgba( 30, 30, 30, 0.95 );
|
|
|
|
number-color = #25A0D8
|
|
boolean-color = #864694
|
|
string-color = #1EBD6E
|
|
|
|
light = rgba( 255, 255, 255, 0.25 )
|
|
lighter = rgba( 255, 255, 255, 0.05 )
|
|
|
|
dark = rgba( 0, 0, 0, 0.1 );
|
|
|
|
padding = 8px
|
|
ease = cubic-bezier( .25, .25, 0, 1 )
|
|
// common
|
|
|
|
panel-font( color = font-color )
|
|
font: 10px 'Lucida Grande', sans-serif;
|
|
color: color;
|
|
if ( color == font-color )
|
|
-webkit-font-smoothing: antialiased;
|