This repository was archived by the owner on Oct 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathdashboard.scss
More file actions
174 lines (154 loc) · 3.63 KB
/
Copy pathdashboard.scss
File metadata and controls
174 lines (154 loc) · 3.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
/**
* Nextcloud - Dashboard app
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
* @author Maxence Lange <maxence@artificial-owl.com>
* @copyright 2018, Maxence Lange <maxence@artificial-owl.com>
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#dashboard-nowidget {
display: none;
}
.dashboard-newwidget {
border: 1px dashed #000;
border-radius: 3px;
position: fixed;
right: 27px;
bottom: 17px;
color: #000;
font-weight: bold;
text-align: center;
padding: 40px 60px 40px 60px;
opacity: 0;
z-index: 0;
cursor: pointer;
}
.icon-dashboard {
background-image: url('../img/dashboard-dark.svg');
}
.icon-widget {
background-image: url('../img/widget.svg');
}
/* WIDGET HEADER */
.widget-header {
background-color: var(--color-main-background);
color: var(--color-main-text);
height: 44px;
display: flex;
position: relative;
align-items: center;
border-top-right-radius: var(--border-radius);
border-top-left-radius: var(--border-radius);
border-bottom: 1px solid var(--color-border);
h2 {
margin-bottom: 0;
}
.widget-header-icon {
width: 44px;
height: 44px;
background-size: 22px;
opacity: 0.65;
}
.widget-right-icon {
margin-left: auto;
width: 44px;
height: 44px;
cursor: pointer;
opacity: 0;
}
.popovermenu {
top: 44px;
}
}
.popovermenu {
z-index: 999;
}
/* WIDGET LISTS */
.widget-list-row {
height: 50px;
margin-top: 15px;
}
.widget-list-icon {
width: 32px;
height: 32px;
position: absolute;
margin: 10px;
}
.widget-list-text {
position: absolute;
left: 80px;
}
.widget-list-name {
font-size: 14px;
color: var(--color-text-light);
}
.widget-list-desc {
font-size: 12px;
color: var(--color-text-lighter);
margin-right: 10px;
}
/* GRID */
.grid-stack {
margin-top: 10px
}
.grid-stack-item-content {
color: #2c3e50;
text-align: center;
filter: drop-shadow(0 1px 3px var(--color-box-shadow));
border-radius: var(--border-radius);
z-index: 1 !important;
}
.ui-state-disabled {
opacity: 1 !important;
filter: Alpha(Opacity=100) !important;
-webkit-transition: background-color 200ms linear;
-ms-transition: background-color 200ms linear;
transition: background-color 200ms linear;
}
/* GRID STACK PLACEHOLDER */
.grid-stack .grid-stack-placeholder > .placeholder-content {
border-color: var(--color-background-darker);
}
/* WIDGET BACK */
.back {
background: var(--color-background-darker);
}
/* WIDGET CONTENT */
.widget-content {
height: calc(100% - 44px);
overflow: hidden !important;
}
.grid-stack > .grid-stack-item > .grid-stack-item-content {
margin: 0 10px;
position: unset;
top: unset;
left: unset;
right: unset;
bottom: unset;
width: unset;
z-index: 1 !important;
overflow-x: unset;
overflow-y: unset;
height: inherit;
background-color: var(--color-main-background);
color: var(--color-main-text);
}
.ui-resizable-handle-hidden {
z-index: 0 !important;
}