Skip to content

Commit 60128fc

Browse files
committed
Added new component.
1 parent bffb088 commit 60128fc

8 files changed

+636
-1
lines changed

components.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -175,5 +175,6 @@
175175
"j-PermissionsOP",
176176
"j-Movable",
177177
"j-Planner",
178-
"j-Draggable"
178+
"j-Draggable",
179+
"j-Dashboard"
179180
]

j-Dashboard/component.css

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.ui-dashboard { position: relative; min-height: 200px; }
2+
.ui-dashboard-item { position: absolute; z-index: 1; overflow: hidden; }
3+
.ui-dashboard-item figure { position: relative; border: 1px solid #E0E0E0; border-radius: 0 0 2px 2px; background-color: white; }
4+
.ui-dashboard-title { background-color: white; height: 0; border: 1px solid #E0E0E0; border-bottom: 0; line-height: 30px; padding: 0 10px; font-size: 12px; border-radius: 2px 2px 0 0; cursor: grab; font-weight: bold; display: none; }
5+
.ui-dashboard-body { position: relative; }
6+
.ui-dashboard-control { float: right; margin: 9px 0 0 7px; cursor: pointer; color: gray; display: none; }
7+
.ui-dashboard-selected { z-index: 2; }
8+
.ui-dashboard-selected .ui-dashboard-title { border-color: #D0D0D0; }
9+
.ui-dashboard-selected .ui-dashboard-body figure { border-color: #D0D0D0; }
10+
.ui-dashboard-canresize .ui-dashboard-resize-button { position: absolute; border: 2px solid gray; border-top: 0; border-left: 0; width: 10px; height: 10px; right: 0; bottom: 0; cursor: nwse-resize; }
11+
.ui-dashboard-canresize .ui-dashboard-resize-button:hover { border-color: black; }
12+
.ui-dashboard-header .ui-dashboard-title { height: 30px; display: block; }
13+
.ui-dashboard-control[data-name='remove']:hover { color: red; }
14+
.ui-dashboard-canremove .ui-dashboard-control[data-name='remove'] { display: block; }
15+
.ui-dashboard-cansettings .ui-dashboard-control[data-name='settings'] { display: block; }
16+
17+
.ui-dark .ui-dashboard-item figure { border-color: #404040; }
18+
.ui-dark .ui-dashboard-title { border-color: #404040; background-color: #202020; }
19+
.ui-dark .ui-dashboard-item figure { background-color: #202020; }
20+
.ui-dark .ui-dashboard-selected .ui-dashboard-title { border-color: #505050; }
21+
.ui-dark .ui-dashboard-selected .ui-dashboard-body figure { border-color: #505050; }
22+
.ui-dark .ui-dashboard-canresize .ui-dashboard-resize-button:hover { border-color: white; }

0 commit comments

Comments
 (0)