1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/thebestweb-uni-app-style

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
input.scss 1.2 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
theBestXH Отправлено 06.10.2020 05:00 7a873b5
@mixin flex {
display: flex;
align-items: center;
}
@mixin name {
.name {
min-width: 120upx;
padding-right: 20upx;
&.required:before {
content: '*';
color: #fe6367;
}
&:after {
content: ':';
}
}
}
@mixin icon {
.icon {
font-size: 40upx;
padding-right: 20upx;
}
}
@mixin input {
input,
textarea {
-webkit-appearance: none;
flex: 1;
width: 100%;
height: 100%;
background-color: transparent;
color: #999999;
&::-webkit-input-placeholder {
color: #999999;
}
&:disabled {
-webkit-opacity: 1;
-webkit-text-fill-color: #999999;
background-color: transparent;
color: #999999;
}
}
}
.input {
&-small {
@include flex;
@include name;
@include icon;
@include input;
height: 60upx;
}
&-medium {
@include flex;
@include name;
@include icon;
@include input;
height: 80upx;
}
&-large {
@include flex;
@include name;
@include icon;
@include input;
height: 90upx;
}
}
.textarea {
@include flex;
@include name;
@include icon;
@include input;
align-items: flex-start;
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/thebestweb-uni-app-style.git
git@api.gitlife.ru:oschina-mirror/thebestweb-uni-app-style.git
oschina-mirror
thebestweb-uni-app-style
thebestweb-uni-app-style
master