mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
done
This commit is contained in:
@@ -13,3 +13,5 @@
|
||||
@import './radio.css';
|
||||
@import './switch.css';
|
||||
@import './badge.css';
|
||||
@import './search.css';
|
||||
|
||||
|
35
packages/zanui-css/src/search.css
Normal file
35
packages/zanui-css/src/search.css
Normal file
@@ -0,0 +1,35 @@
|
||||
@import "./common/var.pcss";
|
||||
@component-namespace z {
|
||||
@b search {
|
||||
padding: 4px 15px;
|
||||
background-color: #F2F2F2;
|
||||
@e input-wrap {
|
||||
position: relative;
|
||||
width: 92%;
|
||||
padding: 8px 24px 8px 35px;
|
||||
border: 1px solid $c-gray-light;
|
||||
border-radius: 4px;
|
||||
background-color: $c-white;
|
||||
span {
|
||||
display: none;
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
top: 8px;
|
||||
}
|
||||
@when focus {
|
||||
width: 82%;
|
||||
span {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
input {
|
||||
width: 100%;
|
||||
height: 14px;
|
||||
font-size: 14px;
|
||||
color: $c-gray-dark;
|
||||
border: none;
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user