Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
//Light Sidebar Mixins
@mixin skin-light-left-sidebar() {
// Sidebar background color (Both .wrapper is responsible for sidebar bg color)
.wrapper, .left-sidebar {
background-color: $sidebar-light-apps-menu-bg;
}
.left-sidebar {
.sidebar-apps-menus {
.apps-shortcuts {
background-color: $light-sidebar-mini-bg;
border-bottom-color: $sidebar-light-apps-menu-border-color;
border-right-color: $sidebar-light-apps-menu-border-color;
.app-shortcut {
color: $sidebar-light-apps-menu-hover-color;
&:hover {
background: $light-sidebar-mini-hover-bg;
}
&.active {
background: $light-sidebar-mini-active-bg;
border-color: $light-sidebar-mini-active-border;
color: $navy;
> .lucide:first-child {
color: $light-sidebar-mini-active-icon;
}
}
}
}
.menus-content {
background-color: $light-sidebar-mini-bg;
border-right: .5px solid $sidebar-light-apps-menu-border-color;
}
.menu-separator {
color: mix($sidebar-light-apps-menu-border-color, $light-sidebar-mini-bg, 42%);
&.has-label {
color: mix($sidebar-light-apps-menu-color, $sidebar-light-apps-menu-border-color, 70%);
}
}
.menu {
> a {
color: $sidebar-light-apps-menu-hover-color;
border: .5px solid transparent;
}
&:hover {
> a {
background: $light-sidebar-mini-hover-bg;
}
}
&.active {
> a {
background: $light-sidebar-mini-active-bg;
border-color: $light-sidebar-mini-active-border;
font-weight: 500;
color: $navy;
> .lucide:first-child {
color: $light-sidebar-mini-active-icon;
}
}
}
}
}
}
}
@mixin skin-light-right-sidebar() {
.control-sidebar-theme-light {
background: $light-sidebar-surface;
border-left: .5px solid $sidebar-light-apps-menu-border-color;
.sidebar-component-title,
.sidebar-title {
background-color: $theme-light-panel-bg;
color: $black;
border-bottom: .5px solid $secondary;
}
hr {
border-top: .5px solid $sidebar-light-apps-menu-border-color;
opacity: 1;
}
}
.control-sidebar-menu {
.sidebar-apps-icons {
background-color: $light-sidebar-icons-bg;
border-left: .5px solid $sidebar-light-apps-menu-border-color;
.menu {
> a {
color: $sidebar-light-apps-menu-color;
&:hover, &.active {
color: $black;
background: $light-sidebar-mini-active-bg;
}
}
}
}
}
}
@mixin skin-light-tree() {
.angular-tree-component {
.node-wrapper,
.node-content-wrapper {
&:hover,
&:focus,
&:active {
background-color: $light-tree-node-hover-bg;
}
}
.node-wrapper.tree-selected,
.node-content-wrapper.node-content-wrapper-active,
.node-content-wrapper.node-content-wrapper-active:hover {
background-color: $light-tree-node-selected-bg;
}
}
}
@mixin skin-light-app() {
--app-action-state-bg: #{$light-menu-item-hover-bg};
--app-action-state-color: #{$light-item-hover-color};
--app-menu-item-color: #{$light-item-color};
--app-menu-surface-bg: #{$light-overlay-menu-bg};
.dialog-tab-card {
background: $light-dialog-tab-card-bg;
border: 1px solid $light-dialog-tab-card-border-color;
box-shadow: 0 12px 24px $light-dialog-tab-card-shadow-color;
}
.dialog-check-card {
background: $light-dialog-check-card-bg;
border: 1px solid $light-dialog-check-card-border-color;
}
.dialog-check-card--interactive:hover {
background: $light-dialog-check-card-hover-bg;
border-color: $light-dialog-check-card-hover-border-color;
box-shadow: 0 6px 14px $light-dialog-check-card-hover-shadow-color;
}
.dialog-check-card--active {
border-color: $light-dialog-check-card-active-border-color;
}
.text-muted {
color: darken($light-text-muted-color, 12%) !important;
}
.text-muted.text-uppercase.text-bold {
color: $light-text-muted-color !important;
}
tabset {
> .nav.nav-pills,
> ul.nav.nav-pills {
border-bottom: 1px solid $light-dialog-tabs-bar-border-color;
background: transparent;
.nav-link {
background: $light-dialog-tab-bg;
color: $light-dialog-tab-color;
border-color: $light-surface-border;
}
.nav-link:hover:not(.active) {
background: $light-dialog-tab-hover-bg;
color: $light-dialog-tab-hover-color;
border-color: $light-dialog-tab-hover-border-color;
}
.nav-link:hover:not(.active) .app-tab-count {
background: $light-dialog-tab-count-hover-bg;
color: $light-dialog-tab-count-hover-color;
border-color: mix($primary, $white, 34%);
}
.nav-link.active {
background: $light-dialog-tab-active-bg;
color: $white;
border-color: $light-dialog-tab-active-border-color;
box-shadow: $light-dialog-tab-active-shadow;
}
.nav-link.active .app-tab-count {
background: rgba($white, 0.24);
color: $white;
border-color: rgba($white, 0.42);
}
}
.app-tab-count {
background: $light-dialog-tab-count-bg;
color: $light-dialog-tab-count-color;
border: 1px solid mix($primary, $white, 26%);
}
}
.btn {
&:focus-visible {
outline: 2px solid $light-btn-focus-color;
outline-offset: 1px;
box-shadow: none !important;
}
}
.btn-default,
.btn-custom,
.btn-outline-secondary-alt {
border-color: $light-surface-border !important;
color: $light-item-color !important;
background-color: $light-surface-bg !important;
&:hover:not(:disabled) {
border-color: mix($primary, $gray-light, 26%) !important;
color: $light-item-hover-color !important;
background-color: $table-bg-hover !important;
}
&:disabled {
border-color: $light-surface-border !important;
color: $light-item-disabled-color !important;
background-color: $light-surface-bg !important;
}
}
.btn-custom {
.lucide, span {
color: inherit !important;
}
&:is(.active, :active, [aria-pressed='true']):not(:disabled) {
background-color: $primary !important;
border-color: $primary !important;
color: $white !important;
}
}
.btn-check:is(:checked, :active) + .btn-custom:not(:disabled) {
background-color: $primary !important;
border-color: $primary !important;
color: $white !important;
}
app-files-files-new-dialog .btn-default[aria-pressed] {
&:hover:not(:disabled),
&:focus-visible:not(:disabled),
&:is(.active, :active, [aria-pressed='true']):not(:disabled) {
color: var(--app-action-state-color) !important;
background-color: var(--app-action-state-bg) !important;
}
}
app-input-filter {
.filter-shell {
border-color: $light-surface-border;
background-color: $light-surface-bg;
box-shadow: inset 0 1px 1px rgba($custom-dark-color, 0.12);
&:hover {
border-color: mix($primary, $gray-light, 26%);
}
&:focus-within {
border-color: $primary;
}
&.has-value {
border-color: mix($primary, $light-surface-border, 48%);
}
input {
color: $light-item-color;
caret-color: $primary;
&::placeholder {
color: $placeholder-color;
}
}
}
.filter-icon {
color: mix($primary, $light-item-color, 52%);
}
.clear-btn {
&:hover {
color: $light-item-hover-color;
}
&:focus-visible {
outline-color: $light-btn-focus-color;
}
}
}
.dropdown-menu {
border: .5px solid $light-menu-surface-border !important;
background-color: var(--app-menu-surface-bg) !important;
box-shadow: $light-menu-surface-shadow;
> li > a {
color: var(--app-menu-item-color);
background-color: transparent;
&:hover {
background-color: var(--app-action-state-bg) !important;
color: var(--app-action-state-color) !important;
}
}
> .divider {
background-color: $light-menu-surface-border;
}
}
.dropdown-item {
color: var(--app-menu-item-color);
&:hover,
&.active,
&:active {
background-color: var(--app-action-state-bg) !important;
color: var(--app-action-state-color) !important;
}
}
.dropdown-divider {
border-top-color: $light-menu-surface-border !important;
}
.virtual-scroll-border-top {
border-top: 0.5px solid $gray-light;
}
.app-table {
color: $body-color;
// Bootstrap 5 fix
> :not(:first-child) {
border-top: 1px solid $gray-light;
}
tbody tr {
border-bottom-color: $gray-lighter !important;
&:hover {
background-color: $light-table-row-hover-bg !important;
}
&.selected {
background-color: $light-table-row-selected-bg !important;
box-shadow: inset 2px 0 0 darken($primary, 4%);
}
}
tbody td:not(:first-child) {
color: $custom-dark-color;
}
}
.app-top-menu {
border-top-color: $gray-light;
border-bottom-color: $gray-light;
background: linear-gradient(
to right,
$light-app-top-menu-gradient-start 0%,
$light-app-top-menu-gradient-mid 50%,
$light-app-top-menu-gradient-end 100%
);
}
:is(.app-top-menu, .sidebar-component-title).app-top-menu-tool-bar {
--app-top-menu-action-active-bg: var(--app-action-state-bg);
--app-top-menu-action-hover-bg: var(--app-action-state-bg);
:is(.btn-default, .btn-custom):hover:not(:disabled),
:is(.btn-default, .btn-custom):focus-visible:not(:disabled) {
background-color: var(--app-top-menu-action-hover-bg) !important;
color: var(--app-action-state-color) !important;
}
:is(.btn-default, .btn-custom):is(.active, :active, [aria-pressed='true']):not(:disabled) {
background-color: var(--app-top-menu-action-active-bg) !important;
box-shadow: none !important;
color: var(--bs-body-color) !important;
}
}
.app-foot-menu {
border-top: 0.5px solid $gray-light;
background: $theme-light-panel-alt-bg;
color: $custom-color;
}
.app-gallery {
background-color: $gray-lighter;
.row {
.card {
background-color: $white;
border-color: $gray-mid;
&.selected {
background-color: $table-bg-hover;
.card-footer {
background-color: $table-bg-hover;
}
}
}
.card-footer {
background-color: $gray-lightest;
border-top: .5px solid $gray-mid;
}
}
}
.app-sync-clients {
--sync-client-card-shadow: 0 4px 4px #{$light-dialog-tab-card-shadow-color};
--sync-client-card-selected-border: #{$light-dialog-check-card-hover-border-color};
--sync-client-details-border: #{$light-dialog-check-card-border-color};
--sync-client-details-bg: linear-gradient(
158deg,
#{mix($theme-light-panel-bg, $white, 74%)} 0%,
#{mix($light-dialog-tab-card-bg, $theme-light-panel-bg, 68%)} 100%
);
--sync-client-subtle-color: #{$light-text-muted-color};
--sync-client-path-empty-border: #{$light-dialog-check-card-hover-border-color};
--sync-client-path-empty-bg: #{mix($light-dialog-check-card-hover-bg, $white, 72%)};
--sync-path-actions-separator: #{$light-dialog-check-card-border-color};
--sync-path-hover-bg: #{$light-dialog-check-card-bg};
}
.app-div-hovered {
&:hover {
background-color: $light-menu-item-hover-bg !important;
}
&.selected {
background-color: darken($light-menu-item-hover-bg, 4%) !important;
}
}
.app-div-striped {
&:nth-of-type(even) {
background-color: $light-table-row-hover-bg;
}
&.selected {
background-color: $light-row-selected-bg !important;
}
}
.list-group-item {
background-color: lighten($gray-light, 10%);
color: $custom-color;
}
.profile-page {
background-color: $gray-lightest;
}
.user-groups-page {
.app-table > tbody {
background-color: $white;
}
}
.user-details {
color: $black;
select {
background-color: $white !important;
color: $black;
filter: none;
}
}
.task-list {
border-bottom-color: $gray-mid;
&.task-list--interactive:hover {
background-color: $table-bg-hover;
}
}
.app-small-card {
background-color: $light-sidebar-mini-bg;
}
.files-summary-card {
background-color: $theme-light-panel-bg;
border-color: $secondary !important;
}
.wizard {
background-color: lighten($primary, 50%);
tbody tr {
&:hover {
background-color: $table-bg-hover;
}
&.selected {
background-color: $selected-background;
}
}
.wizard-nav-content {
background-color: $white;
}
}
.sidebar-item {
.sidebar-item-container {
&:hover {
background-color: $table-bg-hover;
}
.sidebar-item-content {
border-bottom-color: $gray-mid;
}
}
}
}
@mixin skin-light-miscellaneous() {
.content-wrapper {
background-color: $white;
color: $body-color;
}
.ngx-contextmenu {
background-color: var(--app-menu-surface-bg) !important;
border-color: $light-menu-surface-border !important;
box-shadow: $light-menu-surface-shadow !important;
> button.ngx-context-menu-item {
color: var(--app-menu-item-color) !important;
background-color: transparent !important;
&:hover,
&:focus-visible,
&.active {
background-color: var(--app-action-state-bg) !important;
color: var(--app-action-state-color) !important;
}
}
> [role='separator'] {
border-top-color: $light-menu-surface-border !important;
}
}
.modal-body {
background-color: lighten($body-bg, 2%);
}
.modal-footer {
background-color: $gray-lightest;
}
.pagination {
--bs-pagination-color: #{$pagination-color};
--bs-pagination-bg: #{$pagination-bg};
--bs-pagination-border-color: #{$pagination-border-color};
--bs-pagination-hover-color: #{$pagination-hover-color};
--bs-pagination-hover-bg: #{$pagination-hover-bg};
--bs-pagination-hover-border-color: #{$pagination-hover-border-color};
--bs-pagination-focus-color: #{$pagination-focus-color};
--bs-pagination-focus-bg: #{$pagination-focus-bg};
--bs-pagination-focus-box-shadow: #{$pagination-focus-box-shadow};
--bs-pagination-active-color: #{$pagination-active-color};
--bs-pagination-active-bg: #{$pagination-active-bg};
--bs-pagination-active-border-color: #{$pagination-active-border-color};
--bs-pagination-disabled-color: #{$pagination-disabled-color};
--bs-pagination-disabled-bg: #{$pagination-disabled-bg};
--bs-pagination-disabled-border-color: #{$pagination-disabled-border-color};
}
typeahead-container,
.ui-select-choices {
&.dropdown-menu {
background-color: $gray-lightest !important;
}
}
.form-control,
.form-select,
.input-group-text {
&:disabled {
color: $muted;
cursor: not-allowed;
background-color: $gray-lighter;
}
}
.small-box {
border-color: $gray-lighter;
}
.nav-link {
color: $body-color;
background-color: $light-nav-bg;
&:hover {
background: $light-nav-hover-bg;
}
&.active {
color: $white;
background: $primary;
}
&:not(.active).disabled {
color: $muted;
}
}
.box-transparent {
background-color: $gray-lightest;
border-color: $gray-lighter;
box-shadow: 0 12px 26px $light-box-transparent-shadow-color;
> .box-header {
background: $theme-light-panel-alt-bg;
border-bottom-color: $gray-lighter;
}
.box-body {
background-color: $white;
}
}
.bg-theme {
background-color: darken($gray-lighter, 3%);
}
.bg-theme-alt {
background-color: $gray-lightest !important;
}
.text-bg-light {
background-color: $white !important;
}
@include view-switch-theme(
$surface: $light-surface-bg,
$border: $light-surface-border,
$text: $light-item-color,
$muted: $light-text-muted-color,
$state-background: $light-sidebar-mini-active-bg
);
@include recents-theme(
$surface: $white,
$surface-muted: $light-surface-bg,
$surface-hover: $light-table-row-hover-bg,
$empty-background: rgba($light-menu-surface-bg, 0.8),
$empty-text: $light-text-muted-color,
$border: $light-surface-border,
$border-hover: $light-dialog-check-card-hover-border-color,
$text: $light-item-color,
$muted: $light-text-muted-color,
$card-shadow: $light-dialog-tab-card-shadow-color,
$card-hover-shadow: $light-dialog-check-card-hover-shadow-color
);
.avatar-img {
background-color: darken($gray-light, 5%);
}
.code-editor {
background-color: $white !important;
}
}