// Fonts @import '@assets/vue-file-manager/_variables'; @import '@assets/vue-file-manager/_mixins'; #viewport { display: flex; width: 100%; @include transition(200ms); } #application-wrapper { display: flex; height: 100%; #content { position: relative; width: 100%; } } #single-page { overflow-x: hidden; width: 100%; height: 100%; position: relative; padding-left: 25px; padding-right: 25px; #page-content { margin: 0 auto; &.full-width { max-width: 100%; } &.medium-width { max-width: 1024px; } &.small-width { max-width: 690px; } } } .form-group { margin-bottom: 25px; } .form-group-label { @include font-size(17); font-weight: 500; margin-bottom: 25px; display: block; } .menu-list-wrapper { &.vertical { margin-bottom: 20px; .menu-list-item { display: block; padding: 12px 15px 12px 25px; } } &.horizontal { display: flex; border-bottom: 2px solid $light_mode_border; margin-bottom: 30px; overflow-x: auto; &::-webkit-scrollbar { display: none; } .menu-list-item { display: inline-block; padding: 15px 10px; margin: 15px 10px 0; border-bottom: 2px solid transparent; &:first-child { margin-left: 0; } &.router-link-exact-active { border-bottom: 2px solid $theme; } } } .menu-list-item { text-decoration: none; cursor: pointer; position: relative; white-space: nowrap; &.link { display: flex; align-items: center; &.is-active, &.router-link-exact-active, &:hover { svg { path, line, polyline, rect, circle { stroke: $theme; } } .label { color: $theme; } } .icon { margin-right: 12px; line-height: 0; path, line, polyline, rect, circle { stroke: $text; } } .text-label { @include font-size(16); } } &:hover, &.is-active { .delete-icon { display: block; } } .folder-icon { line-height: 0; width: 15px; margin-right: 9px; vertical-align: middle; margin-top: -1px; } .delete-icon { display: none; position: absolute; right: 15px; top: 50%; @include transform(translateY(-50%)); } .label { @include font-size(13); font-weight: 700; vertical-align: middle; white-space: nowrap; max-width: 210px; overflow: hidden; text-overflow: ellipsis; display: inline-block; color: $text; } } &.favourites { &.is-dragenter .menu-list { border: 2px dashed $theme; border-radius: 8px; } .menu-list { border: 2px dashed transparent; .menu-list-item { padding: 8px 23px; .icon { margin-right: 5px; width: 20px; path, line, polyline, rect, circle { @include transition(150ms); } } &:hover, &.is-selected, &.is-current { .folder-icon { path, line, polyline, rect, circle { stroke: $theme; } } .label { color: $theme; } } } } } } .empty-note { @include font-size(12); color: $text-muted; display: block; } @media only screen and (max-width: 1024px) { #single-page { #page-content { &.full-width, &.medium-width, &.small-width { max-width: 100%; width: 100%; } } } .menu-list-wrapper { .menu-list-item { padding: 12px 15px 12px 20px; } &.favourites { .menu-list .menu-list-item { padding: 8px 18px; } } } } @media only screen and (max-width: 960px) { #single-page { padding-left: 30px; padding-right: 30px; } } @media only screen and (max-width: 690px) { #single-page { padding-left: 15px; padding-right: 15px; } } @media (prefers-color-scheme: dark) { .empty-note { color: $dark_mode_text_secondary; } .menu-list-wrapper { &.horizontal { border-bottom: 2px solid $dark_mode_border_color; } .menu-list-item { &.link { .icon { path, line, polyline, rect, circle { stroke: $dark_mode_text_primary; } } } .label { color: $dark_mode_text_primary; } .icon { path, line, polyline, rect, circle { stroke: $dark_mode_text_primary; } } &:hover { background: rgba($theme, .1); .label { color: $theme; } .icon { path, line, polyline, rect, circle { stroke: $theme; } } } } } }