/** * Stylesheet * * @namespace Lungo.Theme * @class Layout * * @author Javier Jimenez Villar || @soyjavi */ @import "__init.styl" form, .form & label color: #aaa font-weight: 300 & fieldset background: #fff border-bottom: 1px solid CONTENT & .icon color: #ccc &.radius-top border-radius (BORDER_radius * 2) (BORDER_radius * 2) 0 0 &.radius-bottom border-radius 0 0 (BORDER_radius * 2) (BORDER_radius * 2) &.radius border-radius (BORDER_radius * 2) &.shadow border-bottom: 1px solid rgba(0,0,0,0.1) & input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], select, textarea, label.select background-color: white color: rgba(0, 0, 0, 0.75) &.border border: FORM_border solid FORM_color border-radius: FORM_border_radius &.error, &:required color: COLOR_cancel !important border-color: COLOR_cancel !important &.success color: COLOR_success !important border-color: COLOR_success !important &:focus, &:active, &:hover color: THEME_dark border-color: THEME &:after background-color: THEME &[disabled] background: FORM_color border-color: FORM_color color: darken(FORM_color, 25%) & .select:after background: FORM_color color: #fff & input[type=range] background-color: FORM_color color: darken(FORM_color, 25%) border-radius: (FORM_border_radius * 4) &:active background-color: THEME_light !important color: #fff &::-webkit-slider-thumb background-color: darken(THEME, 25%) !important &::-webkit-slider-thumb border-radius (FORM_border_radius * 4) background-color: darken(FORM_color, 25%) & [data-progress] background-color: #ddd & .value background-color: THEME_light &, & .value border-radius (FORM_border_radius * 3) & [data-control-checkbox] background: FORM_color color: darken(FORM_color, 25%) font-weight: 700 border-radius: (FORM_border_radius * 4) box-shadow: inset 0px 1px 2px rgba(0,0,0,0.25), 0px 1px 0px rgba(255,255,255,0.25) & label border-radius: (FORM_border_radius * 4) background: darken(FORM_color, 25%) &.checked background-color: THEME_light color: #fff !important & label background-color: darken(THEME, 25%) // Expand &.twitter font-family:'lungojsicon' font-size: 1.3em line-height: 1.4em &:before content: "\f099" &:after content: "\f099" text-shadow: 0 1px 0 #fff &.ok font-family:'lungojsicon' font-size: 1.3em line-height: 1.4em &.checked background-color: COLOR_success & label background-color: darken(COLOR_success, 25%) &:before content: "\f00c" &:after content: "\f00d"