style.css
assembler source, ASCII text
1@import url("/static/efficient-ui/MASTER.css"); 2 3:root { 4--color-branch: var(--color-primary-1); 5--color-branch-text: var(--color-primary-1-text); 6--color-tag: var(--color-accent-1); 7--color-tag-text: var(--color-accent-1-text); 8--color-pending: #4caf50; 9--color-pending-text: #ffffff; 10--color-rejected: #ff9800; 11--color-rejected-text: #ffffff; 12--color-merged: #9c27b0; 13--color-merged-text: #ffffff; 14--color-insertion: #00C85366; 15--color-insertion-text: currentColor; 16--color-deletion: #D5000066; 17--color-deletion-text: currentColor; 18} 19 20.big-button { 21font-size: 1.5em; 22} 23 24.ripple-pad { 25background: #ffffff99; 26position: absolute; 27opacity: 1; 28transform: scale(0); 29animation: RippleEffect 375ms cubic-bezier(0, 0.55, 0.45, 1) forwards; 30} 31 32@keyframes RippleEffect { 33to { 34transform: scale(1); 35opacity: 0; 36} 37} 38 39button, input, .button, select { 40position: relative; 41overflow: hidden; 42} 43 44.error-page-container { 45align-items: center; 46justify-content: center; 47width: 100%; 48height: 100%; 49} 50 51/* 52@media screen and (max-width: 896px) { 53.navbar { 54flex-flow: column nowrap; 55height: fit-content; 56} 57} 58*/ 59 60@media screen and (max-width: 640px) { 61#repo-table > * > tr > :is(td, th):is(:nth-child(3), :nth-child(4)) { 62display: none; 63} 64 65.commit-message { 66display: none !important; 67} 68} 69 70/* 71@media screen and (max-width: 544px) { 72.navbar > ul { 73flex-flow: row wrap; 74justify-content: center; 75} 76#commit-dialog { 77align-items: stretch; 78} 79} 80@media screen and (max-width: 512px) { 81.breadcrumbs { 82flex-flow: column nowrap; 83justify-content: center; 84height: auto; 85gap: 1em; 86} 87} 88*/ 89 90.file-icon { 91font-size: 1.25em; 92} 93 94.file-name, .commit-message { 95display: inline-block; 96white-space: nowrap; 97overflow: hidden; 98text-overflow: ellipsis; 99} 100 101.file-link { 102text-decoration: none; 103} 104 105.button { 106text-decoration: none; 107} 108 109.password-error { 110background: var(--color-error); 111color: var(--color-error-text); 112padding: 8px; 113gap: 4px; 114border-radius: 2px; 115} 116 117#username p { 118font-size: 1.5em; 119font-weight: 300; 120} 121 122.box-center { 123align-items: center; 124} 125 126#global-nav > x-hbox > a > x-hbox { 127height: 100%; 128} 129 130footer { 131background: var(--color-callout-1); 132color: var(--color-callout-1-text); 133padding: 16px; 134} 135footer a { 136color: var(--color-callout-1-text) !important; 137} 138body { 139display: flex; 140flex-flow: column; 141} 142main { 143flex: 1 0 auto; 144} 145body > footer hr { 146border-color: #ffffff80; 147margin: 8px 0; 148} 149 150.branch-icon { 151width: 2em; 152font-size: 32px; 153align-items: center; 154justify-content: center; 155display: flex; 156} 157 158dd { 159margin-left: 2em; 160} 161 162.navbar-mini { 163--height-navbar: 48px; 164} 165 166.dialog-tools { 167position: relative; 168left: 8px; 169} 170 171.thumbnail-marquee { 172height: 1.5em; 173overflow: hidden; 174position: relative; 175} 176 177.inner-thumbnail-marquee { 178position: absolute; 179width: 100%; 180height: 100%; 181overflow: visible; 182text-align: center; 183animation: marquee 3000ms linear infinite; 184} 185 186@keyframes marquee { 1870% { 188transform: translateX(200%); 189} 190100% { 191transform: translateX(-200%); 192} 193} 194 195@media screen and (min-width: 641px) { 196#sidenav-trigger { 197display: none; 198} 199#global-nav { 200padding-left: 16px; 201} 202} 203 204@media screen and (max-width: 640px) { 205#navbar-separator ~ a { 206display: none; 207} 208} 209 210hr { 211border-color: currentColor; 212border-width: 1px; 213margin: 1em 0; 214opacity: 0.5; 215} 216 217.state-label { 218writing-mode: vertical-lr; 219text-transform: uppercase; 220padding: 1em; 221margin: 0; 222} 223 224.breadcrumbs > x-buttonbox iconify-icon { 225font-size: 1.5rem; 226} 227 228.breadcrumbs > x-buttonbox > a { 229display: flex; 230align-items: center; 231} 232 233#repo-tabs > li > a { 234display: flex; 235flex-flow: row wrap; 236gap: 0.5ch; 237text-transform: uppercase; 238position: relative; 239overflow: hidden; 240padding: 4px 16px; 241} 242 243#repo-tabs > li.selected > a { 244box-shadow: inset 0 -0.25rem var(--color-accent); 245} 246 247#repo-nav { 248padding-left: 0; 249} 250 251x-buttonbox.segmented { 252box-shadow: var(--shadow-button); 253padding: 0; 254gap: 0; 255overflow: hidden; 256border-radius: var(--radius-button); 257width: fit-content; 258} 259 260x-buttonbox.segmented > * { 261border-radius: 0; 262} 263 264.vote-button:not(.selected) { 265box-shadow: none !important; 266color: inherit !important; 267background: transparent !important; 268outline: 0.1px solid #00000080; 269} 270 271.vote-button:not(.selected):hover { 272background: var(--color-flat-button-hover) !important; 273} 274 275.vote-button { 276padding: 4px; 277} 278 279.vote-score { 280min-width: 3ch; 281text-align: center; 282} 283 284.reply-area { 285box-shadow: var(--shadow-card); 286margin: var(--margin-card); 287border-radius: var(--radius-card); 288background: var(--color-card); 289color: var(--color-card-text); 290border: var(--border-card); 291overflow: hidden; /* So rounded corners can cut through the content */ 292display: flex; 293flex-flow: column nowrap; 294height: 100%; 295} 296 297.reply-area > summary { 298display: flex; 299align-items: center; 300cursor: pointer; 301padding: var(--padding-card); 302padding-top: var(--padding-card-top); 303text-transform: uppercase; 304font-weight: 500; 305transition: box-shadow 250ms cubic-bezier(0.33, 1, 0.68, 1); 306} 307 308.reply-area > form { 309padding: var(--padding-card); 310padding-top: var(--padding-card-top); 311} 312 313.reply-area > summary::before { 314content: " "; 315background-image: url("/static/efficient-ui/icons/expand.svg"); 316transform: rotate(-90deg); 317width: 1.5em; 318height: 1.5em; 319background-size: contain; 320background-repeat: no-repeat; 321transition: transform 250ms cubic-bezier(0.33, 1, 0.68, 1); 322} 323 324.reply-area[open] > summary::before { 325transform: rotate(0); 326} 327 328.reply-area[open] > summary { 329box-shadow: var(--shadow-card); 330} 331 332.post-author { 333color: inherit; 334text-decoration: inherit; 335} 336 337.post-details { 338color: var(--color-caption-text); 339} 340 341#forum-banner { 342background: var(--color-navbar); 343color: #ffffff; 344min-height: 56px; 345position: sticky; 346top: 0; 347z-index: 1; 348box-shadow: var(--shadow-navbar); 349} 350 351#forum-banner h1 { 352font-size: 1rem; 353font-weight: 600; 354} 355 356#forum-banner a, .nolink { 357color: inherit; 358text-decoration: none; 359} 360 361header { 362z-index: 2; 363} 364 365.icon-button { 366border-radius: 50%; 367aspect-ratio: 1/1; 368height: 3rem; 369width: 3rem; 370padding: 0; 371font-size: 1.5rem; 372background: transparent !important; 373box-shadow: none !important; 374} 375 376#cookie-info { 377background: var(--color-primary); 378color: var(--color-primary-text); 379align-items: center; 380justify-content: space-between; 381} 382 383#cookie-info > p { 384padding: 8px 1em; 385} 386 387ins { 388background: var(--color-insertion); 389color: var(--color-insertion-text); 390text-decoration: none; 391} 392 393del { 394background: var(--color-deletion); 395color: var(--color-deletion-text); 396text-decoration: none; 397} 398