-
Notifications
You must be signed in to change notification settings - Fork 107
chore: Reduce amount of live stylesheets loaded in tests #7656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
ecfe3bb
b52b8aa
e9a0c08
56316ba
7978108
9bb5e47
0737fcb
197d0a1
170c473
5374af7
5e56c76
e8c58e0
05fa2d2
a375090
5371f48
2a7a629
62e626e
be1203c
cc43e87
7b3a9c6
169b24e
9903308
315b812
0a3ef6c
5191fb5
b343dd9
300b9ee
6f2b343
6fa45f0
0f535b5
68595c2
44bb5c9
4abe5ed
96e071a
ba0e4aa
35bfa02
f0fe12c
1f2366a
254e67c
f41a2d7
47ff7e4
7cb1dfc
d0bcfc5
bd45994
20319aa
d96bd97
a1b1122
9c42236
9741a6d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,4 +9,8 @@ return { | |
| ci = { | ||
| ROOT = {"spec"}, | ||
| }, | ||
| snapshots = { | ||
| ROOT = {"spec"}, | ||
| tags = "snapshot", | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -79,10 +79,93 @@ body { | |
| line-height: 1.5; | ||
| color: #212529; | ||
| text-align: left; | ||
|
|
||
| /* Wiki-like top padding */ | ||
| padding: calc( 3.125rem + 2.25rem ) 0 0 0; | ||
| } | ||
|
|
||
| *, | ||
| ::before, | ||
| ::after { | ||
| box-sizing: border-box; | ||
| } | ||
|
|
||
| /* Styles that are not yet part of this repository, but used in snapshot tests */ | ||
|
|
||
| /** Definitely still needed */ | ||
| /** For image alignment, especially in transfer rows */ | ||
| img { | ||
| vertical-align: middle; | ||
| border-style: unset; | ||
| } | ||
|
|
||
| /** Reevaluate whether still needed: | ||
| Disabled to serve as test ground for LH base styles | ||
| :root { | ||
| --clr-moon-40: #666666; | ||
|
|
||
| --clr-primary-44: #1f73c1; | ||
| --clr-primary-100: #ffffff; | ||
|
|
||
| --clr-secondary-25: #404040; | ||
| --clr-secondary-80: #b3b3b3; | ||
| --clr-secondary-100: #ffffff; | ||
|
|
||
| --clr-semantic-gold-20: #665400; | ||
| --clr-semantic-gold-40: #ccab00; | ||
| --clr-semantic-gold-90: #fff5cc; | ||
|
|
||
| --clr-semantic-silver-40: #557177; | ||
|
|
||
| --clr-semantic-positive-30: #1d7c1d; | ||
| --clr-semantic-negative-40: #b81414; | ||
|
|
||
| --clr-on-surface-light-primary-4: rgba( 0, 0, 0, 0.04 ); | ||
| --clr-on-surface-light-primary-8: rgba( 0, 0, 0, 0.08 ); | ||
| --clr-on-surface-light-primary-12: rgba( 0, 0, 0, 0.12 ); | ||
|
|
||
| --clr-wiki-theme-primary: var( --clr-moon-40 ); | ||
| } | ||
|
Comment on lines
+93
to
+128
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should. come with LH now?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've tried it without these, and infobox colors were off compared to current main
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can remove these changes and we can use this PR for testing, would that make sense? |
||
|
|
||
| .wiki-backgroundcolor-light { | ||
| background-color: var( --clr-wiki-primary-container ); | ||
| } | ||
|
|
||
| .d-none { | ||
| display: none !important; | ||
| } | ||
|
|
||
| a { | ||
| text-decoration: none; | ||
| color: var( --clr-primary ); | ||
| background-color: transparent; | ||
| } | ||
|
|
||
| .main-container .main-content-column { | ||
| position: relative; | ||
| overflow-x: hidden; | ||
| } | ||
|
|
||
| .nav { | ||
| display: flex; | ||
| flex-wrap: wrap; | ||
| padding-left: 0; | ||
| margin-bottom: 0; | ||
| list-style: none; | ||
| } | ||
|
|
||
| pre { | ||
| border: 1px solid #adb5bd; | ||
| page-break-inside: avoid; | ||
| font-family: "Source Code Pro", monospace; | ||
| font-size: 1em; | ||
| margin-top: 0; | ||
| margin-bottom: 1rem; | ||
| overflow: auto; | ||
| -ms-overflow-style: scrollbar; | ||
| background-color: #f8f9fa; | ||
| white-space: pre-wrap; | ||
| overflow-x: hidden; | ||
| word-wrap: break-word; | ||
| } | ||
| */ | ||
Uh oh!
There was an error while loading. Please reload this page.