face_of_active_admin 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +21 -0
  4. data/app/assets/images/face_of_active_admin/logo.jpg +0 -0
  5. data/app/assets/javascripts/face_of_active_admin/base.js.coffee +34 -0
  6. data/app/assets/stylesheets/face_of_active_admin/_base.scss +38 -0
  7. data/app/assets/stylesheets/face_of_active_admin/_forms.scss +551 -0
  8. data/app/assets/stylesheets/face_of_active_admin/_header.scss +283 -0
  9. data/app/assets/stylesheets/face_of_active_admin/_mixins.scss +1 -0
  10. data/app/assets/stylesheets/face_of_active_admin/_typography.scss +250 -0
  11. data/app/assets/stylesheets/face_of_active_admin/components/_batch_actions.scss +13 -0
  12. data/app/assets/stylesheets/face_of_active_admin/components/_blank_slates.scss +32 -0
  13. data/app/assets/stylesheets/face_of_active_admin/components/_breadcrumbs.scss +27 -0
  14. data/app/assets/stylesheets/face_of_active_admin/components/_buttons.scss +16 -0
  15. data/app/assets/stylesheets/face_of_active_admin/components/_ckeditor.scss +6 -0
  16. data/app/assets/stylesheets/face_of_active_admin/components/_columns.scss +3 -0
  17. data/app/assets/stylesheets/face_of_active_admin/components/_comments.scss +52 -0
  18. data/app/assets/stylesheets/face_of_active_admin/components/_date_picker.scss +315 -0
  19. data/app/assets/stylesheets/face_of_active_admin/components/_dropdown_menu.scss +161 -0
  20. data/app/assets/stylesheets/face_of_active_admin/components/_flash_messages.scss +44 -0
  21. data/app/assets/stylesheets/face_of_active_admin/components/_grid.scss +57 -0
  22. data/app/assets/stylesheets/face_of_active_admin/components/_index_list.scss +12 -0
  23. data/app/assets/stylesheets/face_of_active_admin/components/_init.scss +16 -0
  24. data/app/assets/stylesheets/face_of_active_admin/components/_links.scss +8 -0
  25. data/app/assets/stylesheets/face_of_active_admin/components/_modal_dialog.scss +67 -0
  26. data/app/assets/stylesheets/face_of_active_admin/components/_nav.scss +64 -0
  27. data/app/assets/stylesheets/face_of_active_admin/components/_pagination.scss +70 -0
  28. data/app/assets/stylesheets/face_of_active_admin/components/_panels.scss +89 -0
  29. data/app/assets/stylesheets/face_of_active_admin/components/_popovers.scss +124 -0
  30. data/app/assets/stylesheets/face_of_active_admin/components/_scopes.scss +10 -0
  31. data/app/assets/stylesheets/face_of_active_admin/components/_status_tags.scss +28 -0
  32. data/app/assets/stylesheets/face_of_active_admin/components/_table_tools.scss +70 -0
  33. data/app/assets/stylesheets/face_of_active_admin/components/_tables.scss +305 -0
  34. data/app/assets/stylesheets/face_of_active_admin/mixins/_all.scss +11 -0
  35. data/app/assets/stylesheets/face_of_active_admin/mixins/_buttons.scss +71 -0
  36. data/app/assets/stylesheets/face_of_active_admin/mixins/_gradients.scss +52 -0
  37. data/app/assets/stylesheets/face_of_active_admin/mixins/_icons.scss +31 -0
  38. data/app/assets/stylesheets/face_of_active_admin/mixins/_reset.scss +214 -0
  39. data/app/assets/stylesheets/face_of_active_admin/mixins/_rounded.scss +42 -0
  40. data/app/assets/stylesheets/face_of_active_admin/mixins/_sections.scss +38 -0
  41. data/app/assets/stylesheets/face_of_active_admin/mixins/_select.scss +22 -0
  42. data/app/assets/stylesheets/face_of_active_admin/mixins/_shadows.scss +21 -0
  43. data/app/assets/stylesheets/face_of_active_admin/mixins/_utilities.scss +17 -0
  44. data/app/assets/stylesheets/face_of_active_admin/mixins/_variables.scss +69 -0
  45. data/app/assets/stylesheets/face_of_active_admin/pages/_logged_out.scss +96 -0
  46. data/app/assets/stylesheets/face_of_active_admin/print.scss +283 -0
  47. data/app/assets/stylesheets/face_of_active_admin/structure/_footer.scss +28 -0
  48. data/app/assets/stylesheets/face_of_active_admin/structure/_main_structure.scss +86 -0
  49. data/app/assets/stylesheets/face_of_active_admin/structure/_title_bar.scss +69 -0
  50. data/config/routes.rb +2 -0
  51. data/lib/face_of_active_admin/version.rb +3 -0
  52. data/lib/face_of_active_admin.rb +10 -0
  53. data/lib/generators/face_of_active_admin/variables/USAGE +8 -0
  54. data/lib/generators/face_of_active_admin/variables/variables_generator.rb +12 -0
  55. metadata +126 -0
