|
| 1 | +:root { |
| 2 | + |
| 3 | + /* localized cc sprite names */ |
| 4 | + --cc-by: url('../../vocabulary/svg/cc/icons/cc-icons.svg#cc-by'); |
| 5 | + --cc-nc: url('../../vocabulary/svg/cc/icons/cc-icons.svg#cc-nc'); |
| 6 | + --cc-nd: url('../../vocabulary/svg/cc/icons/cc-icons.svg#cc-nd'); |
| 7 | + --cc-pd: url('../../vocabulary/svg/cc/icons/cc-icons.svg#cc-pd'); |
| 8 | + --cc-pdm: url('../../vocabulary/svg/cc/icons/cc-icons.svg#cc-pdm'); |
| 9 | + --cc-sa: url('../../vocabulary/svg/cc/icons/cc-icons.svg#cc-sa'); |
| 10 | + --cc-zero: url('../../vocabulary/svg/cc/icons/cc-icons.svg#cc-zero'); |
| 11 | +} |
| 12 | + |
| 13 | +.chooser-page .icon-attach.cc-by:before { |
| 14 | + --icon-sprite: var(--cc-by); |
| 15 | + margin-right: .2em; |
| 16 | + margin-bottom: -.125em; |
| 17 | +} |
| 18 | + |
| 19 | +.chooser-page .icon-attach.cc-nc:before { |
| 20 | + --icon-sprite: var(--cc-nc); |
| 21 | + margin-right: .2em; |
| 22 | + margin-bottom: -.125em; |
| 23 | +} |
| 24 | + |
| 25 | +.chooser-page .icon-attach.cc-nd:before { |
| 26 | + --icon-sprite: var(--cc-nd); |
| 27 | + margin-right: .2em; |
| 28 | + margin-bottom: -.125em; |
| 29 | +} |
| 30 | + |
| 31 | +.chooser-page .icon-attach.cc-pd:before { |
| 32 | + --icon-sprite: var(--cc-pd); |
| 33 | + margin-right: .2em; |
| 34 | + margin-bottom: -.125em; |
| 35 | +} |
| 36 | + |
| 37 | +.chooser-page .icon-attach.cc-pdm:before { |
| 38 | + --icon-sprite: var(--cc-pdm); |
| 39 | + margin-right: .2em; |
| 40 | + margin-bottom: -.125em; |
| 41 | +} |
| 42 | + |
| 43 | +.chooser-page .icon-attach.cc-sa:before { |
| 44 | + --icon-sprite: var(--cc-sa); |
| 45 | + margin-right: .2em; |
| 46 | + margin-bottom: -.125em; |
| 47 | +} |
| 48 | + |
| 49 | +.chooser-page .icon-attach.cc-zero:before { |
| 50 | + --icon-sprite: var(--cc-zero); |
| 51 | + margin-right: .2em; |
| 52 | + margin-bottom: -.125em; |
| 53 | +} |
| 54 | + |
| 55 | +.chooser-page dl div { |
| 56 | + margin-bottom: .8em; |
| 57 | +} |
| 58 | + |
| 59 | +.chooser-page dt, .chooser-page dd { |
| 60 | + display: inline-block; |
| 61 | +} |
| 62 | + |
| 63 | +.chooser-page dt:after { |
| 64 | + content: ':'; |
| 65 | +} |
| 66 | + |
| 67 | +.chooser-page dd { |
| 68 | + margin-left: .2em; |
| 69 | +} |
| 70 | + |
| 71 | +.chooser-page dd span { |
| 72 | + display: block; |
| 73 | +} |
| 74 | + |
| 75 | +.chooser-page ol li:has(.disable) { |
| 76 | + display: none; |
| 77 | +} |
| 78 | + |
| 79 | +.chooser-page .disable { |
| 80 | + display: none; |
| 81 | +} |
| 82 | + |
| 83 | +.chooser-page .hide { |
| 84 | + display: none; |
| 85 | +} |
| 86 | + |
| 87 | +.chooser-page .tool header { |
| 88 | + display: flex; |
| 89 | + flex-wrap: wrap; |
| 90 | +} |
| 91 | + |
| 92 | +.chooser-page .tool header > h4 { |
| 93 | + width: 100%; |
| 94 | +} |
| 95 | + |
| 96 | +.chooser-page .tool header > .tool-icons { |
| 97 | + order: -1; |
| 98 | + margin: 0 1em 0 0; |
| 99 | +} |
| 100 | + |
| 101 | +.chooser-page .tool .tool-icons svg { |
| 102 | + display: inline; |
| 103 | + width: 1.9em; |
| 104 | + height: 1.9em; |
| 105 | + margin-right: .3em; |
| 106 | +} |
| 107 | + |
| 108 | +.chooser-page .content { |
| 109 | + display: grid; |
| 110 | + gap: 2em; |
| 111 | + grid-template-columns: 1fr 2fr; |
| 112 | +} |
| 113 | + |
| 114 | +.chooser-page .mark svg { |
| 115 | + display: inline; |
| 116 | + width: 1.3em; |
| 117 | + height: 1.3em; |
| 118 | +} |
| 119 | + |
| 120 | +.chooser-page .mark svg:first-of-type { |
| 121 | + margin-left: .5em; |
| 122 | +} |
| 123 | + |
| 124 | +.chooser-page .tool-rec-details input { |
| 125 | + color: lightgray; |
| 126 | +} |
| 127 | + |
| 128 | +.chooser-page form#chooser > ol { |
| 129 | + position: relative; |
| 130 | + |
| 131 | + list-style: none; |
| 132 | + counter-reset: chooser-counter; |
| 133 | +} |
| 134 | + |
| 135 | +.chooser-page form#chooser > ol li { |
| 136 | + counter-increment: chooser-counter; |
| 137 | +} |
| 138 | +.chooser-page form#chooser > ol li::before { |
| 139 | + position: absolute; |
| 140 | + --size: 32px; |
| 141 | + left: calc(-1 * var(--size) - 25px); |
| 142 | + min-height: 2em; |
| 143 | + min-width: 2em; |
| 144 | + padding-top: .4em; |
| 145 | + box-sizing: border-box; |
| 146 | + |
| 147 | + content: counter(chooser-counter); |
| 148 | + font-weight: bold; |
| 149 | + border-radius: 200px; |
| 150 | + background: var(--vocabulary-neutral-color-lighter-gray); |
| 151 | + color: black; |
| 152 | + text-align: center; |
| 153 | + vertical-align: middle; |
| 154 | +} |
| 155 | + |
| 156 | +.chooser-page form#chooser legend { |
| 157 | + font-weight: bold; |
| 158 | +} |
| 159 | + |
| 160 | +.chooser-page form#chooser fieldset { |
| 161 | + margin-bottom: 1em; |
| 162 | +} |
| 163 | + |
| 164 | +.chooser-page form#chooser label { |
| 165 | + font-size: .7em; |
| 166 | + font-weight: 400; |
| 167 | +} |
| 168 | + |
| 169 | +.chooser-page form#chooser #attribution-details span { |
| 170 | + display: inline-block; |
| 171 | + padding: .7em 0; |
| 172 | + |
| 173 | + font-size: .8em; |
| 174 | + line-height: 1.3; |
| 175 | +} |
| 176 | + |
| 177 | +.chooser-page form#chooser #attribution-details div { |
| 178 | + margin-bottom: .5em; |
| 179 | +} |
| 180 | + |
| 181 | +.chooser-page form#chooser #waive-your-copyright div { |
| 182 | + margin-bottom: 1em; |
| 183 | +} |
| 184 | + |
| 185 | +.chooser-page form#chooser #attribution-details input { |
| 186 | + padding: .2em .2em; |
| 187 | + |
| 188 | + font-size: 1em; |
| 189 | +} |
| 190 | + |
| 191 | +.chooser-page form#chooser #atrribution-details input::placeholder { |
| 192 | + opacity: .5; |
| 193 | +} |
| 194 | + |
| 195 | +.chooser-page aside #empty { |
| 196 | + min-height: 10em; |
| 197 | + padding: 2em; |
| 198 | + |
| 199 | + background: var(--vocabulary-brand-color-soft-turquoise); |
| 200 | + background: var(--vocabulary-neutral-color-lighter-gray); |
| 201 | +} |
| 202 | + |
| 203 | +.chooser-page aside #empty p { |
| 204 | + font-size: 1.2em; |
| 205 | +} |
| 206 | + |
| 207 | +.chooser-page #tool-recommendation { |
| 208 | + margin-bottom: 4em; |
| 209 | + |
| 210 | + font-family: 'Source Sans Pro'; |
| 211 | +} |
| 212 | + |
| 213 | +.chooser-page #tool-recommendation .tool { |
| 214 | + padding: 2em; |
| 215 | + |
| 216 | + background: var(--vocabulary-brand-color-soft-turquoise); |
| 217 | +} |
| 218 | + |
| 219 | +.chooser-page #tool-recommendation .tool a { |
| 220 | + --underline-background-color: var(--vocabulary-brand-color-soft-turquoise); |
| 221 | +} |
| 222 | + |
| 223 | +.chooser-page #tool-recommendation h3 { |
| 224 | + margin: 0; |
| 225 | + |
| 226 | + font-family: 'Source Sans Pro'; |
| 227 | + font-size: 1.4em; |
| 228 | +} |
| 229 | + |
| 230 | +.chooser-page #tool-recommendation h4 { |
| 231 | + margin: .2em; |
| 232 | + |
| 233 | + font-family: 'Source Sans Pro'; |
| 234 | + font-size: 1.4em; |
| 235 | +} |
| 236 | + |
| 237 | +.chooser-page #tool-recommendation p { |
| 238 | + font-size: 1.2em; |
| 239 | +} |
| 240 | + |
| 241 | +.chooser-page #tool-recommendation a { |
| 242 | + font-weight: 700; |
| 243 | +} |
| 244 | + |
| 245 | +.chooser-page #tool-recommendation .conditions-definitions { |
| 246 | + margin-bottom: 2em; |
| 247 | + |
| 248 | + font-family: 'Source Sans Pro'; |
| 249 | +} |
| 250 | + |
| 251 | +.chooser-page #tool-recommendation .conditions-definitions dt { |
| 252 | + font-weight: 700; |
| 253 | +} |
| 254 | + |
| 255 | +.chooser-page #mark-your-work textarea { |
| 256 | + min-height: 9em; |
| 257 | + width: 90%; |
| 258 | + margin: 1em; |
| 259 | + box-sizing: border-box; |
| 260 | +} |
| 261 | + |
| 262 | +.chooser-page #mark-your-work p { |
| 263 | + font-size: 1.2em; |
| 264 | +} |
| 265 | + |
| 266 | +.chooser-page details { |
| 267 | + font-family: 'Source Sans Pro'; |
| 268 | + |
| 269 | + border: 2px solid var(--vocabulary-neutral-color-lighter-gray); |
| 270 | + border-radius: 5px; |
| 271 | +} |
| 272 | + |
| 273 | +.chooser-page details details { |
| 274 | + margin: 1em; |
| 275 | +} |
| 276 | + |
| 277 | +.chooser-page details.medium { |
| 278 | + margin-bottom: 1em; |
| 279 | +} |
| 280 | + |
| 281 | +.chooser-page details summary { |
| 282 | + padding: .2em .5em; |
| 283 | + |
| 284 | + background: var(--vocabulary-neutral-color-lighter-gray); |
| 285 | + font-size: 1.6em; |
| 286 | +} |
| 287 | + |
| 288 | +.chooser-page details.format summary { |
| 289 | + font-size: 1.3em; |
| 290 | +} |
| 291 | + |
| 292 | +.chooser-page summary:hover { |
| 293 | + cursor: pointer; |
| 294 | +} |
| 295 | + |
| 296 | +.chooser-page summary::marker { |
| 297 | + font-size: .8em; |
| 298 | +} |
| 299 | + |
| 300 | +.chooser-page details p { |
| 301 | + padding: 0 1em; |
| 302 | + |
| 303 | + font-size: 1em; |
| 304 | +} |
| 305 | + |
| 306 | +.chooser-page details.format footer { |
| 307 | + display: flex; |
| 308 | + justify-content: space-between; |
| 309 | + padding: 1em; |
| 310 | +} |
| 311 | + |
| 312 | +.chooser-page details.format footer label { |
| 313 | + margin-left: .2em; |
| 314 | +} |
| 315 | + |
| 316 | +.chooser-page details.format footer button { |
| 317 | + padding: .5em 1em; |
| 318 | + |
| 319 | + background: #324C7F; |
| 320 | + color: white; |
| 321 | + border-radius: 3px; |
| 322 | + border: none; |
| 323 | +} |
| 324 | + |
| 325 | +.chooser-page details.format footer button:hover { |
| 326 | + cursor: pointer; |
| 327 | +} |
| 328 | + |
| 329 | +.chooser-page .content { |
| 330 | + grid-column: 3 / 10; |
| 331 | +} |
| 332 | + |
| 333 | +.chooser-page #help { |
| 334 | + margin-top: 4em; |
| 335 | + } |
| 336 | + |
| 337 | + .chooser-page #help details { |
| 338 | + margin-bottom: 1em; |
| 339 | + } |
| 340 | + |
| 341 | + .chooser-page #help ul { |
| 342 | + font-size: 1em; |
| 343 | + padding: 0 1em; |
| 344 | + } |
| 345 | + |
| 346 | + .chooser-page #help ul li { |
| 347 | + padding-bottom: .5em; |
| 348 | + } |
| 349 | + |
| 350 | + .chooser-page #help dl { |
| 351 | + padding: 0 1em; |
| 352 | + } |
| 353 | + |
| 354 | + |
| 355 | +@media (max-width: 705px) { |
| 356 | + .chooser-page .content { |
| 357 | + display: block; |
| 358 | + } |
| 359 | +} |
| 360 | + |
| 361 | +.chooser-page .panel { |
| 362 | + display: none; |
| 363 | +} |
| 364 | + |
| 365 | +.chooser-page .panel.expand { |
| 366 | + display: initial; |
| 367 | +} |
0 commit comments