TeaWeb/shared/css/static/general.scss

188 lines
10 KiB
SCSS

@import "mixin";
:global {
/* Avatar/Icon loading animations */
.iconLoading, .icon_loading {
border: 2px solid #f3f3f3; /* Light grey */
border-top: 2px solid #3498db; /* Blue */
border-radius: 50%;
animation: loading_spin 2s linear infinite;
width: 14px !important;
height: 14px !important;
}
.avatar_loading {
border: 2px solid #f3f3f3; /* Light grey */
border-top: 2px solid #3498db; /* Blue */
border-radius: 50%;
animation: loading_spin 2s linear infinite;
width: 14px !important;
height: 14px !important;
}
@keyframes loading_spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@viewport {
width: device-width;
user-zoom: fixed;
}
html:root {
--text: #999;
}
html {
font-family: sans-serif;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-ms-overflow-style: scrollbar;
-webkit-tap-highlight-color: transparent;
background-color: gray;
}
body {
height: 100vh;
width: 100vw;
top: 0;
left: 0;
right: 0;
padding: 0;
margin: 0;
font-family: Roboto, Helvetica, Arial, sans-serif;
font-size: 1rem;
line-height: 1.5;
color: #212529;
text-align: left;
background-color: #fafafa;
font-weight: 400;
}
button, input, optgroup, select, textarea {
margin: 0;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
select {
-webkit-border-radius: 1px!important;
outline: none;
option {
color: #999999;
}
&:focus {
outline: none !important;
}
}
fieldset {
border: unset;
display: unset;
}
code {
padding: 2px;
}
/* bootstrap materialize fix */
.form-row {
margin-left: 0 !important;
margin-right: 0 !important;
}
/* New design */
a[href] {
color: #4d7bff;
text-decoration: none;
&:hover {
color: #8aa8ff;
}
&:visited {
color: #2752cd;
}
}
/* tooltip */
#global-tooltip {
color: #999999;
background-color: #232222;
position: fixed;
z-index: 1000000;
pointer-events: none;
padding: .25em;
transform: translate(-50%, -100%); /* translate up, center */
text-align: center;
border-right: 3px;
display: flex;
flex-direction: column;
justify-content: space-around;
opacity: 0;
@include transition(opacity .5s ease-in-out);
&:after {
content: '';
position: absolute;
width: 0;
height: 0;
left: calc(50% - .5em);
bottom: -.4em;
border-style: solid;
border-width: .5em .5em 0 .5em;
border-color: #232222 transparent transparent transparent;
}
&.shown {
opacity: 1;
}
}
/* colored letters */
a.rainbow-letter {
background-image: url('data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAV/klEQVR4nM1dbY7j1hFsauSsk2CBAPkXBPkZ5Ca+QY6V+wS5SA5g569jrGN7d0diMCNRahar+uNRY7sDmeR7j++rqqublHYyffWPv39jNr+3V5tte8QyVZ4d120ms9fPYpM74vlUKF8+h2Idtjsk5f7aknGij1qjBceVzQSKKnTb44ejmf3pMtRs/GhQ5yFT97B2fC10kaSd7y1rW+lzj7H+I0BZO9U2unezjfvAf/m8P5hNH+IpVKaJ00X/tk17tRa2zq6hkzzC2IqYMm1Xyu8bWlT1WCHK5fzDoQ5wpw0uVW2Nnqtaiy9nhFd9jVjVkysWuUjJ+6MFsSiN10IdDr3pVKYaqUI870gFEHTVLjLVtguwqot2EetbfUceXZN62f5Q83JWVlWHDkm26+3I+V6CjBqushMgy14feUvUNiGLU4BoaiPqYKW6jgqw+7p1lfu9RUlbxaPZvZWx6GS7SV+h/lAHvKsOWSioq4AvY+vKPL+bYI4kaVPwYe0s3YEiy7vgw4YdttOOprnH83V9pm7VMPBo+VerHInrUd6AY73aYExPwYe2SQjISNDx/Gi5WgW6Up8lypFlIFXL1T2ZC8lJvxH4xRDw6Hq+VVUVUGGA7Rvrp2tV8CMdbRMoyu7VeRV8+ATvAfaQoNv2ch3F/cywXUcdKhatspIzlL2/kt2z8xEiWPoeYJQE2VJVGrRWA2UR0I8CvuK1FRVQ99P6itcrj1Z12A7KyXuADrCqHpdYinhyzZW1Zn1VrRrXKyqQEaJMgkeBT/pthABGDrb8KoHqKlANAdl5tT81M6zP6qJ+Q+nvyLmqUwkTtIEQEAGPZWxJXeD74OOasj1U12gVyceZZrRn3l/yenau2nRVAdoETwEZcBkJsu2KjBOh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Cyn5EmU5I8H8CyOgnqIQBXizPMyBFMPxOzyjIzT+8QYr9M6367PqUt2jVWrp4CzN7vlvlo5oPeXwVxr8SPGvN0ZqpN1etroWDk+HrP+5cvg/5js72/jaKkPZN8toJAAzupDJ53LFIQnHY0xrIE1UYBytr7sXy/ag5LOa/3NZWju8/sw/8BT1vrMTgvQV8AAAAASUVORK5CYII=');
background-size: 100% 100%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: bold;
border-bottom: 1px solid #ab4788;
line-height: 1em;
}
iframe {
border-radius: .2em;
border: none;
}
select, input {
-webkit-appearance: none;
}
}