aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/index/Select.less
diff options
context:
space:
mode:
author崖鹰 <zhao.wuz@alipay.com>2015-11-13 11:33:48 +0800
committer崖鹰 <zhao.wuz@alipay.com>2015-11-13 11:33:48 +0800
commit02de449a0474765a4796fa607e7e3922252f574f (patch)
treedc37faf2f610343112ea1fc3707ad188092bd031 /assets/index/Select.less
parent1f336fabc9135ac971e53d9c2ae407db69b8f096 (diff)
downloadtime-picker-02de449a0474765a4796fa607e7e3922252f574f.tar.gz
time-picker-02de449a0474765a4796fa607e7e3922252f574f.tar.zst
time-picker-02de449a0474765a4796fa607e7e3922252f574f.zip
release 0.1.0
Diffstat (limited to 'assets/index/Select.less')
-rw-r--r--assets/index/Select.less50
1 files changed, 50 insertions, 0 deletions
diff --git a/assets/index/Select.less b/assets/index/Select.less
new file mode 100644
index 0000000..995d09e
--- /dev/null
+++ b/assets/index/Select.less
@@ -0,0 +1,50 @@
1.@{prefixClass}-select {
2 float: left;
3 overflow-y:auto;
4 font-size: 12px;
5 border: 1px solid #e9e9e9;
6 border-width: 0 1px;
7 margin-left: -1px;
8 box-sizing: border-box;
9 width: 56px;
10
11 &:first-child {
12 border-left: 0;
13 margin-left: 0;
14 }
15
16 &:last-child {
17 border-right: 0;
18 }
19
20 ul {
21 list-style: none;
22 box-sizing: border-box;
23 margin: 0;
24 padding: 0;
25 width: 100%;
26 max-height: 144px;
27 }
28
29 li {
30 list-style: none;
31 box-sizing: border-box;
32 margin: 0;
33 padding: 0 0 0 16px;
34 width: 100%;
35 height: 24px;
36 line-height: 24px;
37 text-align: left;
38 cursor: pointer;
39 user-select: none;
40
41 &.selected {
42 background: #edfaff;
43 color: #2db7f5;
44 }
45
46 &:hover {
47 background: #edfaff;
48 }
49 }
50}