RC-7: add workaround for layout 2 to app-base.css

This commit is contained in:
2023-08-02 18:12:25 +01:00
parent efacc0afcf
commit 70c57feaa8

View File

@@ -1,4 +1,3 @@
/** /**
* Custom base styles * Custom base styles
*/ */
@@ -27,15 +26,17 @@ body {
font-size: 14px; font-size: 14px;
line-height: 1.4; line-height: 1.4;
overflow-x: hidden; overflow-x: hidden;
font-feature-settings: "salt"; font-feature-settings: 'salt';
} }
html, body { html,
body {
-webkit-font-smoothing: auto; -webkit-font-smoothing: auto;
-moz-osx-font-smoothing: auto; -moz-osx-font-smoothing: auto;
} }
html, body { html,
body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
position: relative; position: relative;
@@ -47,33 +48,42 @@ html, body {
#root { #root {
display: flex; display: flex;
flex-direction: column;
flex: 1 1 auto; flex: 1 1 auto;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
/* layout 2 workaround */
#root:has(> #fuse-main) {
flex-direction: column;
}
h1, .h1 { h1,
.h1 {
font-size: 24px; font-size: 24px;
} }
h2, .h2 { h2,
.h2 {
font-size: 20px; font-size: 20px;
} }
h3, .h3 { h3,
.h3 {
font-size: 16px; font-size: 16px;
} }
h4, .h4 { h4,
.h4 {
font-size: 15px; font-size: 15px;
} }
h5, .h5 { h5,
.h5 {
font-size: 13px; font-size: 13px;
} }
h6, .h6 { h6,
.h6 {
font-size: 12px; font-size: 12px;
} }
@@ -82,11 +92,11 @@ h6, .h6 {
z-index: 99; z-index: 99;
} }
a[role=button] { a[role='button'] {
text-decoration: none; text-decoration: none;
} }
[role="tooltip"] { [role='tooltip'] {
z-index: 9999; z-index: 9999;
} }
@@ -137,10 +147,9 @@ button:focus {
input:-webkit-autofill, input:-webkit-autofill,
input:-webkit-autofill:hover, input:-webkit-autofill:hover,
input:-webkit-autofill:focus, input:-webkit-autofill:focus,
input:-webkit-autofill:active input:-webkit-autofill:active {
{ transitiondelay: 9999s;
transitionDelay: 9999s; transitionproperty: background-color, color;
transitionProperty: background-color, color;
} }
:focus { :focus {