Mailspring/static/inputs.less

36 lines
766 B
Text
Raw Normal View History

@import "ui-variables";
@import "ui-mixins";
2015-03-05 07:19:51 +08:00
input[type="text"],
input[type="email"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="range"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"] {
width: 100%;
padding-left: @padding-xs-horizontal;
padding-right: @padding-xs-horizontal;
font-size: @font-size-base;
line-height: @line-height-computed;
2015-03-03 06:15:39 +08:00
font-weight:400;
background: @input-bg;
&.input-bordered {
border-radius: @border-radius-base;
border: 1px solid @input-border;
}
2015-03-04 10:09:57 +08:00
}
2015-03-05 07:19:51 +08:00
input[type="text"]:focus,
input[type="email"]:focus, {
&.input-bordered {
2015-03-05 07:19:51 +08:00
box-shadow: 0 0 3px @accent-primary;
}
}