256 lines
3.8 KiB
CSS
256 lines
3.8 KiB
CSS
/* Basic Styles */
|
|
:root {
|
|
--background: white;
|
|
--alt-background: #ddd;
|
|
--surfacePrimary: gray;
|
|
--surfaceSecondary: lightgray;
|
|
--textPrimary: white;
|
|
--textSecondary: gray;
|
|
}
|
|
|
|
body {
|
|
font-family: "Roboto", sans-serif;
|
|
padding-top: 4em;
|
|
background-color: #f5f5f5;
|
|
color: #333333;
|
|
overflow:auto;
|
|
overflow:initial;
|
|
}
|
|
body::-webkit-scrollbar {
|
|
z-index: 1000;
|
|
}
|
|
|
|
/* Hiding scrollbar for IE, Edge and Firefox */
|
|
body {
|
|
scrollbar-width: none; /* Firefox */
|
|
-ms-overflow-style: none; /* IE and Edge */
|
|
}
|
|
body.rtl {
|
|
direction: rtl;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
outline: 0;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
audio, video {
|
|
width: 100%;
|
|
}
|
|
|
|
.no-select {
|
|
-webkit-user-select: none; /* Safari */
|
|
-moz-user-select: none; /* Firefox */
|
|
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
user-select: none; /* Standard */
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.break-word {
|
|
word-break: break-all;
|
|
}
|
|
|
|
/* Container */
|
|
.container {
|
|
width: 95%;
|
|
max-width: 960px;
|
|
margin: 1em auto 0;
|
|
}
|
|
|
|
/* Icons */
|
|
i.spin {
|
|
animation: 1s spin linear infinite;
|
|
}
|
|
|
|
/* App Styles */
|
|
#app {
|
|
transition: 0.2s ease padding;
|
|
}
|
|
over
|
|
#app.multiple {
|
|
padding-bottom: 4em;
|
|
}
|
|
|
|
|
|
/* Main Content */
|
|
main {
|
|
position: fixed;
|
|
padding-top: 4em;
|
|
overflow: scroll;
|
|
top: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
main > div {
|
|
height: 100%;
|
|
}
|
|
|
|
.main-padding {
|
|
padding: 0.5em;
|
|
padding-top: 4em;
|
|
|
|
}
|
|
|
|
.breadcrumbs {
|
|
overflow-x: auto;
|
|
height: auto;
|
|
min-height: 3em;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
display: flex;
|
|
align-items: center;
|
|
color: #6f6f6f;
|
|
padding-left: 0.5em;
|
|
}
|
|
|
|
.breadcrumbs span,
|
|
.breadcrumbs a {
|
|
color: inherit;
|
|
transition: 0.1s ease-in;
|
|
display: flex;
|
|
border-radius: 0.125em;
|
|
}
|
|
|
|
body.rtl .breadcrumbs a {
|
|
transform: translateX(-16em);
|
|
}
|
|
|
|
.breadcrumbs a:hover {
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.breadcrumbs span a {
|
|
padding: 0.2em;
|
|
}
|
|
|
|
/* Files */
|
|
.files {
|
|
position: absolute;
|
|
bottom: 30px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Progress Bar */
|
|
.progress {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 3px;
|
|
z-index: 9999999999;
|
|
}
|
|
|
|
.progress div {
|
|
height: 100%;
|
|
background-color: #40c4ff;
|
|
width: 0;
|
|
transition: 0.2s ease width;
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
flex: 1;
|
|
height: 3em;
|
|
padding: 8px 16px;
|
|
border: none;
|
|
background-color: #f5f5f5;
|
|
transition: background-color 0.3s;
|
|
/* Add borders */
|
|
border-right: 1px solid #ccc;
|
|
}
|
|
|
|
button:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
#popup-notification {
|
|
border-radius: 1em;
|
|
color: #fff;
|
|
position: fixed;
|
|
max-width: 90vw;
|
|
height: 4em;
|
|
bottom: 0;
|
|
right: -20em;
|
|
display: flex;
|
|
padding: 0.5em;
|
|
align-items: center;
|
|
transition: right 1s ease;
|
|
z-index: 5;
|
|
margin: 1em;
|
|
height: auto;
|
|
}
|
|
|
|
#popup-notification-content {
|
|
color: white;
|
|
padding: 1em;
|
|
}
|
|
|
|
#popup-notification.success {
|
|
background: var(--blue);
|
|
}
|
|
#popup-notification.error {
|
|
background: var(--red);
|
|
}
|
|
|
|
#popup-notification > i {
|
|
cursor: pointer;
|
|
font-size: 1.75em;
|
|
}
|
|
|
|
input.sizeInput:disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.sizeInputWrapper {
|
|
border-radius: 1em;
|
|
margin: .5em;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
background-color: #f5f5f5;
|
|
padding: .25em;
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
border: 1px solid #ccc;
|
|
justify-content: center;
|
|
}
|
|
|
|
.sizeInput {
|
|
height: 100%;
|
|
text-align: center;
|
|
width: 5em;
|
|
border-radius: 1em;
|
|
padding: 1em;
|
|
backdrop-filter: invert(0.1);
|
|
border: none !important;
|
|
}
|
|
|
|
.roundedInputLeft {
|
|
border-bottom-right-radius: 0;
|
|
border-top-right-radius: 0;
|
|
width: auto;
|
|
background-color: var(--surfaceSecondary);
|
|
}
|
|
|
|
.roundedInputRight {
|
|
padding: 1em;
|
|
border-radius: 1em;
|
|
border-bottom-left-radius: 0;
|
|
border-top-left-radius: 0;
|
|
background-color: var(--surfaceSecondary);
|
|
} |