active_administration 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +2 -1
- data/active_administration.gemspec +2 -1
- data/app/assets/javascripts/active_administration/README.md +0 -0
- data/app/assets/javascripts/active_administration/metro-accordion.js +70 -0
- data/app/assets/javascripts/active_administration/metro-button-set.js +88 -0
- data/app/assets/javascripts/active_administration/metro-calendar.js +437 -0
- data/app/assets/javascripts/active_administration/metro-carousel.js +304 -0
- data/app/assets/javascripts/active_administration/metro-core.js +39 -0
- data/app/assets/javascripts/active_administration/metro-countdown.js +200 -0
- data/app/assets/javascripts/active_administration/metro-date-format.js +137 -0
- data/app/assets/javascripts/active_administration/metro-datepicker.js +138 -0
- data/app/assets/javascripts/active_administration/metro-dialog.js +221 -0
- data/app/assets/javascripts/active_administration/metro-drag-tile.js +46 -0
- data/app/assets/javascripts/active_administration/metro-dropdown.js +112 -0
- data/app/assets/javascripts/active_administration/metro-fluentmenu.js +57 -0
- data/app/assets/javascripts/active_administration/metro-global.js +4 -0
- data/app/assets/javascripts/active_administration/metro-hint.js +104 -0
- data/app/assets/javascripts/active_administration/metro-initiator.js +271 -0
- data/app/assets/javascripts/active_administration/metro-input-control.js +318 -0
- data/app/assets/javascripts/active_administration/metro-listview.js +53 -0
- data/app/assets/javascripts/active_administration/metro-live-tile.js +162 -0
- data/app/assets/javascripts/active_administration/metro-loader.js +46 -0
- data/app/assets/javascripts/active_administration/metro-locale.js +132 -0
- data/app/assets/javascripts/active_administration/metro-notify.js +120 -0
- data/app/assets/javascripts/active_administration/metro-panel.js +41 -0
- data/app/assets/javascripts/active_administration/metro-plugin-template.js +21 -0
- data/app/assets/javascripts/active_administration/metro-progressbar.js +97 -0
- data/app/assets/javascripts/active_administration/metro-pull.js +38 -0
- data/app/assets/javascripts/active_administration/metro-rating.js +99 -0
- data/app/assets/javascripts/active_administration/metro-scroll.js +756 -0
- data/app/assets/javascripts/active_administration/metro-slider.js +304 -0
- data/app/assets/javascripts/active_administration/metro-stepper.js +105 -0
- data/app/assets/javascripts/active_administration/metro-streamer.js +214 -0
- data/app/assets/javascripts/active_administration/metro-tab-control.js +96 -0
- data/app/assets/javascripts/active_administration/metro-table.js +74 -0
- data/app/assets/javascripts/active_administration/metro-tile-transform.js +65 -0
- data/app/assets/javascripts/active_administration/metro-times.js +190 -0
- data/app/assets/javascripts/active_administration/metro-touch-handler.js +65 -0
- data/app/assets/javascripts/active_administration/metro-treeview.js +64 -0
- data/app/assets/javascripts/active_administration/metro-wizard.js +148 -0
- data/app/assets/stylesheets/active_administration/accordion.less +64 -0
- data/app/assets/stylesheets/active_administration/balloon.less +88 -0
- data/app/assets/stylesheets/active_administration/breadcrumbs.less +118 -0
- data/app/assets/stylesheets/active_administration/buttons.less +383 -0
- data/app/assets/stylesheets/active_administration/calendar.less +123 -0
- data/app/assets/stylesheets/active_administration/carousel.less +118 -0
- data/app/assets/stylesheets/active_administration/colors.less +589 -0
- data/app/assets/stylesheets/active_administration/countdown.less +57 -0
- data/app/assets/stylesheets/active_administration/dataTables.less +134 -0
- data/app/assets/stylesheets/active_administration/fluent-menu.less +231 -0
- data/app/assets/stylesheets/active_administration/forms.less +414 -0
- data/app/assets/stylesheets/active_administration/funcs.less +178 -0
- data/app/assets/stylesheets/active_administration/grid.less +91 -0
- data/app/assets/stylesheets/active_administration/hint.less +120 -0
- data/app/assets/stylesheets/active_administration/iconFont-content.less +1353 -0
- data/app/assets/stylesheets/active_administration/iconFont.less +47 -0
- data/app/assets/stylesheets/active_administration/icons.less +10 -0
- data/app/assets/stylesheets/active_administration/images.less +75 -0
- data/app/assets/stylesheets/active_administration/layout.less +137 -0
- data/app/assets/stylesheets/active_administration/lists.less +258 -0
- data/app/assets/stylesheets/active_administration/menus.less +469 -0
- data/app/assets/stylesheets/active_administration/metro-bootstrap-responsive.less +300 -0
- data/app/assets/stylesheets/active_administration/metro-bootstrap.less +68 -0
- data/app/assets/stylesheets/active_administration/misc.less +72 -0
- data/app/assets/stylesheets/active_administration/navigation-bar.less +317 -0
- data/app/assets/stylesheets/active_administration/notice.less +52 -0
- data/app/assets/stylesheets/active_administration/notify.less +43 -0
- data/app/assets/stylesheets/active_administration/pagination.less +83 -0
- data/app/assets/stylesheets/active_administration/panels.less +38 -0
- data/app/assets/stylesheets/active_administration/progress-bar.less +25 -0
- data/app/assets/stylesheets/active_administration/rating.less +103 -0
- data/app/assets/stylesheets/active_administration/reset.less +219 -0
- data/app/assets/stylesheets/active_administration/scroll.less +141 -0
- data/app/assets/stylesheets/active_administration/sidebar.less +158 -0
- data/app/assets/stylesheets/active_administration/slider.less +106 -0
- data/app/assets/stylesheets/active_administration/stepper.less +80 -0
- data/app/assets/stylesheets/active_administration/streamer.less +250 -0
- data/app/assets/stylesheets/active_administration/tab-control.less +79 -0
- data/app/assets/stylesheets/active_administration/tables.less +170 -0
- data/app/assets/stylesheets/active_administration/tiles.less +599 -0
- data/app/assets/stylesheets/active_administration/transform.less +23 -0
- data/app/assets/stylesheets/active_administration/treeview.less +96 -0
- data/app/assets/stylesheets/active_administration/typography.less +382 -0
- data/app/assets/stylesheets/active_administration/utils.less +180 -0
- data/app/assets/stylesheets/active_administration/variables.less +250 -0
- data/app/assets/stylesheets/active_administration/window.less +225 -0
- data/app/assets/stylesheets/active_administration/wizard.less +53 -0
- data/lib/active_admin/version.rb +1 -1
- metadata +103 -10
@@ -0,0 +1,250 @@
|
|
1
|
+
.streamer {
|
2
|
+
position: relative;
|
3
|
+
display: block;
|
4
|
+
width: 100%;
|
5
|
+
overflow: hidden;
|
6
|
+
}
|
7
|
+
|
8
|
+
.streamer {
|
9
|
+
.meter {
|
10
|
+
height: 25px;
|
11
|
+
width: auto;
|
12
|
+
list-style: none;
|
13
|
+
margin: 0;
|
14
|
+
padding: 0;
|
15
|
+
display: block;
|
16
|
+
overflow: hidden;
|
17
|
+
|
18
|
+
li {
|
19
|
+
display: block;
|
20
|
+
float: left;
|
21
|
+
width: 213px;
|
22
|
+
padding: 2px 3px;
|
23
|
+
background: url("/images/meter-210.png") top left repeat-x;
|
24
|
+
|
25
|
+
em {
|
26
|
+
font-size: 10px;
|
27
|
+
font-style: normal;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
.streams {
|
33
|
+
width: 142px;
|
34
|
+
padding-top: 25px;
|
35
|
+
position: absolute;
|
36
|
+
left: 0;
|
37
|
+
top: 0;
|
38
|
+
z-index: 2;
|
39
|
+
background-color: rgba(255,255,255, 1);
|
40
|
+
|
41
|
+
.streams-title {
|
42
|
+
position: absolute;
|
43
|
+
top: 0;
|
44
|
+
}
|
45
|
+
|
46
|
+
.stream {
|
47
|
+
position: relative;
|
48
|
+
display: block;
|
49
|
+
width: 100%;
|
50
|
+
height: 75px;
|
51
|
+
margin: 0 2px 2px 0;
|
52
|
+
padding: 5px;
|
53
|
+
color: @white;
|
54
|
+
cursor: pointer;
|
55
|
+
|
56
|
+
.stream-title {
|
57
|
+
#font > .segoe-light;
|
58
|
+
font-size: 12px;
|
59
|
+
line-height: 12px;
|
60
|
+
br {
|
61
|
+
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
.stream-number {
|
66
|
+
position: absolute;
|
67
|
+
left: 5px;
|
68
|
+
bottom: 5px;
|
69
|
+
#font > .segoe-light;
|
70
|
+
font-size: 11px;
|
71
|
+
line-height: 11px;
|
72
|
+
}
|
73
|
+
|
74
|
+
&:hover {
|
75
|
+
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
.events {
|
81
|
+
padding-left: 143px;
|
82
|
+
overflow: hidden;
|
83
|
+
height: 100%;
|
84
|
+
min-height: 100%;
|
85
|
+
overflow-x: scroll;
|
86
|
+
|
87
|
+
.double {
|
88
|
+
width: @eventWidth * 2 + @eventMargin;
|
89
|
+
}
|
90
|
+
|
91
|
+
.triple {
|
92
|
+
width: @eventWidth * 3 + @eventMargin * 2;
|
93
|
+
}
|
94
|
+
|
95
|
+
.quadro {
|
96
|
+
width: @eventWidth * 4 + @eventMargin * 3;
|
97
|
+
}
|
98
|
+
|
99
|
+
.events-area {
|
100
|
+
height: 100%;
|
101
|
+
min-height: 100%;
|
102
|
+
overflow: hidden;
|
103
|
+
.clearfix;
|
104
|
+
}
|
105
|
+
|
106
|
+
.events-grid {
|
107
|
+
height: 100%;
|
108
|
+
min-height: 100%;
|
109
|
+
.clearfix;
|
110
|
+
}
|
111
|
+
|
112
|
+
.event-group {
|
113
|
+
height: @eventHeight * 6 + @eventMargin * 5;
|
114
|
+
//min-height: 100%;
|
115
|
+
min-width: @eventWidth;
|
116
|
+
margin: 0 @eventMargin @eventMargin 0;
|
117
|
+
float: left;
|
118
|
+
}
|
119
|
+
|
120
|
+
.event-super {
|
121
|
+
height: 100%;
|
122
|
+
min-height: 100%;
|
123
|
+
.border;
|
124
|
+
}
|
125
|
+
|
126
|
+
.event-stream {
|
127
|
+
height: 75px;
|
128
|
+
|
129
|
+
.event {
|
130
|
+
min-width: @eventWidth;
|
131
|
+
height: @eventHeight;
|
132
|
+
float: left;
|
133
|
+
display: block;
|
134
|
+
margin: 0 @eventMargin @eventMargin 0;
|
135
|
+
cursor: pointer;
|
136
|
+
position: relative;
|
137
|
+
overflow: hidden;
|
138
|
+
.border;
|
139
|
+
|
140
|
+
&:last-child {
|
141
|
+
margin-right: 0;
|
142
|
+
}
|
143
|
+
|
144
|
+
&.event-disable {
|
145
|
+
opacity: .2;
|
146
|
+
}
|
147
|
+
|
148
|
+
.event-content {
|
149
|
+
width: 100%;
|
150
|
+
height: 100%;
|
151
|
+
padding: 0;
|
152
|
+
margin: 0;
|
153
|
+
position: absolute;
|
154
|
+
left: 0;
|
155
|
+
top: 0;
|
156
|
+
overflow: hidden;
|
157
|
+
display: none;
|
158
|
+
|
159
|
+
&:first-child {
|
160
|
+
display: block;
|
161
|
+
}
|
162
|
+
}
|
163
|
+
|
164
|
+
.event-content-logo {
|
165
|
+
display: block;
|
166
|
+
float: left;
|
167
|
+
margin-right: 5px;
|
168
|
+
padding: 3px;
|
169
|
+
|
170
|
+
.icon {
|
171
|
+
position: relative;
|
172
|
+
width: 39px;
|
173
|
+
height: 39px;
|
174
|
+
margin-bottom: 1px;
|
175
|
+
img {
|
176
|
+
width: 100%;
|
177
|
+
height: 100%;
|
178
|
+
}
|
179
|
+
}
|
180
|
+
|
181
|
+
.time {
|
182
|
+
position: relative;
|
183
|
+
width: 39px;
|
184
|
+
padding: 8px 4px;
|
185
|
+
#font > .segoe;
|
186
|
+
font-size: 12px;
|
187
|
+
color: @white;
|
188
|
+
line-height: 12px;
|
189
|
+
}
|
190
|
+
}
|
191
|
+
|
192
|
+
.event-content-data {
|
193
|
+
display: block;
|
194
|
+
padding: 0;
|
195
|
+
margin: 0;
|
196
|
+
position: relative;
|
197
|
+
margin-left: 50px;
|
198
|
+
|
199
|
+
.title {
|
200
|
+
position: relative;
|
201
|
+
#font > .segoe-bold;
|
202
|
+
font-size: 14px;
|
203
|
+
line-height: 14px;
|
204
|
+
margin: 3px 0 0;
|
205
|
+
padding: 0;
|
206
|
+
}
|
207
|
+
|
208
|
+
.subtitle {
|
209
|
+
position: relative;
|
210
|
+
#font > .segoe;
|
211
|
+
font-size: 10px;
|
212
|
+
line-height: 10px;
|
213
|
+
margin: 0;
|
214
|
+
padding: 0;
|
215
|
+
margin-bottom: 10px;
|
216
|
+
}
|
217
|
+
|
218
|
+
.remark {
|
219
|
+
position: absolute;
|
220
|
+
display: block;
|
221
|
+
top: 36px;
|
222
|
+
margin-right: 4px;
|
223
|
+
#font > .segoe;
|
224
|
+
font-size: 11px;
|
225
|
+
line-height: 11px;
|
226
|
+
//font-style: italic;
|
227
|
+
color: @grayLight;
|
228
|
+
}
|
229
|
+
}
|
230
|
+
|
231
|
+
&:hover {
|
232
|
+
border-color: @grayLight;
|
233
|
+
}
|
234
|
+
|
235
|
+
&.selected {
|
236
|
+
.event-content-logo {
|
237
|
+
.time {
|
238
|
+
//padding: 5px 4px;
|
239
|
+
}
|
240
|
+
}
|
241
|
+
#element > .selected;
|
242
|
+
border-width: 1px;
|
243
|
+
&:before {
|
244
|
+
right: 3px;
|
245
|
+
}
|
246
|
+
}
|
247
|
+
}
|
248
|
+
}
|
249
|
+
}
|
250
|
+
}
|
@@ -0,0 +1,79 @@
|
|
1
|
+
.tab-control {
|
2
|
+
.tabs {
|
3
|
+
.unstyled;
|
4
|
+
.clearfix;
|
5
|
+
.no-margin;
|
6
|
+
|
7
|
+
& > li {
|
8
|
+
background-color: @white;
|
9
|
+
display: block;
|
10
|
+
float: left;
|
11
|
+
margin-left: 5px;
|
12
|
+
position: relative;
|
13
|
+
|
14
|
+
& > a {
|
15
|
+
border: 1px @grayLighter solid;
|
16
|
+
display: block;
|
17
|
+
float: left;
|
18
|
+
padding: 5px 10px;
|
19
|
+
z-index: 10;
|
20
|
+
top: 0;
|
21
|
+
left: 0;
|
22
|
+
color: inherit;
|
23
|
+
background-color: @grayLighter;
|
24
|
+
}
|
25
|
+
|
26
|
+
&.active {
|
27
|
+
a {
|
28
|
+
border-bottom-color: @white ;
|
29
|
+
background-color: @white ;
|
30
|
+
border-top: 2px @red solid;
|
31
|
+
}
|
32
|
+
|
33
|
+
&:hover {
|
34
|
+
a {
|
35
|
+
background-color: @white ;
|
36
|
+
color: @dark;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
&:hover {
|
42
|
+
a {
|
43
|
+
background-color: darken(@grayLighter, 10%);
|
44
|
+
color: @white;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
&.place-right {
|
49
|
+
float: right;
|
50
|
+
margin-right: 5px;
|
51
|
+
margin-left: auto;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
&.no-spaces {
|
56
|
+
& > li {
|
57
|
+
margin-left: 0;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
z-index: 2;
|
61
|
+
}
|
62
|
+
|
63
|
+
.frames {
|
64
|
+
z-index: 1;
|
65
|
+
border: 1px @grayLighter solid;
|
66
|
+
margin-top: -1px;
|
67
|
+
|
68
|
+
.frame {
|
69
|
+
display: none;
|
70
|
+
|
71
|
+
&:first-child {
|
72
|
+
display: block;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
.frame {
|
77
|
+
padding: @unitSize;
|
78
|
+
}
|
79
|
+
}
|
@@ -0,0 +1,170 @@
|
|
1
|
+
table {
|
2
|
+
max-width: 100%;
|
3
|
+
background-color: @white;
|
4
|
+
border-collapse: collapse;
|
5
|
+
border-spacing: 0;
|
6
|
+
}
|
7
|
+
|
8
|
+
.table {
|
9
|
+
width: 100%;
|
10
|
+
margin-bottom: @baseLineHeight;
|
11
|
+
|
12
|
+
th, td {
|
13
|
+
padding: @tableCellPadding;
|
14
|
+
font-size: 14px;
|
15
|
+
line-height: @baseLineHeight;
|
16
|
+
vertical-align: top;
|
17
|
+
border-bottom: 1px @tableBorderColor solid;
|
18
|
+
|
19
|
+
&[class*="span"] {
|
20
|
+
display: table-cell !important;
|
21
|
+
float: none !important;
|
22
|
+
margin: 0;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
th {
|
27
|
+
//text-align: left;
|
28
|
+
}
|
29
|
+
|
30
|
+
thead {
|
31
|
+
tr:last-child {
|
32
|
+
}
|
33
|
+
|
34
|
+
th {
|
35
|
+
vertical-align: bottom;
|
36
|
+
}
|
37
|
+
|
38
|
+
th, td {
|
39
|
+
border-bottom: 1px solid #111111;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
tbody {
|
44
|
+
tr {
|
45
|
+
&:last-child {
|
46
|
+
td {
|
47
|
+
border-bottom: 0;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
tbody + tbody {
|
54
|
+
border-top: 2px solid @tableBorderColor;
|
55
|
+
}
|
56
|
+
|
57
|
+
tfoot {
|
58
|
+
th, td {
|
59
|
+
border-top: 1px solid #111111;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
.table {
|
64
|
+
background-color: darken(@white, 25%);
|
65
|
+
}
|
66
|
+
|
67
|
+
&.condensed {
|
68
|
+
th, td {
|
69
|
+
padding: 4px 5px;
|
70
|
+
.input-control {
|
71
|
+
margin: 0;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
&.super-condensed {
|
77
|
+
th, td {
|
78
|
+
padding: 2px;
|
79
|
+
.input-control {
|
80
|
+
margin: 0;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
&.striped {
|
86
|
+
tbody tr:nth-child(odd) {
|
87
|
+
background: @tableOddColor;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
&.bordered {
|
92
|
+
border: 1px @tableBorderColor solid;
|
93
|
+
border-left: 0;
|
94
|
+
td, th {
|
95
|
+
border-left: 1px @tableBorderColor solid;
|
96
|
+
border-bottom: 1px @tableBorderColor solid;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
&.no-border {
|
101
|
+
td, th {
|
102
|
+
border: 0;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
&.border {
|
107
|
+
border: 1px @tableBorderColor solid !important;
|
108
|
+
td, th {
|
109
|
+
//border-color: transparent;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
&.hovered {
|
114
|
+
//border-collapse: separate;
|
115
|
+
tbody {
|
116
|
+
tr {
|
117
|
+
&:hover {
|
118
|
+
background-color: rgba(28, 183, 236, 0.10);
|
119
|
+
td:first-child {
|
120
|
+
//border-left: 1px #1c98cc solid ;
|
121
|
+
}
|
122
|
+
td:last-child {
|
123
|
+
//border-right: 1px #1c98cc solid ;
|
124
|
+
}
|
125
|
+
td {
|
126
|
+
//border-top: 1px #1c98cc solid ;
|
127
|
+
//border-bottom: 1px #1c98cc solid;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
.table {
|
136
|
+
tr {
|
137
|
+
&.success {
|
138
|
+
.bg-green;
|
139
|
+
}
|
140
|
+
&.error {
|
141
|
+
.bg-red;
|
142
|
+
}
|
143
|
+
&.warning {
|
144
|
+
.bg-orange;
|
145
|
+
}
|
146
|
+
&.info {
|
147
|
+
.bg-lightBlue;
|
148
|
+
}
|
149
|
+
|
150
|
+
&.info, &.warning, &.error, &.success {
|
151
|
+
td, td * {
|
152
|
+
.fg-white;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
|
156
|
+
&.selected {
|
157
|
+
background-color: rgba(28, 183, 236, 0.10);
|
158
|
+
td:first-child {
|
159
|
+
//border-left: 1px #1c98cc solid;
|
160
|
+
}
|
161
|
+
td:last-child {
|
162
|
+
//border-right: 1px #1c98cc solid;
|
163
|
+
}
|
164
|
+
td {
|
165
|
+
//border-top: 1px #1c98cc solid;
|
166
|
+
//border-bottom: 1px #1c98cc solid;
|
167
|
+
}
|
168
|
+
}
|
169
|
+
}
|
170
|
+
}
|