@@ -0,0 +1,42 @@
1
+ @mixin rounded($radius: 3px) {
2
+ -webkit-border-radius: $radius;
3
+ -moz-border-radius: $radius;
4
+ border-radius: $radius;
5
+ }
6
+
7
+ @mixin rounded-all($top-left: 3px, $top-right: 3px, $bottom-right: 3px, $bottom-left: 3px) {
8
+ border-top-right-radius: $top-right;
9
+ -moz-border-radius-topright: $top-right;
10
+ -webkit-border-top-right-radius: $top-right;
11
+ border-top-left-radius: $top-left;
12
+ -moz-border-radius-topleft: $top-left;
13
+ -webkit-border-top-left-radius: $top-left;
14
+ border-bottom-right-radius: $bottom-right;
15
+ -moz-border-radius-bottomright: $bottom-right;
16
+ -webkit-border-bottom-right-radius: $bottom-right;
17
+ border-bottom-left-radius: $bottom-left;
18
+ -moz-border-radius-bottomleft: $bottom-left;
19
+ -webkit-border-bottom-left-radius: $bottom-left;
20
+ }
21
+
22
+ @mixin rounded-top($radius: 3px) {
23
+ @include rounded(0);
24
+
25
+ border-top-right-radius: $radius;
26
+ border-top-left-radius: $radius;
27
+ -moz-border-radius-topright: $radius;
28
+ -moz-border-radius-topleft: $radius;
29
+ -webkit-border-top-right-radius: $radius;
30
+ -webkit-border-top-left-radius: $radius;
31
+ }
32
+
33
+ @mixin rounded-bottom($radius: 3px) {
34
+ @include rounded(0);
35
+
36
+ border-bottom-right-radius: $radius;
37
+ border-bottom-left-radius: $radius;
38
+ -moz-border-radius-bottomright: $radius;
39
+ -moz-border-radius-bottomleft: $radius;
40
+ -webkit-border-bottom-right-radius: $radius;
41
+ -webkit-border-bottom-left-radius: $radius;
42
+ }
@@ -0,0 +1,38 @@
1
+ @mixin section-header {
2
+ border-left: solid 1px #cdcdcd;
3
+ background: $title-bar-background;
4
+ font-size: 1.0em;
5
+ font-weight: bold;
6
+ line-height: 18px;
7
+ margin-bottom: 0.5em;
8
+ color: $section-header-text-color;
9
+
10
+ @include icon($section-header-text-color, 1em);
11
+
12
+ padding: 5px 10px 3px 10px;
13
+ }
14
+
15
+ @mixin section-background {
16
+ background: #fafafa;
17
+
18
+ @include rounded(4px);
19
+ }
20
+
21
+ @mixin section {
22
+ @include section-background;
23
+
24
+ margin-bottom: 20px;
25
+
26
+ > h3 {
27
+ @include section-header;
28
+ }
29
+
30
+ > div {
31
+ padding: 3px $section-padding $section-padding $section-padding;
32
+ }
33
+
34
+ hr {
35
+ border: none;
36
+ border-bottom: 1px solid #E8E8E8;
37
+ }
38
+ }
@@ -0,0 +1,22 @@
1
+ @mixin select_arrow {
2
+ background-image: none;
3
+ apperance: none;
4
+ -moz-appearance: none;
5
+ -webkit-appearance: none;
6
+
7
+ // arrow type 1
8
+ // background: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%), linear-gradient(45deg, transparent 50%, lighten($skinActiveColor, 20%) 50%), linear-gradient(135deg, lighten($skinActiveColor, 20%) 50%, transparent 50%), linear-gradient(to right, $main-background-color, $main-background-color);
9
+ // background-position: calc(100% - 14px) calc(1em - 3px), calc(100% - 7px) calc(1em - 3px), calc(100% - 14px) calc(1em - 3px), calc(100% - 4px) calc(1em - 3px), 100% 0;
10
+ // background-size: 7px 7px, 7px 7px, 10px 10px, 10px 10px, 9999px 9999px;
11
+
12
+ //arrow type 2
13
+ // background: linear-gradient(135deg, transparent 50%, $main-background-color 50%), linear-gradient(135deg, transparent 50%, lighten($skinActiveColor, 20%) 50%), linear-gradient(225deg, transparent 50%, $main-background-color 50%), linear-gradient(225deg, transparent 50%, lighten($skinActiveColor, 20%) 50%), linear-gradient(to right, $main-background-color, $main-background-color);
14
+ // background-position: calc(100% - 9px) calc(1em - 2px), calc(100% - 10px) calc(1em - 5px), calc(100% - 22px) calc(1em - 2px), calc(100% - 19px) calc(1em - 5px), 100% 0;
15
+ // background-size: 10px 10px,12px 12px,10px 10px,12px 12px, 9999px 9999px;
16
+ background: linear-gradient(to right, lighten($skinActiveColor, 20%), lighten($skinActiveColor, 20%)), linear-gradient(to right, lighten($skinActiveColor, 20%), lighten($skinActiveColor, 20%)), linear-gradient(to right, lighten($skinActiveColor, 20%), lighten($skinActiveColor, 20%)), linear-gradient(to right, $main-background-color, $main-background-color);
17
+ background-position: calc(100% - 10px) calc(.5em), calc(100% - 10px) calc(1em), calc(100% - 10px) calc(1.5em), 100% 0;
18
+ background-size: 20px 4px,20px 4px,20px 4px,9999px 9999px;
19
+
20
+ // background-image: url('data:image/svg+xml;charset=utf8,<svg xmlns="SVG namespace" version="1.1" width="270px" height="240px"><polygon points="5 235 135 10 265 235" fill="%23f00"/></svg>');
21
+ background-repeat: no-repeat;
22
+ }
@@ -0,0 +1,21 @@
1
+ @mixin shadow($x: 0, $y: 1px, $blur: 2px, $color: rgba(0, 0, 0, 0.37)) {
2
+ box-shadow: $x $y $blur $color;
3
+ -moz-box-shadow: $x $y $blur $color;
4
+ -webkit-box-shadow: $x $y $blur $color;
5
+ }
6
+
7
+ @mixin no-shadow {
8
+ box-shadow: none;
9
+ -moz-box-shadow: none;
10
+ -webkit-box-shadow: none;
11
+ }
12
+
13
+ @mixin inset-shadow($x: 0, $y: 1px, $blur: 2px, $color: #aaa) {
14
+ box-shadow: inset $x $y $blur $color;
15
+ -moz-box-shadow: inset $x $y $blur $color;
16
+ -webkit-box-shadow: inset $x $y $blur $color;
17
+ }
18
+
19
+ @mixin text-shadow($color: #fff, $x: 0, $y: 1px, $blur: 0) {
20
+ text-shadow: $color $x $y $blur;
21
+ }
@@ -0,0 +1,17 @@
1
+ @mixin clearfix {
2
+ &:after {
3
+ visibility: hidden;
4
+ display: block;
5
+ content: "";
6
+ clear: both;
7
+ height: 0;
8
+ }
9
+ }
10
+
11
+ @mixin border-colors($top, $sides, $bottom) {
12
+ border-color: $sides;
13
+ border-top-color: $top;
14
+ border-right-color: $sides;
15
+ border-bottom-color: $bottom;
16
+ border-left-color: $sides;
17
+ }
@@ -0,0 +1,69 @@
1
+ // Variables used throughout Active Admin.
2
+ // They can be overridden by your own
3
+
4
+ // Height priority settings
5
+ $skinTextColor: #1e2a33 !default;
6
+ $skinTextActiveColor: #fff !default;
7
+ $skinTextTable: #7f8c8d !default;
8
+ $skinActiveColor: #DC3D24 !default;
9
+ $skinHeaderBck: #232B2B !default;
10
+ $skinHeaderTextColor: #FFFFFF !default;
11
+ $skinFontFamily: "Source Sans Pro", Helvetica, Arial, sans-serif !default;
12
+ $panelHeaderBck: darken($skinHeaderBck, 10%) !default;
13
+ $panelHeaderTextColor: #FFFFFF !default;
14
+ $skinLogo: url("face_of_active_admin/logo.jpg") no-repeat 0 0 !default;
15
+ $skinLogoWidth: auto !default;
16
+
17
+ // Low priority settings
18
+ // Colors
19
+ $body-background-color: #ecf0f1 !default;
20
+ $main-background-color: #FFF !default;
21
+ $title-bar-background: #efefef !default;
22
+ $primary-color: #5E6469 !default;
23
+ $secondary-color: #f0f0f0 !default;
24
+ $current-menu-item-background: lighten($primary-color, 12%) !default;
25
+ $hover-menu-item-background: lighten($primary-color, 12%) !default;
26
+ $table-stripe-color: $secondary-color !default;
27
+ $table-selected-color: lighten($skinActiveColor, 35%) !default;
28
+ $error-color: #932419 !default;
29
+ $blank-slate-primary-color: #7f8c8d !default;
30
+ $breadcrumbs-color: #8a949e !default;
31
+ $breadcrumbs-separator-color: #aab2ba !default;
32
+ $required-field-marker-color: #aaa !default;
33
+ $page-header-background-color: #ecf0f1 !default;
34
+ $table-header-color: lighten($skinHeaderBck, 70%) !default;
35
+
36
+ // Text
37
+ $default-font: "Helvetica Neue" !default;
38
+ $text-color: #323537 !default;
39
+ $link-color: #38678b !default;
40
+ $header-dropdown-menu-text-color: #cdcdcd !default;
41
+ $section-header-text-color: $primary-color !default;
42
+ $page-header-text-color: #cdcdcd !default;
43
+ $form-label-color: $section-header-text-color !default;
44
+
45
+ // Buttons
46
+ $action-button-default-background: #fbfbfb !default;
47
+ $action-button-hover-background: #FFF !default;
48
+ $action-button-active-background: #fafafa !default;
49
+ $action-button-default-text: $primary-color !default;
50
+ $action-button-hover-text: $primary-color !default;
51
+ $action-button-active-text: $primary-color !default;
52
+ $link_transition_dutarion: 0.3s !default;
53
+
54
+ // Sizes
55
+ $title-bar-font-weight: bold !default;
56
+ $border-width: 1px !default;
57
+ $horizontal-page-padding: 30px !default;
58
+ $horizontal-page-header-padding: 15px !default;
59
+ $logo-width: 100px !default;
60
+ $sidebar-width: 270px !default;
61
+ $cell-padding: 5px 10px 3px 10px !default;
62
+ $cell-horizontal-padding: 12px !default;
63
+ $section-padding: 15px !default;
64
+ $text-input-horizontal-padding: 10px !default;
65
+ $text-input-total-padding: $text-input-horizontal-padding * 2 + $border-width * 2;
66
+
67
+ $blank-slate-border: 1px dashed #DADADA !default;
68
+
69
+ @import url(//fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700&subset=latin,latin-ext);
@@ -0,0 +1,96 @@
1
+ body.logged_out {
2
+ background: #e8e9ea;
3
+ height: 100%;
4
+
5
+ #footer {
6
+ display: none;
7
+ }
8
+
9
+ #content_wrapper {
10
+ width: 500px;
11
+ margin: 150px auto;
12
+
13
+ #active_admin_content {
14
+ @include shadow;
15
+
16
+ background: #fff;
17
+ padding: 13px 30px;
18
+ padding-bottom: 0;
19
+ }
20
+ }
21
+
22
+ h2 {
23
+ @include section-header;
24
+
25
+ @include primary-gradient;
26
+
27
+ @include text-shadow(#000);
28
+
29
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
30
+ border: none;
31
+ color: #fff;
32
+ margin: -13px -30px 20px -30px;
33
+ }
34
+
35
+ #login {
36
+ /* Login Form */
37
+ form {
38
+ fieldset {
39
+ border: none;
40
+
41
+ @include no-shadow;
42
+
43
+ background: none;
44
+ padding: 0;
45
+
46
+ li {
47
+ padding: 10px 0;
48
+ }
49
+
50
+ input[type=text], input[type=email], input[type=password] {
51
+ width: 70%;
52
+ }
53
+
54
+ &.buttons {
55
+ margin-left: 20%;
56
+ }
57
+
58
+ margin-bottom: 0;
59
+ }
60
+ }
61
+
62
+ > h2 {
63
+ background: $panelHeaderBck;
64
+ font-family: $skinFontFamily;
65
+ color: #fff;
66
+
67
+ @include no-shadow;
68
+
69
+ @include rounded(0);
70
+
71
+ padding: 8px 15px;
72
+ }
73
+
74
+ fieldset.actions {
75
+ background: #f1f5f6;
76
+ margin: 0 -30px -17px;
77
+ padding: 6px 30px;
78
+ }
79
+
80
+ a {
81
+ float: right;
82
+ margin-top: -25px;
83
+ }
84
+ }
85
+
86
+ .flash {
87
+ background: #F2ECBF;
88
+ position: absolute;
89
+ top: 0;
90
+ left: 0;
91
+ right: 0;
92
+ padding: 15px;
93
+ border-bottom: 1px solid #DEDE8B;
94
+ text-shadow: none;
95
+ }
96
+ }
@@ -0,0 +1,283 @@
1
+ /* Active Admin Print Stylesheet */
2
+
3
+ // Set colors used elsewhere
4
+ $primary-color: black;
5
+ $text-color: black;
6
+
7
+ // Reset
8
+ @import "flattened_active_admin/mixins/reset";
9
+
10
+ @include global-reset;
11
+
12
+ // Partials
13
+ @import "flattened_active_admin/typography";
14
+
15
+ body {
16
+ font-family: $default-font, Helvetica, Arial, sans-serif;
17
+ line-height: 150%;
18
+ font-size: 72%;
19
+ background: #fff;
20
+ width: 99%;
21
+ margin: 0;
22
+ padding: .5%;
23
+ color: $text-color;
24
+ }
25
+
26
+ a {
27
+ color: $text-color;
28
+ text-decoration: none;
29
+ }
30
+
31
+ h3 {
32
+ font-weight: bold;
33
+ margin-bottom: .5em;
34
+ }
35
+
36
+ // Header
37
+ #header {
38
+ float: left;
39
+
40
+ #tabs, .tabs, #utility_nav {
41
+ display: none;
42
+ }
43
+
44
+ h1 {
45
+ font-weight: bold;
46
+ }
47
+ }
48
+
49
+ .flashes {
50
+ display: none;
51
+ }
52
+
53
+ #title_bar {
54
+ float: right;
55
+
56
+ h2 {
57
+ line-height: 2em;
58
+ margin: 0;
59
+ }
60
+
61
+ .breadcrumb, #titlebar_right {
62
+ display: none;
63
+ }
64
+ }
65
+
66
+ // Content
67
+ #active_admin_content {
68
+ border-top: thick solid black;
69
+ clear: both;
70
+ margin-top: 2em;
71
+ padding-top: 3em;
72
+ }
73
+
74
+ // Footer
75
+ #footer {
76
+ display: none;
77
+ }
78
+
79
+ // Tables
80
+ .table_tools {
81
+ ul {
82
+ padding: 0;
83
+ margin: 0;
84
+ list-style-type: none;
85
+
86
+ li {
87
+ display: none;
88
+ padding: 0;
89
+ margin-bottom: 1em;
90
+
91
+ &.scope.selected, &.index.selected {
92
+ display: block;
93
+
94
+ &:before {
95
+ content: "Showing ";
96
+ }
97
+
98
+ a {
99
+ font-weight: bold;
100
+ }
101
+
102
+ span {
103
+ display: inline-block;
104
+ font-weight: normal;
105
+ font-size: .9em;
106
+ }
107
+ }
108
+ }
109
+ }
110
+ }
111
+
112
+ table {
113
+ margin-bottom: 1.5em;
114
+ text-align: left;
115
+ width: 100%;
116
+
117
+ thead {
118
+ display: table-header-group;
119
+
120
+ th {
121
+ background: none;
122
+ border-bottom: medium solid black;
123
+ font-weight: bold;
124
+
125
+ a {
126
+ text-decoration: none;
127
+ }
128
+ }
129
+ }
130
+
131
+ th, td {
132
+ padding: .5em 1em;
133
+
134
+ .member_link {
135
+ display: none;
136
+ }
137
+ }
138
+
139
+ td {
140
+ border-bottom: thin solid black;
141
+ }
142
+
143
+ tr {
144
+ page-break-inside: avoid;
145
+ }
146
+ }
147
+
148
+ // Index
149
+ #index_footer, .pagination_information {
150
+ display: none;
151
+ }
152
+
153
+ .index_grid {
154
+ td {
155
+ border: none;
156
+ text-align: center;
157
+ vertical-align: middle;
158
+
159
+ img {
160
+ max-width: 1in;
161
+ }
162
+ }
163
+ }
164
+
165
+ // Show
166
+ .panel {
167
+ border-bottom: thick solid #ccc;
168
+ margin-bottom: 3em;
169
+ padding-bottom: 2em;
170
+ page-break-inside: avoid;
171
+
172
+ &:last-child {
173
+ border-bottom: none;
174
+ }
175
+ }
176
+
177
+ .comments {
178
+ form {
179
+ display: none;
180
+ }
181
+
182
+ .active_admin_comment {
183
+ border-top: thin solid black;
184
+ padding-top: 1em;
185
+
186
+ .active_admin_comment_meta {
187
+ h4 {
188
+ font-size: 1em;
189
+ font-weight: bold;
190
+ float: left;
191
+ margin-right: .5em;
192
+ margin-bottom: 0;
193
+ }
194
+
195
+ span {
196
+ font-size: .9em;
197
+ font-style: italic;
198
+ vertical-align: top;
199
+ }
200
+ }
201
+
202
+ .active_admin_comment_body {
203
+ clear: both;
204
+ margin-bottom: 1em;
205
+ }
206
+ }
207
+ }
208
+
209
+ // Attribute Tables
210
+ .attributes_table {
211
+ border-top: medium solid black;
212
+
213
+ th {
214
+ border-bottom: thin solid black;
215
+ vertical-align: top;
216
+
217
+ &:after {
218
+ content: ':';
219
+ }
220
+ }
221
+
222
+ td {
223
+ img {
224
+ max-height: 4in;
225
+ max-width: 6in;
226
+ }
227
+ }
228
+ }
229
+
230
+ // Sidebars
231
+ #filters_sidebar_section {
232
+ display: none;
233
+ }
234
+
235
+ // Forms
236
+ form {
237
+ fieldset {
238
+ border-top: thick solid #ccc;
239
+ padding-top: 2em;
240
+ margin-bottom: 2em;
241
+
242
+ &:last-child {
243
+ border-bottom: none;
244
+ }
245
+ }
246
+
247
+ .buttons, abbr {
248
+ display: none;
249
+ }
250
+
251
+ ol {
252
+ list-style-type: none;
253
+ padding: 0;
254
+ margin: 0;
255
+
256
+ li {
257
+ border-top: thin solid black;
258
+ margin: 0;
259
+ padding: 1em 0;
260
+ overflow: hidden;
261
+
262
+ &.password, &.hidden {
263
+ display: none;
264
+ }
265
+
266
+ label {
267
+ font-weight: bold;
268
+ float: left;
269
+ width: 20%;
270
+ }
271
+
272
+ input, textarea, select {
273
+ background: none;
274
+ border: 0;
275
+ font: Arial, Helvetica, sans-serif;
276
+ }
277
+
278
+ input[type=file] {
279
+ display: none;
280
+ }
281
+ }
282
+ }
283
+ }
@@ -0,0 +1,28 @@
1
+ #footer {
2
+ position: fixed;
3
+ bottom: 0;
4
+ left: 0;
5
+ right: 0;
6
+ background: #fff;
7
+ padding: 15px 30px;
8
+ font-size: 0.8em;
9
+ color: $skinTextTable;
10
+ border-top: 1px solid #d3d8dc;
11
+ clear: both;
12
+
13
+ p {
14
+ margin: 0;
15
+ padding: 0;
16
+ }
17
+ }
18
+
19
+ // -------------------------------------- Index Footer (Under Table)
20
+ #index_footer {
21
+ padding-top: 5px;
22
+ text-align: right;
23
+ font-size: 0.85em;
24
+ }
25
+
26
+ .index_content {
27
+ clear: both;
28
+ }
@@ -0,0 +1,86 @@
1
+ #wrapper {
2
+ width: 100%;
3
+ }
4
+
5
+ .index #wrapper {
6
+ display: table;
7
+ }
8
+
9
+ #active_admin_content {
10
+ @include clearfix;
11
+
12
+ margin: 0;
13
+ padding: $horizontal-page-padding;
14
+
15
+ #main_content_wrapper {
16
+ float: left;
17
+ width: 100%;
18
+
19
+ #main_content {
20
+ margin-right: 300px;
21
+
22
+ table {
23
+ th {
24
+ background: $table-header-color;
25
+ }
26
+ }
27
+ }
28
+ }
29
+
30
+ &.without_sidebar #main_content_wrapper #main_content {
31
+ margin-right: 0;
32
+ }
33
+
34
+ #sidebar {
35
+ float: left;
36
+ width: $sidebar-width;
37
+ margin-left: -$sidebar-width;
38
+ }
39
+
40
+ .table_tools {
41
+ height: 30px;
42
+ }
43
+
44
+ a.table_tools_button, .table_tools .dropdown_menu_button {
45
+ @include rounded(0);
46
+
47
+ @include no-shadow;
48
+
49
+ transition: $link_transition_dutarion;
50
+ color: $skinTextColor;
51
+ background: #fff;
52
+ padding: 7px 15px;
53
+ font-weight: normal;
54
+ text-shadow: none;
55
+ }
56
+
57
+ .table_tools_segmented_control li {
58
+ a {
59
+ @include rounded(0);
60
+
61
+ @include no-shadow;
62
+
63
+ color: $skinTextColor;
64
+ background: #fff;
65
+ padding: 7px 15px;
66
+ font-weight: normal;
67
+ text-shadow: none;
68
+ border-color: #d3d8dc;
69
+
70
+ span.count {
71
+ color: $skinActiveColor;
72
+ }
73
+ }
74
+
75
+ &.selected {
76
+ a {
77
+ color: #fff;
78
+ background-color: $skinActiveColor;
79
+
80
+ span.count {
81
+ color: #fff;
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }