| 1 |
/** |
| 2 |
** Modals are placed outside wpcomment-wrapper, so we need to add css without **/ |
| 3 |
|
| 4 |
.close { |
| 5 |
float: right; |
| 6 |
font-size: 1.5rem; |
| 7 |
font-weight: 700; |
| 8 |
line-height: 1; |
| 9 |
color: #000; |
| 10 |
text-shadow: 0 1px 0 #fff; |
| 11 |
opacity: .5; |
| 12 |
} |
| 13 |
.close:focus, |
| 14 |
.close:hover { |
| 15 |
color: #000; |
| 16 |
text-decoration: none; |
| 17 |
opacity: .75; |
| 18 |
} |
| 19 |
button.close { |
| 20 |
padding: 0; |
| 21 |
background: transparent; |
| 22 |
border: 0; |
| 23 |
-webkit-appearance: none; |
| 24 |
} |
| 25 |
.modal-open { |
| 26 |
overflow: hidden; |
| 27 |
} |
| 28 |
.modal { |
| 29 |
position: fixed; |
| 30 |
top: 0; |
| 31 |
right: 0; |
| 32 |
bottom: 0; |
| 33 |
left: 0; |
| 34 |
z-index: 1050; |
| 35 |
display: none; |
| 36 |
overflow: hidden; |
| 37 |
outline: 0; |
| 38 |
} |
| 39 |
.modal.fade .modal-dialog { |
| 40 |
transition: -webkit-transform 0.3s ease-out; |
| 41 |
transition: transform 0.3s ease-out; |
| 42 |
transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out; |
| 43 |
-webkit-transform: translate(0, -25%); |
| 44 |
transform: translate(0, -25%); |
| 45 |
} |
| 46 |
.modal.show .modal-dialog { |
| 47 |
-webkit-transform: translate(0, 0); |
| 48 |
transform: translate(0, 0); |
| 49 |
} |
| 50 |
.modal-open .modal { |
| 51 |
overflow-x: hidden; |
| 52 |
overflow-y: auto; |
| 53 |
} |
| 54 |
.modal-dialog { |
| 55 |
position: relative; |
| 56 |
width: auto; |
| 57 |
margin: 10px; |
| 58 |
pointer-events: none; |
| 59 |
} |
| 60 |
.modal-content { |
| 61 |
position: relative; |
| 62 |
display: -ms-flexbox; |
| 63 |
display: flex; |
| 64 |
-ms-flex-direction: column; |
| 65 |
flex-direction: column; |
| 66 |
pointer-events: auto; |
| 67 |
background-color: #fff; |
| 68 |
background-clip: padding-box; |
| 69 |
border: 1px solid rgba(0, 0, 0, 0.2); |
| 70 |
border-radius: 0.3rem; |
| 71 |
outline: 0; |
| 72 |
} |
| 73 |
.modal-backdrop { |
| 74 |
position: fixed; |
| 75 |
top: 0; |
| 76 |
right: 0; |
| 77 |
bottom: 0; |
| 78 |
left: 0; |
| 79 |
z-index: 1040; |
| 80 |
background-color: #000; |
| 81 |
} |
| 82 |
.modal-backdrop.fade { |
| 83 |
opacity: 0; |
| 84 |
} |
| 85 |
.modal-backdrop.show { |
| 86 |
opacity: 0.5; |
| 87 |
} |
| 88 |
.modal-header { |
| 89 |
display: -ms-flexbox; |
| 90 |
display: flex; |
| 91 |
-ms-flex-align: start; |
| 92 |
align-items: flex-start; |
| 93 |
-ms-flex-pack: justify; |
| 94 |
justify-content: space-between; |
| 95 |
padding: 15px; |
| 96 |
border-bottom: 1px solid #e9ecef; |
| 97 |
border-top-left-radius: 0.3rem; |
| 98 |
border-top-right-radius: 0.3rem; |
| 99 |
} |
| 100 |
.modal-header .close { |
| 101 |
padding: 15px; |
| 102 |
margin: -15px -15px -15px auto; |
| 103 |
} |
| 104 |
.modal-title { |
| 105 |
margin-bottom: 0; |
| 106 |
line-height: 1.5; |
| 107 |
} |
| 108 |
.modal-body { |
| 109 |
position: relative; |
| 110 |
-ms-flex: 1 1 auto; |
| 111 |
flex: 1 1 auto; |
| 112 |
padding: 15px; |
| 113 |
} |
| 114 |
.modal-footer { |
| 115 |
display: -ms-flexbox; |
| 116 |
display: flex; |
| 117 |
-ms-flex-align: center; |
| 118 |
align-items: center; |
| 119 |
-ms-flex-pack: end; |
| 120 |
justify-content: flex-end; |
| 121 |
padding: 15px; |
| 122 |
border-top: 1px solid #e9ecef; |
| 123 |
} |
| 124 |
.modal-footer > :not(:first-child) { |
| 125 |
margin-left: .25rem; |
| 126 |
} |
| 127 |
.modal-footer > :not(:last-child) { |
| 128 |
margin-right: .25rem; |
| 129 |
} |
| 130 |
.modal-scrollbar-measure { |
| 131 |
position: absolute; |
| 132 |
top: -9999px; |
| 133 |
width: 50px; |
| 134 |
height: 50px; |
| 135 |
overflow: scroll; |
| 136 |
} |
| 137 |
@media (min-width: 576px) { |
| 138 |
.modal-dialog { |
| 139 |
max-width: 500px; |
| 140 |
margin: 30px auto; |
| 141 |
} |
| 142 |
.modal-sm { |
| 143 |
max-width: 300px; |
| 144 |
} |
| 145 |
} |
| 146 |
@media (min-width: 992px) { |
| 147 |
.modal-lg { |
| 148 |
max-width: 800px; |
| 149 |
} |
| 150 |
} |
| 151 |
|
| 152 |
/** ========= Tooltip version 4.1.3 ============= */ |
| 153 |
.wpcomment-wrapper .tooltip { |
| 154 |
position: absolute; |
| 155 |
z-index: 1070; |
| 156 |
display: block; |
| 157 |
margin: 0; |
| 158 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; |
| 159 |
font-style: normal; |
| 160 |
font-weight: 400; |
| 161 |
line-height: 1.5; |
| 162 |
text-align: left; |
| 163 |
text-align: start; |
| 164 |
text-decoration: none; |
| 165 |
text-shadow: none; |
| 166 |
text-transform: none; |
| 167 |
letter-spacing: normal; |
| 168 |
word-break: normal; |
| 169 |
word-spacing: normal; |
| 170 |
white-space: normal; |
| 171 |
line-break: auto; |
| 172 |
font-size: 0.875rem; |
| 173 |
word-wrap: break-word; |
| 174 |
opacity: 0; |
| 175 |
} |
| 176 |
|
| 177 |
.tooltip.show { |
| 178 |
opacity: 0.9; |
| 179 |
} |
| 180 |
|
| 181 |
.tooltip .arrow { |
| 182 |
position: absolute; |
| 183 |
display: block; |
| 184 |
width: 0.8rem; |
| 185 |
height: 0.4rem; |
| 186 |
} |
| 187 |
|
| 188 |
.tooltip .arrow::before { |
| 189 |
position: absolute; |
| 190 |
content: ""; |
| 191 |
border-color: transparent; |
| 192 |
border-style: solid; |
| 193 |
} |
| 194 |
|
| 195 |
.bs-tooltip-top, .bs-tooltip-auto[x-placement^="top"] { |
| 196 |
padding: 0.4rem 0; |
| 197 |
} |
| 198 |
|
| 199 |
.bs-tooltip-top .arrow, .bs-tooltip-auto[x-placement^="top"] .arrow { |
| 200 |
bottom: 0; |
| 201 |
} |
| 202 |
|
| 203 |
.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before { |
| 204 |
top: 0; |
| 205 |
border-width: 0.4rem 0.4rem 0; |
| 206 |
border-top-color: #000; |
| 207 |
} |
| 208 |
|
| 209 |
.bs-tooltip-right, .bs-tooltip-auto[x-placement^="right"] { |
| 210 |
padding: 0 0.4rem; |
| 211 |
} |
| 212 |
|
| 213 |
.bs-tooltip-right .arrow, .bs-tooltip-auto[x-placement^="right"] .arrow { |
| 214 |
left: 0; |
| 215 |
width: 0.4rem; |
| 216 |
height: 0.8rem; |
| 217 |
} |
| 218 |
|
| 219 |
.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^="right"] .arrow::before { |
| 220 |
right: 0; |
| 221 |
border-width: 0.4rem 0.4rem 0.4rem 0; |
| 222 |
border-right-color: #000; |
| 223 |
} |
| 224 |
|
| 225 |
.bs-tooltip-bottom, .bs-tooltip-auto[x-placement^="bottom"] { |
| 226 |
padding: 0.4rem 0; |
| 227 |
} |
| 228 |
|
| 229 |
.bs-tooltip-bottom .arrow, .bs-tooltip-auto[x-placement^="bottom"] .arrow { |
| 230 |
top: 0; |
| 231 |
} |
| 232 |
|
| 233 |
.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^="bottom"] .arrow::before { |
| 234 |
bottom: 0; |
| 235 |
border-width: 0 0.4rem 0.4rem; |
| 236 |
border-bottom-color: #000; |
| 237 |
} |
| 238 |
|
| 239 |
.bs-tooltip-left, .bs-tooltip-auto[x-placement^="left"] { |
| 240 |
padding: 0 0.4rem; |
| 241 |
} |
| 242 |
|
| 243 |
.bs-tooltip-left .arrow, .bs-tooltip-auto[x-placement^="left"] .arrow { |
| 244 |
right: 0; |
| 245 |
width: 0.4rem; |
| 246 |
height: 0.8rem; |
| 247 |
} |
| 248 |
|
| 249 |
.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^="left"] .arrow::before { |
| 250 |
left: 0; |
| 251 |
border-width: 0.4rem 0 0.4rem 0.4rem; |
| 252 |
border-left-color: #000; |
| 253 |
} |
| 254 |
|
| 255 |
.tooltip-inner { |
| 256 |
max-width: 200px; |
| 257 |
padding: 0.25rem 0.5rem; |
| 258 |
color: #fff; |
| 259 |
text-align: center; |
| 260 |
background-color: #000; |
| 261 |
border-radius: 0.25rem; |
| 262 |
} |