Blame view

public/assets/addons/fastflow/plugins/select/css/cs-select.css 1.98 KB
2db47680   hexiaodong   chore: 初始提交 php 遗...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
  /* Default custom select styles */

  div.cs-select {

  	display: inline-block;

  	vertical-align: middle;

  	position: relative;

  	text-align: left;

  	background: #fff;

  	z-index: 100;

  	width: 160px;

  	max-width: 500px;

  	-webkit-touch-callout: none;

  	-webkit-user-select: none;

  	-khtml-user-select: none;

  	-moz-user-select: none;

  	-ms-user-select: none;

  	user-select: none;

  }

  

  div.cs-select:focus {

  	outline: none; /* For better accessibility add a style for this in your skin */

  }

  

  .cs-select select {

  	display: none;

  }

  

  .cs-select span {

  	display: block;

  	position: relative;

  	cursor: pointer;

  	/*padding: 1em;*/

  	white-space: nowrap;

  	overflow: hidden;

  	text-overflow: ellipsis;

  	height: 100%;

  }

  

  /* Placeholder and selected option */

  /*.cs-select > span {*/

  /*	padding-right: 3em;*/

  /*}*/

  

  .cs-select > span::after,

  .cs-select .cs-selected span::after {

  	speak: none;

  	position: absolute;

  	top: 50%;

  	-webkit-transform: translateY(-50%);

  	transform: translateY(-50%);

  	-webkit-font-smoothing: antialiased;

  	-moz-osx-font-smoothing: grayscale;

  }

  

  .cs-select > span::after {

  	content: '\25BE';

  	right: 1em;

  }

  

  .cs-select .cs-selected span::after {

  	content: '\2713';

  	margin-left: 1em;

  }

  

  .cs-select.cs-active > span::after {

  	-webkit-transform: translateY(-50%) rotate(180deg);

  	transform: translateY(-50%) rotate(180deg);

  }

  

  /* Options */

  .cs-select .cs-options {

  	position: absolute;

  	overflow: hidden;

  	width: 100%;

  	background: #fff;

  	visibility: hidden;

  	max-height: 400px;

  }

  

  .cs-select.cs-active .cs-options {

  	visibility: visible;

  	max-height: 400px;

  	overflow-y: scroll;

  	background: white;

  }

  

  .cs-select ul {

  	display: none;

  }

  

  .cs-select.cs-active ul {

  	display: unset;

  }

  

  .cs-select ul span {

  	padding: 1em;

  }

  

  .cs-select ul li.cs-focus span {

  	background-color: #ddd;

  }

  

  /* Optgroup and optgroup label */

  .cs-select li.cs-optgroup ul {

  	padding-left: 1em;

  }

  

  .cs-select li.cs-optgroup > span {

  	cursor: default;

  }