mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Browsers introduce a opaque background on iframes if the iframe element's color-scheme does not match the document's color scheme which in case of a dark theme results in a mismatch and the browser adds a white background. Avoid this by specifying the same color scheme outside and inside the iframe. See https://fvsch.com/transparent-iframes for more info. My initial attempt was to make the iframe document the same color-scheme as the parent page (light or dark) but with that, there was a ugly background flash on load in Chrome because Chrome apparently always loads iframe in light scheme initially. Firefox still shows a background flash on load but this is not possible to get rid of and it's certainly a browser bug. Before: <img width="1147" alt="Screen Shot 2022-10-31 at 13 30 55" src="https://user-images.githubusercontent.com/115237/199017132-9828aace-bdd0-4ede-8118-359e72bcf2fe.png"> After: <img width="1152" alt="Screen Shot 2022-10-31 at 13 30 36" src="https://user-images.githubusercontent.com/115237/199017137-989a9e67-3fe0-445f-a191-df5bf290dabf.png"> |
2 years ago | |
---|---|---|
.. | ||
chroma | 2 years ago | |
code | ||
codemirror | 2 years ago | |
console | 3 years ago | |
features | 2 years ago | |
markup | 2 years ago | |
modules | 3 years ago | |
shared | 3 years ago | |
standalone | 3 years ago | |
themes | 2 years ago | |
_admin.less | 3 years ago | |
_base.less | 2 years ago | |
_dashboard.less | 2 years ago | |
_editor.less | 3 years ago | |
_explore.less | 2 years ago | |
_font_i18n.less | 3 years ago | |
_form.less | 2 years ago | |
_home.less | ||
_install.less | ||
_organization.less | 2 years ago | |
_package.less | 2 years ago | |
_repository.less | 2 years ago | |
_review.less | 2 years ago | |
_svg.less | 3 years ago | |
_tribute.less | 2 years ago | |
_user.less | 3 years ago | |
animations.less | 2 years ago | |
helpers.less | 2 years ago | |
index.less | 2 years ago | |
variables.less |