-
Notifications
You must be signed in to change notification settings - Fork 98
/
ui-grid.css
96 lines (81 loc) · 1.54 KB
/
ui-grid.css
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
.modal-grid {
min-height: 75vh;
width : 100%;
}
/*
Overlay a ui-grid to put a message in front
*/
.grid-msg-overlay {
position: absolute;
top: 0;
bottom: 0;
width: 100%;
background: rgba(255, 255, 255, 0.8);
}
/*
This element will contain our message.
*/
.grid-msg-overlay .msg {
opacity: 1;
position: absolute;
top: 10%;
left: 10%;
width: 80%;
height: 50%;
text-align: center;
display: table;
}
/*
This is the actual message text. It uses
display: table-cell so the vertical alignment
works properly.
*/
.grid-msg-overlay .msg > span {
display: table-cell;
vertical-align: middle;
}
/*
This sets the grid to full height of the window.
*/
.grid-full-height {
width: 100%;
/* this is full height minus the header crumb*/
height : calc(100vh - 65px);
}
/* this is full height minus the header crumb and filters*/
.grid-full-height-with-filters {
width: 100%;
height : calc(100vh - 106px);
}
.grid-journal {
width : 100%;
height : calc(100vh - 108px);
}
.grid-journal-alert {
width : 100%;
height : calc(100vh - 150px);
}
.grid-util-journal {
width : 100%;
height : calc(100vh - 95px - 35px);
}
/*
This sets the grid to full height of the window minus the util bar.
*/
.grid-util-full-height {
width: 100%;
/* this is full height minus the header crumb and util bar */
height : calc(100vh - 65px - 35px);
}
.grid-error {
color: white;
background-color: red;
}
.grid-warning {
color : white;
background-color: darkorange;
}
.grid-success {
color: white;
background-color: blue;
}