aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DashboardView.scss
diff options
context:
space:
mode:
authormonoguitari <113245090+monoguitari@users.noreply.github.com>2023-08-22 14:15:04 -0400
committermonoguitari <113245090+monoguitari@users.noreply.github.com>2023-08-22 14:15:04 -0400
commit9293fd8c4128b41b31f9b2214d6799fdff0f2aaa (patch)
tree45809c42545b10515f6f88065318b454549dacd1 /src/client/views/DashboardView.scss
parent347e8e2bd32854b36828b7bcc645c9c361204251 (diff)
parent1c52bd054385d2584bbeae41eecdf9ba6999c25f (diff)
Merge branch 'master' into advanced-trails
Diffstat (limited to 'src/client/views/DashboardView.scss')
-rw-r--r--src/client/views/DashboardView.scss112
1 files changed, 74 insertions, 38 deletions
diff --git a/src/client/views/DashboardView.scss b/src/client/views/DashboardView.scss
index b8a6f6c05..6be2133ef 100644
--- a/src/client/views/DashboardView.scss
+++ b/src/client/views/DashboardView.scss
@@ -1,12 +1,15 @@
-@import "./global/globalCssVariables";
-
+@import './global/globalCssVariables';
.dashboard-view {
- padding: 50px;
- display: flex;
- flex-direction: row;
- width: 100%;
- position: absolute;
+ padding: 50px;
+ display: flex;
+ flex-direction: row;
+ width: 100%;
+ position: absolute;
+ height: 100%;
+ width:100%;
+ padding-right: 0px;
+ overflow: auto;
.left-menu {
display: flex;
@@ -14,26 +17,28 @@
flex-direction: column;
width: 250px;
min-width: 250px;
+ gap: 5px;
}
- .all-dashboards {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- overflow-y: scroll;
- }
+ .all-dashboards {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ overflow-y: auto;
+ width: 100%;
+ }
}
.text-button {
cursor: pointer;
- padding: 3px 0;
- &:hover {
- font-weight: 500;
- }
+ padding: 3px 0;
+ &:hover {
+ font-weight: 500;
+ }
- &.selected {
- font-weight: 700;
- }
+ &.selected {
+ font-weight: 700;
+ }
}
.new-dashboard-button {
@@ -56,15 +61,26 @@
display: flex;
justify-content: center;
align-items: center;
+ position: relative;
&:hover {
color: $light-blue;
border: solid 2px $light-blue;
}
+
+ .background {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ left: 0;
+ top: 0;
+ z-index: -1;
+ }
}
.dashboard-container {
border-radius: 10px;
+ position: relative;
cursor: pointer;
width: 250px;
height: 200px;
@@ -74,35 +90,55 @@
margin: 0 0px 30px 30px;
overflow: hidden;
- &:hover{
+ &:hover {
outline: solid 2px $light-blue;
- }
+ }
- .title {
- margin: 10px;
- font-weight: 500;
- }
+ .title {
+ margin: 10px;
+ font-weight: 500;
+ }
- img {
- width: auto;
- height: 80%;
- }
+ img {
+ width: auto;
+ height: 80%;
+ }
- .info {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- padding: 0px 10px;
- }
+ .info {
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ align-items: center;
+ padding: 0px 10px;
+ }
+ .dashboard-status,
+ .dashboard-status-shared {
+ font-size: 9;
+ left: 10%;
+ position: relative;
+ top: -5;
+ }
+ .dashboard-status-shared {
+ background: 'lightgreen';
+ }
.more {
z-index: 100;
}
+
+ .background {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ left: 0;
+ top: 0;
+ z-index: -1;
+ }
}
.new-dashboard {
color: $dark-gray;
+ padding: 10px;
display: flex;
width: 100%;
height: 100%;
@@ -136,4 +172,4 @@
flex-direction: row;
justify-content: flex-end;
}
-} \ No newline at end of file
+}