| 1 |
<tmpl> |
| 2 |
.yelp-svg-fill { |
| 3 |
fill: {{$color.fg.dark}}; |
| 4 |
} |
| 5 |
.yelp-svg-stroke { |
| 6 |
stroke: {{$color.fg.dark}}; |
| 7 |
} |
| 8 |
div.title { |
| 9 |
margin: 0 0 0.2em 0; |
| 10 |
font-weight: bold; |
| 11 |
color: {{$color.fg.dark}}; |
| 12 |
} |
| 13 |
div.title h1, div.title h2, div.title h3, div.title h4, div.title h5, div.title h6 { |
| 14 |
margin: 0; |
| 15 |
font-size: inherit; |
| 16 |
font-weight: inherit; |
| 17 |
color: inherit; |
| 18 |
} |
| 19 |
div.desc { margin: 0 0 0.2em 0; } |
| 20 |
div.contents + div.desc { margin: 0.2em 0 0 0; } |
| 21 |
pre.contents { |
| 22 |
padding: 0.5em 1em 0.5em 1em; |
| 23 |
} |
| 24 |
div.links-center { text-align: center; } |
| 25 |
div.links .desc { color: {{$color.fg.gray}}; } |
| 26 |
div.links > div.inner > div.region > div.desc { font-style: italic; } |
| 27 |
div.links ul { margin: 0; padding: 0; } |
| 28 |
div.links ul ul { |
| 29 |
margin-{{$left}}: 1em; |
| 30 |
} |
| 31 |
li.links { |
| 32 |
margin: 0.5em 0 0.5em 0; |
| 33 |
padding: 0; |
| 34 |
list-style-type: none; |
| 35 |
} |
| 36 |
li.links-head { |
| 37 |
margin-top: 1em; |
| 38 |
color: {{$color.fg.gray}}; |
| 39 |
border-bottom: solid 1px {{$color.gray}}; |
| 40 |
} |
| 41 |
div.sectionlinks { |
| 42 |
display: inline-block; |
| 43 |
padding: 0 1em 0 1em; |
| 44 |
background-color: {{$color.bg.blue}}; |
| 45 |
border: solid 1px {{$color.fg.blue}}; |
| 46 |
} |
| 47 |
div.sectionlinks ul { margin: 0; } |
| 48 |
div.sectionlinks li { padding: 0; } |
| 49 |
div.sectionlinks div.title { margin: 0.5em 0 0.5em 0; } |
| 50 |
div.sectionlinks div.sectionlinks { |
| 51 |
display: block; |
| 52 |
margin: 0.5em 0 0 0; |
| 53 |
padding: 0; |
| 54 |
border: none; |
| 55 |
} |
| 56 |
div.sectionlinks div.sectionlinks li { |
| 57 |
padding-{{$left}}: 1.44em; |
| 58 |
} |
| 59 |
nav.prevnext { clear: both; } |
| 60 |
div.region > nav.prevnext, div.region + nav.prevnext { margin-top: 1em; } |
| 61 |
nav.prevnext > div.inner { float: {{$right}}; } |
| 62 |
nav.prevnext > div.inner > * { |
| 63 |
background-color: {{$color.bg.gray}}; |
| 64 |
display: inline-block; |
| 65 |
position: relative; |
| 66 |
height: 1.44em; |
| 67 |
padding: 0.2em 0.83em 0 0.83em; |
| 68 |
margin-bottom: 1em; |
| 69 |
border: solid 1px {{$color.gray}}; |
| 70 |
} |
| 71 |
nav.prevnext > div.inner > span { visibility: hidden; } |
| 72 |
nav.prevnext > div.inner > a + a { |
| 73 |
border-{{$left}}: none; |
| 74 |
} |
| 75 |
nav.prevnext > div.inner > a:first-child { |
| 76 |
border-top-{{$left}}-radius: 2px; |
| 77 |
border-bottom-{{$left}}-radius: 2px; |
| 78 |
} |
| 79 |
nav.prevnext > div.inner > a:last-of-type { |
| 80 |
border-top-{{$right}}-radius: 2px; |
| 81 |
border-bottom-{{$right}}-radius: 2px; |
| 82 |
} |
| 83 |
div.serieslinks { |
| 84 |
display: inline-block; |
| 85 |
padding: 0 1em 0 1em; |
| 86 |
background-color: {{$color.bg.blue}}; |
| 87 |
border: solid 1px {{$color.fg.blue}}; |
| 88 |
} |
| 89 |
div.serieslinks ul { margin: 0; } |
| 90 |
div.serieslinks li { padding: 0; } |
| 91 |
div.serieslinks div.title { margin: 0.5em 0 0.5em 0; } |
| 92 |
pre.numbered { |
| 93 |
margin: 0; |
| 94 |
padding: 0.5em; |
| 95 |
float: {{$left}}; |
| 96 |
margin-{{$right}}: 0.5em; |
| 97 |
text-align: {{$right}}; |
| 98 |
color: {{$color.fg.gray}}; |
| 99 |
background-color: {{$color.bg.yellow}}; |
| 100 |
} |
| 101 |
div.code { |
| 102 |
border: solid 1px {{$color.gray}}; |
| 103 |
} |
| 104 |
div.example { |
| 105 |
border-{{$left}}: solid 4px {{$color.gray}}; |
| 106 |
padding-{{$left}}: 1em; |
| 107 |
} |
| 108 |
div.example > div.inner > div.region > div.desc { font-style: italic; } |
| 109 |
div.figure { |
| 110 |
display: inline-block; |
| 111 |
max-width: 100%; |
| 112 |
margin-{{$left}}: 1.72em; |
| 113 |
} |
| 114 |
div.figure > div.inner { |
| 115 |
padding: 4px; |
| 116 |
color: {{$color.fg.dark}}; |
| 117 |
border: solid 1px {{$color.gray}}; |
| 118 |
background-color: {{$color.bg.gray}}; |
| 119 |
} |
| 120 |
@media (max-width: 960px) { |
| 121 |
div.figure { |
| 122 |
margin-{{$left}}: 0; |
| 123 |
} |
| 124 |
} |
| 125 |
a.figure-zoom { |
| 126 |
float: {{$right}}; |
| 127 |
} |
| 128 |
a.figure-zoom:hover { border-bottom: none; } |
| 129 |
a.figure-zoom:hover .yelp-svg-fill { fill: {{$color.blue}}; } |
| 130 |
a.figure-zoom:hover .yelp-svg-stroke { stroke: {{$color.blue}}; } |
| 131 |
a.figure-zoom .figure-zoom-out { display: none; } |
| 132 |
a.figure-zoom.figure-zoomed .figure-zoom-in { display: none; } |
| 133 |
a.figure-zoom.figure-zoomed .figure-zoom-out { display: inline-block; } |
| 134 |
div.figure > div.inner > div.region > div.contents { |
| 135 |
margin: 0; |
| 136 |
padding: 0.5em 1em 0.5em 1em; |
| 137 |
clear: both; |
| 138 |
text-align: center; |
| 139 |
color: {{$color.fg}}; |
| 140 |
border: solid 1px {{$color.gray}}; |
| 141 |
background-color: {{$color.bg}}; |
| 142 |
} |
| 143 |
div.list > div.inner > div.title { margin-bottom: 0.5em; } |
| 144 |
div.listing > div.inner { margin: 0; padding: 0; } |
| 145 |
div.listing > div.inner > div.region > div.desc { font-style: italic; } |
| 146 |
div.note { |
| 147 |
padding: 10px 0; |
| 148 |
border: solid 1px {{$color.bg.dark}}; |
| 149 |
background-color: {{$color.bg.gray}}; |
| 150 |
display: flex; |
| 151 |
flex-flow: row; |
| 152 |
} |
| 153 |
div.note > * { margin: 0 10px; padding: 0; min-height: 24px; min-width: 24px; } |
| 154 |
div.note-warning > svg .yelp-svg-fill { |
| 155 |
fill: {{$color.red}}; |
| 156 |
} |
| 157 |
div.note-danger { |
| 158 |
border-color: {{$color.red}}; |
| 159 |
} |
| 160 |
div.note-important > svg .yelp-svg-fill { |
| 161 |
fill: {{$color.blue}}; |
| 162 |
} |
| 163 |
div.note-danger > svg .yelp-svg-fill { |
| 164 |
fill: {{$color.red}}; |
| 165 |
animation-name: yelp-note-danger; |
| 166 |
animation-duration: 2s; |
| 167 |
animation-fill-mode: forwards; |
| 168 |
animation-iteration-count: infinite; |
| 169 |
} |
| 170 |
@keyframes yelp-note-danger { |
| 171 |
from { fill: {{$color.red}} } |
| 172 |
50% { fill: {{$color.gray}} } |
| 173 |
to { fill: {{$color.red}} } |
| 174 |
} |
| 175 |
div.note-sidebar { |
| 176 |
float: {{$right}}; |
| 177 |
max-width: {{$html.grid.size div 4 - 22}}px; |
| 178 |
margin-{{$left}}: 20px; |
| 179 |
} |
| 180 |
div.quote { |
| 181 |
padding: 0; |
| 182 |
min-height: {{$icons.size.quote}}px; |
| 183 |
} |
| 184 |
<!-- There are rules to create the blockquote icon in html.xsl |
| 185 |
that these simple text templates can't handle. --> |
| 186 |
div.quote > div.inner > div.title { |
| 187 |
margin: 0; |
| 188 |
margin-{{$left}}: {{$icons.size.quote}}px; |
| 189 |
} |
| 190 |
blockquote { |
| 191 |
margin: 0; padding: 0; |
| 192 |
margin-{{$left}}: {{$icons.size.quote}}px; |
| 193 |
} |
| 194 |
blockquote > *:first-child { margin-top: 0; } |
| 195 |
div.quote > div.inner > div.region > div.cite { |
| 196 |
margin-top: 0.5em; |
| 197 |
margin-{{$left}}: {{$icons.size.quote}}px; |
| 198 |
color: {{$color.fg.gray}}; |
| 199 |
} |
| 200 |
div.quote > div.inner > div.region > div.cite::before { |
| 201 |
<!-- FIXME: i18n --> |
| 202 |
content: '― '; |
| 203 |
color: {{$color.fg.gray}}; |
| 204 |
} |
| 205 |
div.screen { |
| 206 |
background-color: {{$color.bg.gray}}; |
| 207 |
border: solid 1px {{$color.gray}}; |
| 208 |
} |
| 209 |
ol.steps, ul.steps { |
| 210 |
padding: 0.5em 1em 0.5em 1em; |
| 211 |
border: solid 1px {{$color.bg.gray}}; |
| 212 |
border-{{$left}}: solid 4px {{$color.yellow}}; |
| 213 |
} |
| 214 |
ol.steps .steps { |
| 215 |
padding: 0; |
| 216 |
border: none; |
| 217 |
background-color: unset; |
| 218 |
} |
| 219 |
li.steps { margin-{{$left}}: 1.44em; } |
| 220 |
li.steps li.steps { margin-{{$left}}: 2.4em; } |
| 221 |
div.synopsis > div.inner > div.region > div.contents, |
| 222 |
div.synopsis > div.contents, div.synopsis > pre.contents { |
| 223 |
padding: 0.5em 1em 0.5em 1em; |
| 224 |
border-top: solid 1px; |
| 225 |
border-bottom: solid 1px; |
| 226 |
border-color: {{$color.fg.blue}}; |
| 227 |
background-color: {{$color.bg.gray}}; |
| 228 |
} |
| 229 |
div.synopsis > div.inner > div.region > div.desc { font-style: italic; } |
| 230 |
div.synopsis div.code { |
| 231 |
background: unset; |
| 232 |
border: none; |
| 233 |
padding: 0; |
| 234 |
} |
| 235 |
div.synopsis div.code > pre.contents { margin: 0; padding: 0; } |
| 236 |
div.unknown > div.inner > div.region > div.desc { font-style: italic; } |
| 237 |
div.table > div.desc { font-style: italic; } |
| 238 |
tr.shade { |
| 239 |
background-color: {{$color.bg.gray}}; |
| 240 |
} |
| 241 |
td.shade { |
| 242 |
background-color: {{$color.bg.gray}}; |
| 243 |
} |
| 244 |
tr.shade td.shade { |
| 245 |
background-color: {{$color.bg.dark}}; |
| 246 |
} |
| 247 |
|
| 248 |
span.app { font-style: italic; } |
| 249 |
span.cmd { |
| 250 |
font-family: monospace,monospace; font-size: 0.83em; |
| 251 |
background-color: {{$color.bg.gray}}; |
| 252 |
padding: 0 0.2em 0 0.2em; |
| 253 |
} |
| 254 |
span.cmd span.cmd { background-color: unset; padding: 0; } |
| 255 |
pre span.cmd { background-color: unset; padding: 0; } |
| 256 |
span.code { |
| 257 |
font-family: monospace,monospace; font-size: 0.83em; |
| 258 |
border-bottom: solid 1px {{$color.bg.dark}}; |
| 259 |
} |
| 260 |
span.code span.code { border: none; } |
| 261 |
pre span.code { border: none; } |
| 262 |
span.em { font-style: italic; } |
| 263 |
span.em-bold { |
| 264 |
font-style: normal; font-weight: bold; |
| 265 |
color: {{$color.fg.dark}}; |
| 266 |
} |
| 267 |
a span.em-bold { |
| 268 |
color: {{$color.fg.blue}}; |
| 269 |
} |
| 270 |
pre span.error { |
| 271 |
color: {{$color.fg.red}}; |
| 272 |
} |
| 273 |
span.file { font-family: monospace,monospace; font-size: 0.83em; } |
| 274 |
span.gui, span.guiseq { color: {{$color.fg.dark}}; } |
| 275 |
a span.gui, a span.guiseq { color: {{$color.fg.blue}}; } |
| 276 |
span.input { font-family: monospace,monospace; font-size: 0.83em; } |
| 277 |
pre span.input { |
| 278 |
font-weight: bold; |
| 279 |
color: {{$color.fg.dark}}; |
| 280 |
} |
| 281 |
kbd { |
| 282 |
font-family: inherit; |
| 283 |
font-size: inherit; |
| 284 |
color: {{$color.fg.dark}}; |
| 285 |
background-color: {{$color.bg.gray}}; |
| 286 |
border: solid 1px {{$color.gray}}; |
| 287 |
border-radius: 2px; |
| 288 |
margin: 0 0.2em 0 0.2em; |
| 289 |
padding: 0.2em 0.5em 0 0.5em; |
| 290 |
white-space: nowrap; |
| 291 |
} |
| 292 |
kbd.key-Fn { |
| 293 |
font-weight: bold; |
| 294 |
color: {{$color.fg.blue}}; |
| 295 |
} |
| 296 |
span.key a { |
| 297 |
border-bottom: none; |
| 298 |
} |
| 299 |
a kbd { |
| 300 |
color: {{$color.fg.blue}}; |
| 301 |
border-color: {{$color.fg.blue}}; |
| 302 |
} |
| 303 |
span.keyseq { |
| 304 |
color: {{$color.fg.dark}}; |
| 305 |
white-space: nowrap |
| 306 |
} |
| 307 |
a span.keyseq { color: {{$color.fg.blue}}; } |
| 308 |
span.output { font-family: monospace,monospace; font-size: 0.83em; } |
| 309 |
pre span.output { |
| 310 |
color: {{$color.fg}}; |
| 311 |
} |
| 312 |
pre span.prompt { |
| 313 |
color: {{$color.fg.dark}}; |
| 314 |
} |
| 315 |
span.sys { font-family: monospace,monospace; font-size: 0.83em; } |
| 316 |
span.var { font-style: italic; } |
| 317 |
|
| 318 |
.ui-tile-img .media-controls { display: none; } |
| 319 |
span.media-audio, span.media-video { display: inline-block; } |
| 320 |
audio, video { display: block; margin: 0; } |
| 321 |
div.media > div.inner { display: inline-block; text-align: center; } |
| 322 |
.media-controls { |
| 323 |
height: 30px; |
| 324 |
margin: 0; padding: 0; |
| 325 |
border-left: solid 1px {{$color.fg}}; |
| 326 |
border-right: solid 1px {{$color.fg}}; |
| 327 |
border-bottom: solid 1px {{$color.fg}}; |
| 328 |
background-color: {{$color.fg.dark}}; |
| 329 |
color: {{$color.bg}}; |
| 330 |
border-bottom-left-radius: 4px; |
| 331 |
border-bottom-right-radius: 4px; |
| 332 |
display: flex; |
| 333 |
align-items: center; |
| 334 |
} |
| 335 |
.media-controls > * { |
| 336 |
flex: 0 1 auto; |
| 337 |
} |
| 338 |
.media-controls > input.media-range { |
| 339 |
flex: 1 0 auto; |
| 340 |
background-color: {{$color.fg.dark}}; |
| 341 |
margin: 0 10px; |
| 342 |
-webkit-appearance: none; |
| 343 |
} |
| 344 |
input.media-range::-webkit-slider-runnable-track { |
| 345 |
height: 4px; |
| 346 |
background: {{$color.fg.gray}}; |
| 347 |
border-radius: 2px; |
| 348 |
} |
| 349 |
input.media-range::-webkit-slider-thumb { |
| 350 |
-webkit-appearance: none; |
| 351 |
height: 16px; |
| 352 |
width: 16px; |
| 353 |
border-radius: 8px; |
| 354 |
background: {{$color.bg.dark}}; |
| 355 |
border: solid 1px {{$color.fg.dark}}; |
| 356 |
margin-top: -6px; |
| 357 |
} |
| 358 |
input.media-range::-webkit-slider-thumb:hover, |
| 359 |
input.media-range::-webkit-slider-thumb:focus { |
| 360 |
background: {{$color.bg.gray}}; |
| 361 |
} |
| 362 |
input.media-range::-moz-range-track { |
| 363 |
height: 4px; |
| 364 |
background: {{$color.fg.gray}}; |
| 365 |
border-radius: 2px; |
| 366 |
} |
| 367 |
input.media-range::-moz-range-thumb { |
| 368 |
-webkit-appearance: none; |
| 369 |
height: 16px; |
| 370 |
width: 16px; |
| 371 |
border-radius: 8px; |
| 372 |
background: {{$color.bg.dark}}; |
| 373 |
border: solid 1px {{$color.fg.dark}}; |
| 374 |
margin-top: -6px; |
| 375 |
} |
| 376 |
.media-controls-audio { |
| 377 |
border-top: solid 1px {{$color.fg}}; |
| 378 |
border-radius: 4px; |
| 379 |
} |
| 380 |
button.media-play { |
| 381 |
height: 30px; |
| 382 |
padding: 0 6px 0 6px; line-height: 0; |
| 383 |
background-color: {{$color.fg.dark}}; |
| 384 |
border: none; |
| 385 |
border-{{$right}}: solid 1px {{$color.fg}}; |
| 386 |
} |
| 387 |
button.media-play:hover, button.media-play:focus { |
| 388 |
background-color: {{$color.fg.blue}}; |
| 389 |
} |
| 390 |
button.media-play .yelp-svg-fill { fill: {{$color.bg.gray}}; } |
| 391 |
button.media-play .media-pause { display: none; } |
| 392 |
button.media-play-playing .media-play { display: none; } |
| 393 |
button.media-play-playing .media-pause { display: inline; } |
| 394 |
.media-time { |
| 395 |
margin: 0; |
| 396 |
font-size: 16px; |
| 397 |
height: 30px; |
| 398 |
line-height: 30px; |
| 399 |
} |
| 400 |
.media-time > span { |
| 401 |
padding-{{$right}}: 8px; |
| 402 |
} |
| 403 |
.media-duration { |
| 404 |
font-size: 12px; |
| 405 |
color: {{$color.bg.dark}}; |
| 406 |
opacity: 0.8; |
| 407 |
} |
| 408 |
.media-controls-ttml { |
| 409 |
min-width: 630px; |
| 410 |
border-bottom-left-radius: 0; |
| 411 |
border-bottom-right-radius: 0; |
| 412 |
} |
| 413 |
div.media-ttml { |
| 414 |
margin: 0; padding: 6px 0; |
| 415 |
background-color: {{$color.bg.gray}}; |
| 416 |
border: solid 1px {{$color.fg}}; |
| 417 |
min-height: 24px; |
| 418 |
border-bottom-left-radius: 4px; |
| 419 |
border-bottom-right-radius: 4px; |
| 420 |
} |
| 421 |
.media-ttml-pre { white-space: pre; } |
| 422 |
.media-ttml-nopre { white-space: normal; } |
| 423 |
div.media-ttml-div { |
| 424 |
text-align: {{$left}}; |
| 425 |
display: none; |
| 426 |
margin: 0; padding: 0; |
| 427 |
} |
| 428 |
div.media-ttml-p { |
| 429 |
text-align: {{$left}}; |
| 430 |
display: none; |
| 431 |
margin: 0 auto; |
| 432 |
max-width: 560px; |
| 433 |
line-height: 1.44em; |
| 434 |
} |
| 435 |
div.media-ttml-div > * + * { margin-top: 1em; } |
| 436 |
div.yelp-data { display: none; } |
| 437 |
.ui-expander > div.inner > div.title span.title, |
| 438 |
.ui-expander > div.inner > div.hgroup span.title { |
| 439 |
cursor: default; |
| 440 |
} |
| 441 |
.ui-expander > div.inner > div.title span.title:before, |
| 442 |
.ui-expander > div.inner > div.hgroup span.title:before { |
| 443 |
font-weight: bold; |
| 444 |
content: "⌃"; |
| 445 |
display: inline-block; |
| 446 |
margin: 0; |
| 447 |
color: {{$color.fg.blue}}; |
| 448 |
transform: translateY(0.2em) rotate(0deg); |
| 449 |
-webkit-transform: translateY(0.2em) rotate(0deg); |
| 450 |
transition: transform 0.2s linear; |
| 451 |
transform-origin: 50% 30%; |
| 452 |
-webkit-transform-origin: 50% 30%; |
| 453 |
-webkit-transition: -webkit-transform 0.2s linear; |
| 454 |
margin: 0 0.2em; |
| 455 |
} |
| 456 |
.ui-expander-c > div.inner > div.hgroup { border-bottom: none; } |
| 457 |
<!-- There is a rotation on the arrow in html.xsl that these |
| 458 |
simple text templates can't handle --> |
| 459 |
.ui-expander > div.inner > div.title:hover, |
| 460 |
.ui-expander > div.inner > div.hgroup:hover * { |
| 461 |
color: {{$color.fg.blue}}; |
| 462 |
} |
| 463 |
.ui-expander > div.inner > div.hgroup > .subtitle { |
| 464 |
margin-{{$left}}: 2em; |
| 465 |
} |
| 466 |
.ui-expander-c > div.inner > div.region { |
| 467 |
display: none; |
| 468 |
} |
| 469 |
.ui-expander-e > div.inner > div.region { |
| 470 |
animation-name: yelp-ui-expander-e; |
| 471 |
animation-duration: 0.2s; |
| 472 |
animation-fill-mode: forwards; |
| 473 |
transform-origin: 0 0; |
| 474 |
} |
| 475 |
@keyframes yelp-ui-expander-e { |
| 476 |
from { transform: scaleY(0); } |
| 477 |
to { transform: scaleY(1); } |
| 478 |
} |
| 479 |
div.ui-expander-preview > div.inner > div.region { |
| 480 |
transform-origin: 0 0; |
| 481 |
transition: transform 0.2s linear, background-color 0.2s linear; |
| 482 |
animation-name: none; |
| 483 |
} |
| 484 |
div.ui-expander-preview.ui-expander-c > div.inner { |
| 485 |
max-height: 100px; |
| 486 |
overflow: hidden; |
| 487 |
} |
| 488 |
div.ui-expander-preview.ui-expander-c > div.inner > div.region { |
| 489 |
display: block; |
| 490 |
transform: scaleY(0.4); |
| 491 |
background-color: {{$color.bg.gray}}; |
| 492 |
} |
| 493 |
div.ui-expander-preview.ui-expander-c > div.inner > div.region:hover { |
| 494 |
background-color: {{$color.bg.blue}}; |
| 495 |
cursor: zoom-in; |
| 496 |
} |
| 497 |
div.ui-expander-preview.ui-expander-c > div.inner > div.region:hover * { |
| 498 |
cursor: zoom-in; |
| 499 |
} |
| 500 |
div.ui-expander-preview > div.inner > div.region > * { |
| 501 |
transform-origin: 0 0; |
| 502 |
transition: transform 0.2s linear; |
| 503 |
} |
| 504 |
div.ui-expander-preview.ui-expander-c > div.inner > div.region > * { |
| 505 |
transform: scaleX(0.4); |
| 506 |
} |
| 507 |
section.ui-expander-preview > div.inner > div.region > div.contents{ |
| 508 |
transform-origin: 0 0; |
| 509 |
transition: transform 0.2s linear, background-color 0.2s linear; |
| 510 |
} |
| 511 |
section.ui-expander-preview.ui-expander-c > div.inner { |
| 512 |
max-height: 140px; |
| 513 |
overflow: hidden; |
| 514 |
} |
| 515 |
section.ui-expander-preview.ui-expander-c > div.inner > div.region { |
| 516 |
display: block; |
| 517 |
} |
| 518 |
section.ui-expander-preview.ui-expander-c > div.inner > div.region > div.contents { |
| 519 |
transform: scaleY(0.6); |
| 520 |
background-color: {{$color.bg.gray}}; |
| 521 |
} |
| 522 |
section.ui-expander-preview > div.inner > div.region > div.contents > * { |
| 523 |
transform-origin: 0 0; |
| 524 |
transition: transform 0.2s linear; |
| 525 |
} |
| 526 |
section.ui-expander-preview.ui-expander-c > div.inner > div.region > div.contents > * { |
| 527 |
transform: scaleX(0.6); |
| 528 |
} |
| 529 |
section.ui-expander-preview.ui-expander-c > div.inner > div.region > div.contents:hover { |
| 530 |
background-color: {{$color.bg.blue}}; |
| 531 |
cursor: zoom-in; |
| 532 |
} |
| 533 |
@media only screen and (max-width: 480px) { |
| 534 |
article > div.region > div.contents > div.example, |
| 535 |
article > div.region > section > div.inner > div.region > div.contents > div.example { |
| 536 |
margin-left: -10px; |
| 537 |
margin-right: -10px; |
| 538 |
} |
| 539 |
div.example { |
| 540 |
padding-{{$left}}: 6px; |
| 541 |
padding-{{$right}}: 10px; |
| 542 |
} |
| 543 |
article > div.region > div.contents > div.note, |
| 544 |
article > div.region > section > div.inner > div.region > div.contents > div.note { |
| 545 |
margin-left: -10px; |
| 546 |
margin-right: -10px; |
| 547 |
padding-left: 10px; |
| 548 |
padding-right: 10px; |
| 549 |
} |
| 550 |
article > div.region > div.contents > div.note, |
| 551 |
article > div.region > section > div.inner > div.region > div.contents > div.note { |
| 552 |
border-left: none; |
| 553 |
border-right: none; |
| 554 |
} |
| 555 |
article > div.region > div.contents > div.steps, |
| 556 |
article > div.region > section > div.inner > div.region > div.contents > div.steps { |
| 557 |
margin-left: -10px; |
| 558 |
margin-right: -10px; |
| 559 |
} |
| 560 |
div.steps > div.inner > div.title { |
| 561 |
margin-left: 10px; |
| 562 |
margin-right: 10px; |
| 563 |
} |
| 564 |
ol.steps, ul.steps { |
| 565 |
padding: 0; |
| 566 |
padding-{{$left}}: 6px; |
| 567 |
padding-{{$right}}: 10px; |
| 568 |
} |
| 569 |
} |
| 570 |
@media only screen and (max-width: {{$html.grid.size div 2}}px) { |
| 571 |
div.note-sidebar { |
| 572 |
float: none; |
| 573 |
max-width: none; |
| 574 |
margin-left: inherit; |
| 575 |
margin-right: inherit; |
| 576 |
padding-left: inherit; |
| 577 |
padding-right: inherit; |
| 578 |
} |
| 579 |
} |
| 580 |
</tmpl> |