bitque/jirs-client/js/css/global.css

124 lines
1.9 KiB
CSS
Raw Normal View History

2020-03-30 14:26:25 +02:00
html, body, #root {
height: 100%;
min-height: 100%;
min-width: 768px;
}
body {
font-weight: normal;
color: var(--textDark);
-webkit-tap-highlight-color: transparent;
line-height: 1.2;
font-size: 16px;
font-family: var(--font-regular);
}
#app {
display: flex;
flex-direction: column;
}
button,
input,
optgroup,
select,
textarea {
font-family: var(--font-regular);
font-weight: normal;
}
*, *:after, *:before, input[type="search"] {
box-sizing: border-box;
}
a {
color: inherit;
text-decoration: none;
}
ul {
list-style: none;
}
ul, li, ol, dd, h1, h2, h3, h4, h5, h6, p {
padding: 0;
margin: 0;
}
h1, h2, h3, h4, h5, h6, strong {
font-family: var(--font-bold);
}
button {
background: none;
border: none;
}
/* Workaround for IE11 focus highlighting for select elements */
select::-ms-value {
background: none;
color: #42413d;
}
[role="button"], button, input, select, textarea {
outline: none;
}
2020-03-30 14:26:25 +02:00
[role="button"]:disabled, button:disabled, input:disabled, select:disabled, textarea:disabled {
opacity: 1;
2020-03-30 14:26:25 +02:00
}
2020-03-30 14:26:25 +02:00
[role="button"], button, input, textarea {
appearance: none;
}
2020-03-30 14:26:25 +02:00
select:-moz-focusring {
color: transparent;
text-shadow: 0 0 0 #000;
}
2020-03-30 14:26:25 +02:00
select::-ms-expand {
display: none;
}
2020-03-30 14:26:25 +02:00
select option {
color: var(--textDark)
}
p {
line-height: 1.4285;
}
p a::-webkit-input-placeholder {
color: var(--textLight);
opacity: 1 !important;
}
2020-03-30 14:26:25 +02:00
p a:-moz-placeholder {
color: var(--textLight);
opacity: 1 !important;
}
2020-03-30 14:26:25 +02:00
p a::-moz-placeholder {
color: var(--textLight);
opacity: 1 !important;
}
2020-03-30 14:26:25 +02:00
p a:-ms-input-placeholder {
color: var(--textLight);
opacity: 1 !important;
}
textarea {
line-height: 1.4285;
}
body, select {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
html {
touch-action: manipulation;
}