feat: migrate to vue 3 (#2689)
--------- Co-authored-by: Joep <jcbuhre@gmail.com> Co-authored-by: Omar Hussein <omarmohammad1951@gmail.com> Co-authored-by: Oleg Lobanov <oleg@lobanov.me>
This commit is contained in:
164 files changed
+12202
-8047
No files matched your search
@@ -4,17 +4,17 @@
|
||||
|
||||
.dashboard .row {
|
||||
display: flex;
|
||||
margin: 0 -.5em;
|
||||
margin: 0 -0.5em;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
body.rtl .dashboard .row {
|
||||
html[dir="rtl"] .dashboard .row {
|
||||
margin-right: 16em;
|
||||
}
|
||||
|
||||
.dashboard .row .column {
|
||||
display: flex;
|
||||
padding: 0 .5em;
|
||||
padding: 0 0.5em;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
@@ -22,33 +22,33 @@ body.rtl .dashboard .row {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
@media(max-width: 1200px) {
|
||||
@media (max-width: 1200px) {
|
||||
.dashboard .row .column {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.dashboard p label {
|
||||
margin-bottom: .2em;
|
||||
margin-bottom: 0.2em;
|
||||
display: block;
|
||||
font-size: .8em;
|
||||
font-size: 0.8em;
|
||||
font-weight: 500;
|
||||
color: rgba(0, 0, 0, 0.57);
|
||||
color: var(--textPrimary);
|
||||
}
|
||||
|
||||
li code,
|
||||
p code {
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
padding: .1em;
|
||||
border-radius: .2em;
|
||||
background: var(--divider);
|
||||
padding: 0.1em;
|
||||
border-radius: 0.2em;
|
||||
}
|
||||
|
||||
.small {
|
||||
font-size: .8em;
|
||||
font-size: 0.8em;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
@@ -61,21 +61,21 @@ p code {
|
||||
.dashboard #nav .wrapper {
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
border-bottom: 2px solid rgba(0, 0, 0, 0.05);
|
||||
border-bottom: 2px solid var(--divider);
|
||||
}
|
||||
|
||||
body.rtl #nav .wrapper {
|
||||
html[dir="rtl"] .dashboard #nav .wrapper {
|
||||
margin-right: 16em;
|
||||
}
|
||||
|
||||
.dashboard #nav ul {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
color: rgb(84, 110, 122);
|
||||
color: var(--action);
|
||||
font-weight: 500;
|
||||
padding: 0;
|
||||
margin: 0 0 -2px 0;
|
||||
font-size: .8em;
|
||||
font-size: 0.8em;
|
||||
text-align: center;
|
||||
justify-content: left;
|
||||
}
|
||||
@@ -85,12 +85,11 @@ body.rtl #nav .wrapper {
|
||||
padding: 1.5em 2em;
|
||||
white-space: nowrap;
|
||||
border-bottom: 2px solid transparent;
|
||||
transition: .1s ease-in-out all;
|
||||
|
||||
transition: 0.1s ease-in-out all;
|
||||
}
|
||||
|
||||
.dashboard #nav ul li:hover {
|
||||
background: var(--moon-grey);
|
||||
background: var(--surfaceSecondary);
|
||||
}
|
||||
|
||||
.dashboard #nav ul li.active {
|
||||
@@ -120,7 +119,7 @@ table {
|
||||
}
|
||||
|
||||
table tr {
|
||||
border-bottom: 1px solid #ccc;
|
||||
border-bottom: 1px solid var(--iconTertiary);
|
||||
}
|
||||
|
||||
table tr:last-child {
|
||||
@@ -129,40 +128,44 @@ table tr:last-child {
|
||||
|
||||
table th {
|
||||
font-weight: 500;
|
||||
color: #757575;
|
||||
color: var(--textSecondary);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
table th,
|
||||
table td {
|
||||
padding: .5em 0;
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
|
||||
table td.small {
|
||||
width: 1em;
|
||||
}
|
||||
|
||||
table tr>*:first-child {
|
||||
table tr > *:first-child {
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
body.rtl table tr>* {
|
||||
html[dir="rtl"] table tr > * {
|
||||
padding-left: unset;
|
||||
padding-right: 1em;
|
||||
text-align: right;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
table tr>*:last-child {
|
||||
table tr > *:last-child {
|
||||
padding-right: 1em;
|
||||
}
|
||||
|
||||
.card {
|
||||
position: relative;
|
||||
margin: 0 0 1rem 0;
|
||||
background-color: #fff;
|
||||
background: var(--surfacePrimary);
|
||||
color: var(--textSecondary);
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
|
||||
box-shadow:
|
||||
0 2px 2px 0 rgba(0, 0, 0, 0.14),
|
||||
0 1px 5px 0 rgba(0, 0, 0, 0.12),
|
||||
0 3px 1px -2px rgba(0, 0, 0, 0.2);
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
@@ -171,18 +174,18 @@ table tr>*:last-child {
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 99999;
|
||||
max-width: 25em;
|
||||
width: 90%;
|
||||
max-height: 95%;
|
||||
animation: .1s show forwards;
|
||||
/* animation-duration: 0.3s;
|
||||
animation-fill-mode: forwards; */
|
||||
}
|
||||
|
||||
.card>*>*:first-child {
|
||||
.card > * > *:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.card>*>*:last-child {
|
||||
.card > * > *:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@@ -191,24 +194,24 @@ table tr>*:last-child {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.card .card-title>*:first-child {
|
||||
.card .card-title > *:first-child {
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
body.rtl .card .card-title>*:first-child {
|
||||
html[dir="rtl"] .card .card-title > *:first-child {
|
||||
margin-right: 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.card>div {
|
||||
.card > div {
|
||||
padding: 1em 1em;
|
||||
}
|
||||
|
||||
.card>div:first-child {
|
||||
.card > div:first-child {
|
||||
padding-top: 1.5em;
|
||||
}
|
||||
|
||||
.card>div:last-child {
|
||||
.card > div:last-child {
|
||||
padding-bottom: 1.5em;
|
||||
}
|
||||
|
||||
@@ -234,7 +237,7 @@ body.rtl .card .card-action {
|
||||
}
|
||||
|
||||
.card h3 {
|
||||
color: rgba(0, 0, 0, 0.53);
|
||||
color: var(--textPrimary);
|
||||
font-size: 1em;
|
||||
font-weight: 500;
|
||||
margin: 2em 0 1em;
|
||||
@@ -253,6 +256,14 @@ body.rtl .card .card-action {
|
||||
max-width: 15em;
|
||||
}
|
||||
|
||||
.card#share input,
|
||||
.card#share select,
|
||||
.card#share input::-webkit-inner-spin-button,
|
||||
.card#share input::-webkit-outer-spin-button {
|
||||
background: var(--surfacePrimary);
|
||||
color: var(--textSecondary);
|
||||
}
|
||||
|
||||
.card#share ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
@@ -277,24 +288,24 @@ body.rtl .card .card-action {
|
||||
|
||||
.card#share ul li input,
|
||||
.card#share ul li select {
|
||||
padding: .2em;
|
||||
margin-right: .5em;
|
||||
border: 1px solid #dadada;
|
||||
padding: 0.2em;
|
||||
margin-right: 0.5em;
|
||||
border: 1px solid var(--borderPrimary);
|
||||
}
|
||||
|
||||
.card#share .action.copy-clipboard::after {
|
||||
content: 'Copied!';
|
||||
content: "Copied!";
|
||||
position: absolute;
|
||||
left: -25%;
|
||||
width: 150%;
|
||||
font-size: .6em;
|
||||
font-size: 0.6em;
|
||||
text-align: center;
|
||||
background: #44a6f5;
|
||||
color: #fff;
|
||||
padding: .5em .2em;
|
||||
border-radius: .4em;
|
||||
padding: 0.5em 0.2em;
|
||||
border-radius: 0.4em;
|
||||
top: -2em;
|
||||
transition: .1s ease opacity;
|
||||
transition: 0.1s ease opacity;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
@@ -324,10 +335,9 @@ body.rtl .card .card-action {
|
||||
z-index: 9999;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
animation: .1s show forwards;
|
||||
animation: 0.1s show forwards;
|
||||
}
|
||||
|
||||
|
||||
/* * * * * * * * * * * * * * * *
|
||||
* PROMPT - MOVE *
|
||||
* * * * * * * * * * * * * * * */
|
||||
@@ -344,33 +354,33 @@ body.rtl .card .card-action {
|
||||
.file-list li {
|
||||
width: 100%;
|
||||
user-select: none;
|
||||
border-radius: .2em;
|
||||
padding: .3em;
|
||||
border-radius: 0.2em;
|
||||
padding: 0.3em;
|
||||
}
|
||||
|
||||
.file-list li[aria-selected=true] {
|
||||
.file-list li[aria-selected="true"] {
|
||||
background: var(--blue) !important;
|
||||
color: #fff !important;
|
||||
transition: .1s ease all;
|
||||
color: var(--iconSecondary) !important;
|
||||
transition: 0.1s ease all;
|
||||
}
|
||||
|
||||
.file-list li:hover {
|
||||
background-color: #e9eaeb;
|
||||
background: var(--surfaceSecondary);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.file-list li:before {
|
||||
content: "folder";
|
||||
color: #6f6f6f;
|
||||
color: var(--textPrimary);
|
||||
vertical-align: middle;
|
||||
line-height: 1.4;
|
||||
font-family: 'Material Icons';
|
||||
font-family: "Material Icons";
|
||||
font-size: 1.75em;
|
||||
margin-right: .25em;
|
||||
margin-right: 0.25em;
|
||||
}
|
||||
|
||||
.file-list li[aria-selected=true]:before {
|
||||
color: white;
|
||||
.file-list li[aria-selected="true"]:before {
|
||||
color: var(--iconSecondary);
|
||||
}
|
||||
|
||||
.help {
|
||||
@@ -399,11 +409,11 @@ body.rtl .card .card-action {
|
||||
}
|
||||
|
||||
.collapsible {
|
||||
border-top: 1px solid rgba(0,0,0,0.1);
|
||||
border-top: 1px solid var(--borderPrimary);
|
||||
}
|
||||
|
||||
.collapsible:last-of-type {
|
||||
border-bottom: 1px solid rgba(0,0,0,0.1);
|
||||
border-bottom: 1px solid var(--borderPrimary);
|
||||
}
|
||||
|
||||
.collapsible > input {
|
||||
@@ -421,18 +431,18 @@ body.rtl .card .card-action {
|
||||
|
||||
.collapsible > label * {
|
||||
margin: 0;
|
||||
color: rgba(0,0,0,0.57);
|
||||
color: var(--textPrimary);
|
||||
}
|
||||
|
||||
.collapsible > label i {
|
||||
transition: .2s ease transform;
|
||||
transition: 0.2s ease transform;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.collapsible .collapse {
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
transition: .2s ease all;
|
||||
transition: 0.2s ease all;
|
||||
}
|
||||
|
||||
.collapsible > input:checked ~ .collapse {
|
||||
@@ -442,7 +452,7 @@ body.rtl .card .card-action {
|
||||
}
|
||||
|
||||
.collapsible > input:checked ~ label i {
|
||||
transform: rotate(180deg)
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.card .collapsible {
|
||||
@@ -468,12 +478,12 @@ body.rtl .card .card-action {
|
||||
flex: 1;
|
||||
padding: 2em;
|
||||
border-radius: 0.2em;
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
border: 1px solid var(--borderPrimary);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.card .card-action.full .action {
|
||||
margin: 0 0.25em 0.50em;
|
||||
margin: 0 0.25em 0.5em;
|
||||
}
|
||||
|
||||
.card .card-action.full .action i {
|
||||
@@ -489,7 +499,7 @@ body.rtl .card .card-action {
|
||||
}
|
||||
|
||||
/*** RTL - Fix disk usage information (in english) ***/
|
||||
body.rtl .credits {
|
||||
html[dir="rtl"] .credits {
|
||||
text-align: right;
|
||||
direction: ltr;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user