aswi2021mr-proper-gitlab/application/view/library/jQuery-Multi/demo/demo-styles.css @ 8c360548
1 |
*, *:before, *:after { |
---|---|
2 |
box-sizing: border-box; |
3 |
}
|
4 |
|
5 |
*, body, button, input, textarea, select { |
6 |
text-rendering: optimizeLegibility; |
7 |
-moz-osx-font-smoothing: grayscale; |
8 |
}
|
9 |
|
10 |
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { |
11 |
margin:0; |
12 |
padding:0; |
13 |
}
|
14 |
|
15 |
table { |
16 |
border-collapse:collapse; |
17 |
border-spacing:0; |
18 |
}
|
19 |
|
20 |
fieldset,img { |
21 |
border:0; |
22 |
}
|
23 |
|
24 |
address,caption,cite,code,dfn,em,strong,th,var { |
25 |
font-style:normal; |
26 |
font-weight:normal; |
27 |
}
|
28 |
|
29 |
ol,ul { |
30 |
list-style:none; |
31 |
}
|
32 |
|
33 |
caption,th { |
34 |
text-align:left; |
35 |
}
|
36 |
|
37 |
h1,h2,h3,h4,h5,h6 { |
38 |
font-size:100%; |
39 |
font-weight:normal; |
40 |
}
|
41 |
|
42 |
q:before,q:after { |
43 |
content:''; |
44 |
}
|
45 |
|
46 |
abbr,acronym { |
47 |
border: 0; |
48 |
}
|
49 |
|
50 |
body { |
51 |
font-family: sans-serif; |
52 |
font-size: 16px; |
53 |
line-height: 1.4; |
54 |
padding: 2em; |
55 |
}
|
56 |
|
57 |
.demo-example { |
58 |
margin-bottom: 2em; |
59 |
}
|
60 |
|
61 |
.demo-example > label { |
62 |
display: block; |
63 |
margin-bottom: 0.5em; |
64 |
font-weight: bold; |
65 |
}
|
66 |
|
67 |
.position-menu-within { |
68 |
width: 18em; |
69 |
height: 15em; |
70 |
background: #eee; |
71 |
overflow: auto; |
72 |
padding: 2em 0 0 2em; |
73 |
}
|
74 |
|
75 |
.modal-example .multi-select-menu { |
76 |
position: fixed; |
77 |
top: 50%; |
78 |
left: 50%; |
79 |
transform: translate(-50%, -50%); |
80 |
max-height: 50%; |
81 |
min-width: 0; |
82 |
overflow: auto; |
83 |
border: none; |
84 |
border-radius: 0.3em; |
85 |
box-shadow: 0 1em 3em rgba(0,0,0,0.4); |
86 |
}
|
87 |
|
88 |
.modal-example .multi-select-menuitem { |
89 |
font-size: 1em; |
90 |
padding: 1.5em 2.5em 1.5em 3.5em; |
91 |
}
|
92 |
|
93 |
.modal-example .multi-select-menuitem + .multi-select-menuitem { |
94 |
padding-top: 0; |
95 |
}
|
96 |
|
97 |
.modal-example .multi-select-menuitem input { |
98 |
margin-left: -2.5em; |
99 |
}
|
100 |
|
101 |
.multi-select-modal { |
102 |
position: fixed; |
103 |
top: 0; |
104 |
bottom: 0; |
105 |
left: 0; |
106 |
right: 0; |
107 |
z-index: 1; |
108 |
background: rgba(0, 0, 0, 0.4); |
109 |
display: none; |
110 |
}
|
111 |
|
112 |
.multi-select-container--open .multi-select-modal { |
113 |
display: block; |
114 |
}
|