author | ymh <ymh.work@gmail.com> |
Tue, 15 Dec 2020 13:49:49 +0100 | |
changeset 16 | a86126ab1dd4 |
parent 9 | 177826044cd9 |
child 18 | be944660c56a |
permissions | -rw-r--r-- |
0 | 1 |
.wp-pointer-content { |
2 |
padding: 0 0 10px; |
|
3 |
position: relative; |
|
4 |
font-size: 13px; |
|
5 |
background: #fff; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
6 |
border: 1px solid #ddd; |
9 | 7 |
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.075); |
0 | 8 |
} |
9 |
||
10 |
.wp-pointer-content h3 { |
|
11 |
position: relative; |
|
5 | 12 |
margin: -1px -1px 5px; |
0 | 13 |
padding: 15px 18px 14px 60px; |
5 | 14 |
border: 1px solid #3592b6; |
15 |
border-bottom: none; |
|
16 | 16 |
line-height: 1.4; |
0 | 17 |
font-size: 14px; |
18 |
color: #fff; |
|
5 | 19 |
background: #00a0d2; |
0 | 20 |
} |
21 |
||
22 |
.wp-pointer-content h3:before { |
|
5 | 23 |
background: #fff; |
24 |
border-radius: 50%; |
|
25 |
color: #00a0d2; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
26 |
content: "\f227"; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
27 |
font: normal 20px/1.6 dashicons; |
0 | 28 |
position: absolute; |
5 | 29 |
top: 8px; |
0 | 30 |
left: 15px; |
5 | 31 |
speak: none; |
32 |
text-align: center; |
|
33 |
width: 32px; |
|
34 |
height: 32px; |
|
35 |
-webkit-font-smoothing: antialiased; |
|
36 |
-moz-osx-font-smoothing: grayscale; |
|
0 | 37 |
} |
38 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
39 |
.wp-pointer-content h4 { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
40 |
margin: 1.33em 20px 1em; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
41 |
font-size: 1.15em; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
42 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
43 |
|
0 | 44 |
.wp-pointer-content p { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
45 |
padding: 0 20px; |
0 | 46 |
} |
47 |
||
48 |
.wp-pointer-buttons { |
|
49 |
margin: 0; |
|
50 |
padding: 5px 15px; |
|
51 |
overflow: auto; |
|
52 |
} |
|
53 |
||
54 |
.wp-pointer-buttons a { |
|
55 |
float: right; |
|
56 |
display: inline-block; |
|
57 |
text-decoration: none; |
|
58 |
} |
|
59 |
||
60 |
.wp-pointer-buttons a.close { |
|
5 | 61 |
padding-left: 3px; |
0 | 62 |
position: relative; |
63 |
} |
|
64 |
||
65 |
.wp-pointer-buttons a.close:before { |
|
5 | 66 |
background: none; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
67 |
color: #72777c; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
68 |
content: "\f153"; |
5 | 69 |
display: block !important; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
70 |
font: normal 16px/1 dashicons; |
5 | 71 |
speak: none; |
72 |
margin: 1px 0; |
|
73 |
text-align: center; |
|
74 |
-webkit-font-smoothing: antialiased !important; |
|
75 |
width: 10px; |
|
76 |
height: 100%; |
|
77 |
position: absolute; |
|
78 |
left: -15px; |
|
79 |
top: 1px; |
|
0 | 80 |
} |
81 |
||
82 |
.wp-pointer-buttons a.close:hover:before { |
|
5 | 83 |
color: #c00; |
0 | 84 |
} |
85 |
||
86 |
/* The arrow base class must take up no space, even with transparent borders. */ |
|
87 |
.wp-pointer-arrow, |
|
88 |
.wp-pointer-arrow-inner { |
|
89 |
position: absolute; |
|
90 |
width: 0; |
|
91 |
height: 0; |
|
92 |
} |
|
93 |
||
94 |
.wp-pointer-arrow { |
|
95 |
z-index: 10; |
|
5 | 96 |
width: 0; |
97 |
height: 0; |
|
98 |
border: 0 solid transparent; |
|
0 | 99 |
} |
100 |
||
101 |
.wp-pointer-arrow-inner { |
|
102 |
z-index: 20; |
|
103 |
} |
|
104 |
||
105 |
/* Make Room for the Arrow! */ |
|
106 |
.wp-pointer-top, |
|
107 |
.wp-pointer-undefined { |
|
108 |
padding-top: 13px; |
|
109 |
} |
|
110 |
||
111 |
.wp-pointer-bottom { |
|
5 | 112 |
margin-top: -13px; |
0 | 113 |
padding-bottom: 13px; |
114 |
} |
|
115 |
||
5 | 116 |
/* rtl:ignore */ |
0 | 117 |
.wp-pointer-left { |
118 |
padding-left: 13px; |
|
119 |
} |
|
5 | 120 |
/* rtl:ignore */ |
0 | 121 |
.wp-pointer-right { |
5 | 122 |
margin-left: -13px; |
0 | 123 |
padding-right: 13px; |
124 |
} |
|
125 |
||
126 |
/* Base Size & Positioning */ |
|
127 |
.wp-pointer-top .wp-pointer-arrow, |
|
128 |
.wp-pointer-bottom .wp-pointer-arrow, |
|
129 |
.wp-pointer-undefined .wp-pointer-arrow { |
|
130 |
left: 50px; |
|
131 |
} |
|
132 |
||
133 |
.wp-pointer-left .wp-pointer-arrow, |
|
134 |
.wp-pointer-right .wp-pointer-arrow { |
|
135 |
top: 50%; |
|
136 |
margin-top: -15px; |
|
137 |
} |
|
138 |
||
139 |
/* Arrow Sprite */ |
|
140 |
.wp-pointer-top .wp-pointer-arrow, |
|
141 |
.wp-pointer-undefined .wp-pointer-arrow { |
|
142 |
top: 0; |
|
5 | 143 |
border-width: 0 13px 13px 13px; |
144 |
border-bottom-color: #3592b6; |
|
145 |
} |
|
146 |
||
147 |
.wp-pointer-top .wp-pointer-arrow-inner, |
|
148 |
.wp-pointer-undefined .wp-pointer-arrow-inner { |
|
149 |
top: 1px; |
|
150 |
margin-left: -13px; |
|
151 |
margin-top: -13px; |
|
152 |
border: 13px solid transparent; |
|
153 |
border-bottom-color: #00a0d2; |
|
154 |
display: block; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
155 |
content: " "; |
0 | 156 |
} |
157 |
||
158 |
.wp-pointer-bottom .wp-pointer-arrow { |
|
159 |
bottom: 0; |
|
5 | 160 |
border-width: 13px 13px 0 13px; |
161 |
border-top-color: #ccc; |
|
0 | 162 |
} |
163 |
||
5 | 164 |
.wp-pointer-bottom .wp-pointer-arrow-inner { |
165 |
bottom: 1px; |
|
166 |
margin-left: -13px; |
|
167 |
margin-bottom: -13px; |
|
168 |
border: 13px solid transparent; |
|
169 |
border-top-color: #fff; |
|
170 |
display: block; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
171 |
content: " "; |
0 | 172 |
} |
173 |
||
5 | 174 |
/* rtl:ignore */ |
175 |
.wp-pointer-left .wp-pointer-arrow { |
|
176 |
left: 0; |
|
177 |
border-width: 13px 13px 13px 0; |
|
178 |
border-right-color: #ccc; |
|
0 | 179 |
} |
180 |
||
5 | 181 |
/* rtl:ignore */ |
182 |
.wp-pointer-left .wp-pointer-arrow-inner { |
|
183 |
left: 1px; |
|
184 |
margin-left: -13px; |
|
185 |
margin-top: -13px; |
|
186 |
border: 13px solid transparent; |
|
187 |
border-right-color: #fff; |
|
188 |
display: block; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
189 |
content: " "; |
5 | 190 |
} |
191 |
||
192 |
/* rtl:ignore */ |
|
193 |
.wp-pointer-right .wp-pointer-arrow { |
|
194 |
right: 0; |
|
195 |
border-width: 13px 0 13px 13px; |
|
196 |
border-left-color: #ccc; |
|
0 | 197 |
} |
198 |
||
5 | 199 |
/* rtl:ignore */ |
200 |
.wp-pointer-right .wp-pointer-arrow-inner { |
|
201 |
right: 1px; |
|
202 |
margin-right: -13px; |
|
203 |
margin-top: -13px; |
|
204 |
border: 13px solid transparent; |
|
205 |
border-left-color: #fff; |
|
206 |
display: block; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
207 |
content: " "; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
208 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
209 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
210 |
.wp-pointer.arrow-bottom .wp-pointer-content { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
211 |
margin-bottom: -45px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
212 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
213 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
214 |
.wp-pointer.arrow-bottom .wp-pointer-arrow { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
215 |
top: 100%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
216 |
margin-top: -30px; |
5 | 217 |
} |
0 | 218 |
|
5 | 219 |
/* Disable pointers at responsive sizes */ |
9 | 220 |
@media screen and (max-width: 782px) { |
5 | 221 |
.wp-pointer { |
222 |
display: none; |
|
0 | 223 |
} |
224 |
} |