filestash/public/assets/css/designsystem.css

195 lines
4.8 KiB
CSS

@import url("./designsystem_input.css");
@import url("./designsystem_textarea.css");
@import url("./designsystem_inputgroup.css");
@import url("./designsystem_checkbox.css");
@import url("./designsystem_formbuilder.css");
@import url("./designsystem_button.css");
@import url("./designsystem_icon.css");
@import url("./designsystem_container.css");
@import url("./designsystem_box.css");
@import url("./designsystem_darkmode.css");
@import url("./designsystem_skeleton.css");
@import url("./designsystem_utils.css");
@import url("./designsystem_alert.css");
:root {
--bg-color: #f9f9fa;
--color: #3e4041;
--emphasis: #466372;
--primary: #9AD1ED;
--emphasis-primary: #c5e2f1;
--emphasis-secondary: #466372;
--light: #57595A;
--super-light: #fafafa;
--error: #f26d6d;
--success: #63d9b1;
--dark: #24272a;
--surface: #525659;
--border: rgba(198,200,204,0.25);
}
html {
font-family: system-ui, sans-serif;
-webkit-text-size-adjust:100%;
font-smoothing: antialiased;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
overflow: hidden;
background: var(--bg-color);
color: var(--color);
}
body, html {
height: 100%;
margin: 0;
}
a {
color: inherit;
text-decoration: none;
}
select {
-webkit-appearance: none;
-moz-appearance: none;
}
select:-moz-focusring {
color: transparent;
outline: none;
border: none;
}
select::-ms-expand {
display: none;
}
button::-moz-focus-inner {
border: 0;
}
input, textarea, select {
transition: border 0.2s;
outline: none;
}
button:focus,
a:focus,
a:active,
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
select::-moz-focus-inner,
input[type="file"]>input[type="button"]::-moz-focus-inner {
outline: none !important;
}
select:-moz-focusring {
color: transparent;
text-shadow: 0 0 0 #000;
}
#app { height: 100%; }
.connect-form input:hover,
.connect-form textarea:hover,
.connect-form input:focus,
.connect-form textarea:focus {
border-color: rgb(154, 209, 237)!important;
}
.drag-drop {
z-index: 2;
}
.drag-drop.dragging>div {
background: rgba(0, 0, 0, 0.1);
}
/* CONNECTION FORM */
.login-form button.active {
box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.20);
}
::-webkit-scrollbar {
height: 4px;
width: 4px
}
::-webkit-scrollbar-track {
background: rgba(0, 0, 0, .1)
}
::-webkit-scrollbar-thumb {
border-radius: 2px;
background: rgba(0, 0, 0, .2);
}
.scroll-y {
flex: 1;
overflow-y: scroll;
overflow-x: hidden;
scrollbar-3dlight-color: #7d7e94;
scrollbar-arrow-color: #c1c1d1;
scrollbar-darkshadow-color: #2d2c4d;
scrollbar-face-color: rgba(0, 0, 0, .1);
scrollbar-highlight-color: #7d7e94;
scrollbar-shadow-color: #2d2c4d;
scrollbar-track-color: rgba(0, 0, 0, .1);
}
@font-face {
font-family: "Source Code Pro";
font-style: normal;
font-weight: 400;
src: local("Source Code Pro"), local("SourceCodePro-Regular"), url(../fonts/SourceCodePro-Regular-400-latin-ext.woff2) format("woff2");
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: "Source Code Pro";
font-style: normal;
font-weight: 400;
src: local("Source Code Pro"), local("SourceCodePro-Regular"), url(../fonts/SourceCodePro-Regular-400-latin.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: "Source Code Pro";
font-style: normal;
font-weight: 600;
src: local('Source Code Pro Semibold'), local('SourceCodePro-Semibold'), url(../fonts/SourceCodePro-Semibold-600-latin-ext.woff2) format("woff2");
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: "Source Code Pro";
font-style: normal;
font-weight: 600;
src: local("Source Code Pro Semibold"), local("SourceCodePro-Semibold"), url(../fonts/SourceCodePro-Semibold-600-latin.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* skip link */
body > a[aria-role="navigation"] {
position: absolute;
left: -999px;
top: auto;
width: 1px;
height: 1px;
overflow: hidden;
}
body > a[aria-role="navigation"]:focus-visible {
position: fixed;
top: 8px;
width: fit-content;
height: auto;
border-radius: 5px;
padding: 5px 10px;
outline: 2px solid;
z-index: 10;
left: 50%;
background: white
}