Files
mixtape/zero.Web.UI/Sass/Core/_forms.scss
T

73 lines
1.3 KiB
SCSS
Raw Normal View History

2020-03-27 01:17:22 +01:00
2020-04-08 15:16:05 +02:00
::placeholder
{
color: var(--color-fg-light);
}
2020-04-21 16:23:43 +02:00
input[type="text"], input[type="color"], input[type="date"], input[type="datetime"], input[type="email"], input[type="file"], input[type="month"], input[type="number"],
input[type="password"], input[type="range"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], input[type="week"],
2020-05-04 16:00:39 +02:00
textarea, .ui-native-select
2020-03-27 01:17:22 +01:00
{
@extend %font;
2020-04-09 11:48:34 +02:00
background: var(--color-bg-light);
border: 1px solid var(--color-line);
2020-03-27 01:17:22 +01:00
font-size: $font-size;
display: inline-block;
2020-04-25 19:38:45 +02:00
height: 42px;
2020-04-11 13:59:54 +02:00
padding: 6px 12px;
2020-03-27 01:17:22 +01:00
line-height: 1.5;
color: var(--color-fg);
border-radius: var(--radius);
2020-03-27 01:17:22 +01:00
vertical-align: middle;
box-sizing: border-box;
width: 100%;
2020-03-30 17:11:56 +02:00
&:focus
{
2020-04-08 15:16:05 +02:00
border-color: var(--color-line-mid);
2020-03-30 17:11:56 +02:00
}
2020-04-28 14:51:17 +02:00
&[disabled], &[readonly]
{
border-color: transparent !important;
padding: 0;
height: auto;
}
2020-05-04 14:13:03 +02:00
}
textarea
{
resize: vertical;
min-height: 80px;
2020-05-04 16:00:39 +02:00
}
.ui-native-select
{
position: relative;
select
{
@extend %font;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
width: 100%;
padding-left: 9px;
2020-05-04 16:00:39 +02:00
-webkit-appearance: none;
border: none;
}
&:after
{
@extend %font-icon;
content: "\e842";
position: absolute;
right: 12px;
top: 0;
height: 42px;
line-height: 40px;
}
2020-04-08 15:16:05 +02:00
}