Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

chore(frontend): remove unused styles

johavenf33070dc151d
diff --git a/frontend/src/styles/components/_app.scss b/frontend/src/styles/components/_app.scss
index 9deffda4..eb08366e 100755
--- a/frontend/src/styles/components/_app.scss
+++ b/frontend/src/styles/components/_app.scss
@@ -254,12 +254,6 @@
}
}
-.app-table-striped {
- @extend .app-table;
- user-select: auto !important;
- cursor: auto !important;
-}
-
.app-top-menu {
display: flex;
justify-content: flex-start;
@@ -412,12 +406,6 @@ app-input-filter {
}
}
-.app-div-striped-inverse {
- &:nth-of-type(odd) {
- background-color: transparent;
- }
-}
-
.app-div-hovered {
user-select: none;
&:hover {
diff --git a/frontend/src/styles/components/_boxes.scss b/frontend/src/styles/components/_boxes.scss
index 206e2883..29d27eb9 100644
--- a/frontend/src/styles/components/_boxes.scss
+++ b/frontend/src/styles/components/_boxes.scss
@@ -1,12 +1,3 @@
-.box {
- position: relative;
- @include border-radius($box-border-radius);
- border-top: 3px solid $box-default-border-top-color;
- margin-bottom: 10px;
- width: 100%;
- box-shadow: $box-boxshadow;
-}
-
.box-transparent {
position: relative;
width: 100%;
@@ -68,31 +59,13 @@
border-radius: 0 0 $box-border-radius, $box-border-radius;
padding: $box-padding;
- .no-header & {
- @include border-top-radius($box-border-radius);
- }
-
> .table {
margin-bottom: 0;
}
}
-.box-footer {
- border-top: .5px solid $box-border-color;
- padding: $box-padding;
- background-color: $box-footer-bg;
- font-size: $font-size-xs;
- text-align: center;
-
- &:hover {
- outline: none;
- cursor: pointer;
- }
-}
-
.box-header,
-.box-body,
-.box-footer {
+.box-body {
@include clearfix;
}
@@ -111,24 +84,6 @@
padding-left: 10px;
}
- > .small-box-footer {
- position: relative;
- text-align: center;
- padding: 3px 0;
- color: #fff;
- color: rgba(255, 255, 255, 0.8);
- display: block;
- z-index: 10;
- background: rgba(0, 0, 0, 0);
- text-decoration: none;
-
- &:hover {
- cursor: pointer;
- color: #fff;
- background: rgba(0, 0, 0, 0.15);
- }
- }
-
h4 {
font-weight: bold;
margin: 0;
diff --git a/frontend/src/styles/components/_chats.scss b/frontend/src/styles/components/_chats.scss
index 2368ce80..659b8a3c 100644
--- a/frontend/src/styles/components/_chats.scss
+++ b/frontend/src/styles/components/_chats.scss
@@ -82,119 +82,3 @@
}
}
-
-.chat-border-bottom {
- border-bottom: .5px solid transparent;
-}
-
-.chat-component {
- display: flex;
- flex-direction: column;
- width: 100%;
- height: 100%;
-
- .chat-container {
- @extend .rounded;
- max-width: 80%;
- margin-top: 0.1rem;
- margin-bottom: 0.1rem;
- display: flex;
- font-size: $font-size-xs;
-
- .chat-content {
- display: flex;
- flex-direction: column;
- padding: 0.4rem;
- overflow-wrap: anywhere;
-
- .chat-message-info {
- @extend .no-select;
- display: flex;
- align-items: center;
- @extend .text-muted;
- }
-
- .chat-message {
- @extend .no-select;
- display: flex;
- align-items: center;
- font-size: $font-size-xs;
-
- img {
- border-radius: 50%;
- margin-right: 0.15rem;
- }
-
- .chat-author {
- font-weight: 700
- }
-
- .chat-date {
- @extend .no-select;
- @extend .text-muted;
- margin-left: auto;
- padding-left: 3rem;
- font-size: $font-size-4xs;
- }
- }
- }
- }
-
-}
-
-.chat-button-bottom {
- display: flex;
- position: fixed;
- flex-direction: column;
- align-self: center;
- z-index: 99;
- cursor: pointer;
- font-size: 30px;
- bottom: 50px;
-
-
-
- span {
- position: absolute;
- top: -5px;
- left: 20px;
- font-size: $font-size-3xs;
- cursor: pointer;
- }
-
- div {
- display: flex;
- }
-}
-
-.chat-input {
- display: flex;
- align-items: center;
- padding: 0.4rem;
- height: 40px;
-}
-
-.chat-list-sidebar {
- .chat-item-sidebar {
- display: flex;
- align-items: flex-start;
- position: relative;
- height: 40px;
- cursor: pointer;
- padding: 6px;
-
- .avatar-sm {
- margin-right: 0.2rem;
-
- .avatar-img {
- min-width: 28px;
- min-height: 28px;
- font-size: $font-size-sm;
- }
- }
-
- .badge {
- font-size: $font-size-3xs !important;
- }
- }
-}
diff --git a/frontend/src/styles/components/_theme_dark.scss b/frontend/src/styles/components/_theme_dark.scss
index 3c313b3b..2ff7495a 100755
--- a/frontend/src/styles/components/_theme_dark.scss
+++ b/frontend/src/styles/components/_theme_dark.scss
@@ -128,37 +128,6 @@
}
}
-@mixin skin-dark-chat() {
- .chat-border-bottom {
- border-bottom-color: $sidebar-dark-apps-menu-bg;
- }
- .chat-input {
- background-color: $sidebar-dark-icons-menu-bg;
- }
- .chat-container {
- background-color: lighten($sidebar-dark-apps-menu-title-bg, 4%);
- }
- .chat-button-bottom {
- color: $gray-light;
-
- &:hover {
- color: lighten($gray-light, 30%);
- }
- }
- .chat-list-sidebar {
- color: $sidebar-dark-apps-menu-border-color;
-
- .chat-item-sidebar {
- border-bottom: .5px solid $sidebar-dark-apps-menu-bg;
-
- &:hover, &.active {
- color: $sidebar-dark-apps-menu-hover-color;
- background-color: $sidebar-dark-apps-menu-hover-bg;
- }
- }
- }
-}
-
@mixin skin-dark-tree() {
.angular-tree-component {
.node-wrapper,
@@ -395,17 +364,6 @@
color: darken($gray-light, 5%);
}
}
- .app-table-striped {
- > tbody > tr {
- &:nth-of-type(odd) {
- background-color: $sidebar-dark-icons-menu-border-color;
- }
-
- &:hover {
- background-color: $dark-table-row-hover-bg;
- }
- }
- }
.app-top-menu {
border-top-color: $sidebar-dark-icons-menu-border-color;
border-bottom-color: $sidebar-dark-icons-menu-border-color;
@@ -444,11 +402,6 @@
background-color: lighten($sidebar-dark-apps-menu-title-bg, 4%);
}
}
- .app-div-striped-inverse {
- &:nth-of-type(odd) {
- background-color: $dark-striped-bg;
- }
- }
.app-thumbs {
background-color: inherit !important;
@@ -685,27 +638,6 @@
border-color: $dark-field-border;
background-color: $sidebar-dark-icons-menu-bg;
}
- .box:not(.box-background-transparent) {
- background-color: $sidebar-dark-icons-menu-bg;
- }
- .box-default {
- @include box-solid-variant($sidebar-dark-apps-menu-title-bg, $gray-light, true);
-
- > .box-header {
- border-bottom: .5px solid $sidebar-dark-apps-menu-title-bg;
- }
-
- > .box-footer {
- border-top: .5px solid $sidebar-dark-apps-menu-title-bg;
- }
- }
- .box-footer-default {
- background-color: $sidebar-dark-apps-menu-title-bg;
-
- &:hover {
- background-color: darken($sidebar-dark-apps-menu-title-bg, 5%);
- }
- }
.box-transparent {
background-color: darken($sidebar-dark-icons-menu-bg, 2%);
border-color: $sidebar-dark-icons-menu-border-color;
diff --git a/frontend/src/styles/components/_theme_light.scss b/frontend/src/styles/components/_theme_light.scss
index f166d8a4..2431c863 100755
--- a/frontend/src/styles/components/_theme_light.scss
+++ b/frontend/src/styles/components/_theme_light.scss
@@ -146,37 +146,6 @@
}
}
-@mixin skin-light-chat() {
- .chat-border-bottom {
- border-bottom-color: $sidebar-light-apps-menu-border-color;
- }
- .chat-input {
- background-color: $sidebar-light-apps-menu-hover-bg;
- }
- .chat-container {
- background-color: $gray-lighter;
- }
- .chat-button-bottom {
- color: $light-chat-button-color;
-
- &:hover {
- color: $light-chat-button-hover-color;
- }
- }
- .chat-list-sidebar {
- color: $sidebar-light-apps-menu-color;
-
- .chat-item-sidebar {
- border-bottom: .5px solid $sidebar-light-apps-menu-bg;
-
- &:hover, &.active {
- color: $sidebar-light-apps-menu-hover-color;
- background-color: $sidebar-light-apps-menu-hover-bg;
- }
- }
- }
-}
-
@mixin skin-light-tree() {
.angular-tree-component {
.node-wrapper,
@@ -423,17 +392,6 @@
color: $custom-dark-color;
}
}
- .app-table-striped {
- > tbody > tr {
- &:nth-of-type(odd) {
- background-color: $gray-lightest;
- }
-
- &:hover {
- background-color: $light-table-striped-hover-bg;
- }
- }
- }
.app-top-menu {
border-top-color: $gray-light;
border-bottom-color: $gray-light;
@@ -506,11 +464,6 @@
background-color: $light-row-selected-bg !important;
}
}
- .app-div-striped-inverse {
- &:nth-of-type(odd) {
- background-color: darken($body-bg, 4%);
- }
- }
.list-group-item {
background-color: lighten($gray-light, 10%);
color: $custom-color;
@@ -665,24 +618,6 @@
color: $muted;
}
}
- .box-default {
- @include box-solid-variant($gray-lighter, $body-color, true);
-
- > .box-header {
- border-bottom: .5px solid $light-box-border-strong;
- }
-
- > .box-footer {
- border-top: .5px solid $light-box-border-strong;
- }
- }
- .box-footer-default {
- background-color: $gray-lighter;
-
- &:hover {
- background-color: darken($gray-lighter, 5%);
- }
- }
.box-transparent {
background-color: $gray-lightest;
border-color: $gray-lighter;
diff --git a/frontend/src/styles/components/_themes.scss b/frontend/src/styles/components/_themes.scss
index 2b270211..83c8c12d 100755
--- a/frontend/src/styles/components/_themes.scss
+++ b/frontend/src/styles/components/_themes.scss
@@ -7,7 +7,6 @@ body {
@include skin-light-app();
@include skin-light-left-sidebar();
@include skin-light-right-sidebar();
- @include skin-light-chat();
@include skin-light-tree();
@include skin-light-miscellaneous();
}
@@ -16,7 +15,6 @@ body {
@include skin-dark-app();
@include skin-dark-left-sidebar();
@include skin-dark-right-sidebar();
- @include skin-dark-chat();
@include skin-dark-tree();
@include skin-dark-miscellaneous();
}