1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00
Files
Boostnote/browser/styles/index.styl
2016-05-14 13:50:23 +09:00

105 lines
2.5 KiB
Stylus

$brand-color = #2BAC8F
$danger-color = red
$danger-lighten-color = #FFE5E6
// UI default
$ui-text-color = #515151
$ui-inactive-text-color = #939395
$ui-borderColor = #D1D1D1
$ui-backgroundColor = #FAFAFA
$ui-border = solid 1px $ui-borderColor
// UI Button
$ui-button-color = #939395
$ui-button--hover-backgroundColor = rgba(126, 127, 129, 0.08)
$ui-button--active-color = #515151
$ui-button--active-backgroundColor = alpha(#E0E0E0, 90%)
// UI Tooltip
$ui-tooltip-backgroundColor = alpha(#444, 70%)
$ui-tooltip-button-backgroundColor = #D1D1D1
$ui-tooltip-button--hover-backgroundColor = lighten(#D1D1D1, 30%)
// UI Input
$ui-input--focus-borderColor = #369DCD
$ui-input--disabled-backgroundColor = #DDD
/*
* # Border
*/
$border-color = #D0D0D0
$active-border-color = #369DCD
$focus-border-color = #369DCD
$default-border = solid 1px $border-color
$active-border = solid 1px $active-border-color
/**
* # Button styles
*/
// Default button
$default-button-background = white
$default-button-background--hover = #e6e6e6
$default-button-background--active = #d4d4d4
colorDefaultButton()
background-color $default-button-background
&:hover
background-color $default-button-background--hover
&:active
background-color $default-button-background--active
&:active:hover
background-color $default-button-background--active
// Primary button(Brand color)
$primary-button-background = $brand-color
$primary-button-background--hover = darken($brand-color, 5%)
$primary-button-background--hover = darken($brand-color, 10%)
colorPrimaryButton()
background-color $primary-button-background
&:hover
background-color $primary-button-background--hover
&:active
background-color $primary-button-background--active
&:active:hover
background-color $primary-button-background--active
/**
* Nav
*/
navButtonColor()
border none
color $ui-button-color
background-color transparent
transition color background-color 0.15s
&:hover
background-color $ui-button--hover-backgroundColor
&:active
background-color $ui-button--active-backgroundColor
color $ui-button--active-color
&:active, &:active:hover
background-color $ui-button--active-backgroundColor
color $ui-button--active-color
/**
* # Modal Stuff
* These will be moved lib/modal
*/
$modal-z-index = 1002
$modal-background = white
$modal-margin = 64px auto 0
$modal-border-radius = 5px
modal()
position relative
z-index $modal-z-index
margin $modal-margin
background-color $modal-background
overflow hidden
border-radius $modal-border-radius