face_of_active_admin 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +21 -0
- data/app/assets/images/face_of_active_admin/logo.jpg +0 -0
- data/app/assets/javascripts/face_of_active_admin/base.js.coffee +34 -0
- data/app/assets/stylesheets/face_of_active_admin/_base.scss +38 -0
- data/app/assets/stylesheets/face_of_active_admin/_forms.scss +551 -0
- data/app/assets/stylesheets/face_of_active_admin/_header.scss +283 -0
- data/app/assets/stylesheets/face_of_active_admin/_mixins.scss +1 -0
- data/app/assets/stylesheets/face_of_active_admin/_typography.scss +250 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_batch_actions.scss +13 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_blank_slates.scss +32 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_breadcrumbs.scss +27 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_buttons.scss +16 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_ckeditor.scss +6 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_columns.scss +3 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_comments.scss +52 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_date_picker.scss +315 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_dropdown_menu.scss +161 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_flash_messages.scss +44 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_grid.scss +57 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_index_list.scss +12 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_init.scss +16 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_links.scss +8 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_modal_dialog.scss +67 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_nav.scss +64 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_pagination.scss +70 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_panels.scss +89 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_popovers.scss +124 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_scopes.scss +10 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_status_tags.scss +28 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_table_tools.scss +70 -0
- data/app/assets/stylesheets/face_of_active_admin/components/_tables.scss +305 -0
- data/app/assets/stylesheets/face_of_active_admin/mixins/_all.scss +11 -0
- data/app/assets/stylesheets/face_of_active_admin/mixins/_buttons.scss +71 -0
- data/app/assets/stylesheets/face_of_active_admin/mixins/_gradients.scss +52 -0
- data/app/assets/stylesheets/face_of_active_admin/mixins/_icons.scss +31 -0
- data/app/assets/stylesheets/face_of_active_admin/mixins/_reset.scss +214 -0
- data/app/assets/stylesheets/face_of_active_admin/mixins/_rounded.scss +42 -0
- data/app/assets/stylesheets/face_of_active_admin/mixins/_sections.scss +38 -0
- data/app/assets/stylesheets/face_of_active_admin/mixins/_select.scss +22 -0
- data/app/assets/stylesheets/face_of_active_admin/mixins/_shadows.scss +21 -0
- data/app/assets/stylesheets/face_of_active_admin/mixins/_utilities.scss +17 -0
- data/app/assets/stylesheets/face_of_active_admin/mixins/_variables.scss +69 -0
- data/app/assets/stylesheets/face_of_active_admin/pages/_logged_out.scss +96 -0
- data/app/assets/stylesheets/face_of_active_admin/print.scss +283 -0
- data/app/assets/stylesheets/face_of_active_admin/structure/_footer.scss +28 -0
- data/app/assets/stylesheets/face_of_active_admin/structure/_main_structure.scss +86 -0
- data/app/assets/stylesheets/face_of_active_admin/structure/_title_bar.scss +69 -0
- data/config/routes.rb +2 -0
- data/lib/face_of_active_admin/version.rb +3 -0
- data/lib/face_of_active_admin.rb +10 -0
- data/lib/generators/face_of_active_admin/variables/USAGE +8 -0
- data/lib/generators/face_of_active_admin/variables/variables_generator.rb +12 -0
- metadata +126 -0
@@ -0,0 +1,64 @@
|
|
1
|
+
.ui-tabs-nav {
|
2
|
+
width: 100%;
|
3
|
+
margin-bottom: 0;
|
4
|
+
padding-left: 0;
|
5
|
+
|
6
|
+
// Override default ul/ol
|
7
|
+
list-style: none;
|
8
|
+
|
9
|
+
@include clearfix;
|
10
|
+
|
11
|
+
> li {
|
12
|
+
float: left;
|
13
|
+
position: relative;
|
14
|
+
|
15
|
+
// Make the list-items overlay the bottom border
|
16
|
+
margin-bottom: -1px;
|
17
|
+
display: inline-block;
|
18
|
+
min-width: 1%;
|
19
|
+
|
20
|
+
// Actual tabs (as links)
|
21
|
+
> a {
|
22
|
+
position: relative;
|
23
|
+
display: block;
|
24
|
+
padding: 10px 15px;
|
25
|
+
margin-right: 2px;
|
26
|
+
line-height: 1.5;
|
27
|
+
border: 1px solid transparent;
|
28
|
+
border-radius: 4px 4px 0 0;
|
29
|
+
text-align: center;
|
30
|
+
margin-bottom: 5px;
|
31
|
+
transition: $link_transition_dutarion;
|
32
|
+
|
33
|
+
&:hover,
|
34
|
+
&:focus {
|
35
|
+
text-decoration: none;
|
36
|
+
background-color: darken($skinActiveColor, 10%);
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
a {
|
41
|
+
&:active {
|
42
|
+
background: $skinActiveColor;
|
43
|
+
}
|
44
|
+
|
45
|
+
&:hover {
|
46
|
+
background: lighten($skinActiveColor, 20%);
|
47
|
+
}
|
48
|
+
|
49
|
+
&:focus {
|
50
|
+
background: darken($skinActiveColor, 10%);
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
&.ui-tabs-active > a {
|
55
|
+
background: $skinActiveColor;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
border-bottom: 0;
|
60
|
+
|
61
|
+
> li > a > img {
|
62
|
+
max-width: none;
|
63
|
+
}
|
64
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
.paginated_collection_contents {
|
2
|
+
clear: both;
|
3
|
+
}
|
4
|
+
|
5
|
+
.pagination {
|
6
|
+
float: right;
|
7
|
+
font-size: 0.9em;
|
8
|
+
margin-left: 10px;
|
9
|
+
margin-top: -2px;
|
10
|
+
padding: 5px 7px;
|
11
|
+
|
12
|
+
a, span.page.current {
|
13
|
+
transition: $link_transition_dutarion;
|
14
|
+
font-family: $skinFontFamily;
|
15
|
+
|
16
|
+
// border: 1px solid #d3d8dc;
|
17
|
+
background: $main-background-color;
|
18
|
+
|
19
|
+
@include no-shadow;
|
20
|
+
|
21
|
+
text-shadow: none;
|
22
|
+
font-size: 1.1em;
|
23
|
+
font-weight: normal;
|
24
|
+
padding: 5px 7px;
|
25
|
+
margin-right: 1px;
|
26
|
+
}
|
27
|
+
|
28
|
+
span.page.current, span.page.current:hover {
|
29
|
+
background: $skinActiveColor;
|
30
|
+
color: #fff;
|
31
|
+
}
|
32
|
+
|
33
|
+
span.page.current {
|
34
|
+
font-weight: 600;
|
35
|
+
|
36
|
+
&:not(.disabled):not(.current):hover > a {
|
37
|
+
background: lighten($skinActiveColor, 20%);
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
a:not(.disabled):hover {
|
42
|
+
background: lighten($skinActiveColor, 20%);
|
43
|
+
}
|
44
|
+
|
45
|
+
.page.gap {
|
46
|
+
display: none;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
.pagination_information {
|
51
|
+
float: right;
|
52
|
+
margin-bottom: 5px;
|
53
|
+
font-size: 12px;
|
54
|
+
color: $skinTextTable;
|
55
|
+
|
56
|
+
b {
|
57
|
+
color: #5c6469;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
.download_links {
|
62
|
+
float: left;
|
63
|
+
color: $skinTextTable;
|
64
|
+
font-size: 12px;
|
65
|
+
|
66
|
+
a {
|
67
|
+
color: $skinActiveColor;
|
68
|
+
font-weight: bold;
|
69
|
+
}
|
70
|
+
}
|
@@ -0,0 +1,89 @@
|
|
1
|
+
// ----------------------------------- Helper class to apply to elements to make them sections
|
2
|
+
.section, .panel {
|
3
|
+
@include section;
|
4
|
+
}
|
5
|
+
|
6
|
+
// ----------------------------------- Sidebar Sections
|
7
|
+
|
8
|
+
.sidebar_section {
|
9
|
+
@include section;
|
10
|
+
|
11
|
+
form fieldset.inputs {
|
12
|
+
background-color: $main-background-color;
|
13
|
+
border: 1px solid $secondary-color;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
.sidebar_section.panel {
|
18
|
+
background: #fff;
|
19
|
+
border: 1px solid #d3d8dc;
|
20
|
+
|
21
|
+
@include no-shadow;
|
22
|
+
|
23
|
+
@include rounded(0);
|
24
|
+
|
25
|
+
form .buttons {
|
26
|
+
background: #f1f5f6;
|
27
|
+
margin: 25px -15px -15px;
|
28
|
+
padding: 10px 15px;
|
29
|
+
}
|
30
|
+
|
31
|
+
form fieldset {
|
32
|
+
margin-bottom: 0;
|
33
|
+
}
|
34
|
+
|
35
|
+
& > h3 {
|
36
|
+
background: $panelHeaderBck;
|
37
|
+
color: $panelHeaderTextColor;
|
38
|
+
border: none;
|
39
|
+
margin: 0;
|
40
|
+
padding: 8px 15px;
|
41
|
+
|
42
|
+
@include no-shadow;
|
43
|
+
|
44
|
+
@include rounded(0);
|
45
|
+
|
46
|
+
text-shadow: none;
|
47
|
+
font-weight: bold;
|
48
|
+
}
|
49
|
+
|
50
|
+
.filter_form_field {
|
51
|
+
label {
|
52
|
+
color: #95a5a6;
|
53
|
+
font-weight: normal;
|
54
|
+
font-size: 13px;
|
55
|
+
text-transform: uppercase;
|
56
|
+
font-family: $skinFontFamily;
|
57
|
+
padding: 7px 0;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
.panel {
|
63
|
+
// background: #fff;
|
64
|
+
border: 1px solid #d3d8dc;
|
65
|
+
position: relative;
|
66
|
+
|
67
|
+
@include no-shadow;
|
68
|
+
|
69
|
+
@include rounded(0);
|
70
|
+
|
71
|
+
> h3 {
|
72
|
+
background: #f0f4f5;
|
73
|
+
color: $panelHeaderBck;
|
74
|
+
padding: 8px 15px;
|
75
|
+
|
76
|
+
@include no-shadow;
|
77
|
+
|
78
|
+
@include rounded(0);
|
79
|
+
|
80
|
+
text-shadow: none;
|
81
|
+
font-weight: bold;
|
82
|
+
border-style: none none solid;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
// Hide unworking panel
|
87
|
+
#status-poiska-_sidebar_section {
|
88
|
+
display: none;
|
89
|
+
}
|
@@ -0,0 +1,124 @@
|
|
1
|
+
.popover {
|
2
|
+
display: inline-block;
|
3
|
+
position: absolute;
|
4
|
+
background-color: white;
|
5
|
+
padding: 2px;
|
6
|
+
box-shadow: rgba(0, 0, 0, 0.4) 0 1px 3px, lighten($primary-color, 15%) 0px 1px 0px 0px inset;
|
7
|
+
background-color: $primary-color;
|
8
|
+
|
9
|
+
@include gradient(lighten($primary-color, 4%), darken($primary-color, 5%));
|
10
|
+
|
11
|
+
border: solid 1px darken($primary-color, 10%);
|
12
|
+
border-top-color: darken($primary-color, 4%);
|
13
|
+
border-bottom-color: darken($primary-color, 17%);
|
14
|
+
border-radius: 4px;
|
15
|
+
|
16
|
+
.popover_nipple {
|
17
|
+
// The nipple's border
|
18
|
+
content: "";
|
19
|
+
position: absolute;
|
20
|
+
top: -6px;
|
21
|
+
display: block;
|
22
|
+
width: 0;
|
23
|
+
height: 0;
|
24
|
+
border-width: 0 6px 6px;
|
25
|
+
border-style: solid;
|
26
|
+
border-color: darken($primary-color, 4%) transparent;
|
27
|
+
z-index: 100;
|
28
|
+
|
29
|
+
// The nipple's inner shadow
|
30
|
+
|
31
|
+
&:before {
|
32
|
+
content: ' ';
|
33
|
+
position: absolute;
|
34
|
+
width: 0;
|
35
|
+
height: 0;
|
36
|
+
border-width: 0 5px 5px;
|
37
|
+
border-style: solid;
|
38
|
+
border-color: lighten($primary-color, 15%) transparent;
|
39
|
+
left: -5px;
|
40
|
+
top: 1px;
|
41
|
+
}
|
42
|
+
|
43
|
+
// The nipple's background color
|
44
|
+
|
45
|
+
&:after {
|
46
|
+
content: ' ';
|
47
|
+
position: absolute;
|
48
|
+
width: 0;
|
49
|
+
height: 0;
|
50
|
+
border-width: 0 5px 5px;
|
51
|
+
border-style: solid;
|
52
|
+
border-color: lighten($primary-color, 4%) transparent;
|
53
|
+
left: -5px;
|
54
|
+
top: 2px;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
.popover_contents {
|
59
|
+
display: block;
|
60
|
+
background-color: #FFF;
|
61
|
+
border: solid 1px darken($primary-color, 10%);
|
62
|
+
box-shadow: lighten($primary-color, 5%) 0px 1px 0px 0px;
|
63
|
+
border-radius: 3px;
|
64
|
+
margin: 0;
|
65
|
+
overflow: hidden;
|
66
|
+
padding: 8px;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
//-------------------------------------- Popover with action list
|
71
|
+
|
72
|
+
.popover {
|
73
|
+
ul.popover_contents {
|
74
|
+
list-style-type: none;
|
75
|
+
padding: 0;
|
76
|
+
|
77
|
+
li {
|
78
|
+
display: block;
|
79
|
+
border-bottom: solid 1px #ebebeb;
|
80
|
+
box-sizing: border-box;
|
81
|
+
|
82
|
+
a {
|
83
|
+
display: block;
|
84
|
+
box-sizing: padding-box;
|
85
|
+
font-size: 0.95em;
|
86
|
+
font-weight: bold;
|
87
|
+
padding: 7px 16px 5px;
|
88
|
+
text-decoration: none;
|
89
|
+
text-align: center;
|
90
|
+
-webkit-font-smoothing: antialiased;
|
91
|
+
|
92
|
+
&:hover {
|
93
|
+
@include highlight-gradient;
|
94
|
+
|
95
|
+
@include text-shadow(#5a83aa);
|
96
|
+
|
97
|
+
color: #FFF;
|
98
|
+
}
|
99
|
+
|
100
|
+
&:active {
|
101
|
+
@include reverse-highlight-gradient;
|
102
|
+
|
103
|
+
color: #FFF;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
&:first-child {
|
108
|
+
a {
|
109
|
+
border-top-left-radius: 2px;
|
110
|
+
border-top-right-radius: 2px;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
&:last-child {
|
115
|
+
a {
|
116
|
+
border-bottom-left-radius: 2px;
|
117
|
+
border-bottom-right-radius: 2px;
|
118
|
+
}
|
119
|
+
|
120
|
+
border: none;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
.status_tag {
|
2
|
+
background: darken($secondary-color, 15%);
|
3
|
+
color: #fff;
|
4
|
+
text-transform: uppercase;
|
5
|
+
letter-spacing: 0.15em;
|
6
|
+
padding: 3px 5px 2px 5px;
|
7
|
+
font-size: 0.8em;
|
8
|
+
|
9
|
+
&.ok, &.published, &.complete, &.completed, &.green {
|
10
|
+
background: #8daa92;
|
11
|
+
}
|
12
|
+
|
13
|
+
&.warn, &.warning, &.orange {
|
14
|
+
background: #e29b20;
|
15
|
+
}
|
16
|
+
|
17
|
+
&.error, &.errored, &.red {
|
18
|
+
background: #d45f53;
|
19
|
+
}
|
20
|
+
|
21
|
+
&.yes {
|
22
|
+
background: #6090DB;
|
23
|
+
}
|
24
|
+
|
25
|
+
&.no {
|
26
|
+
background: grey;
|
27
|
+
}
|
28
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
.table_tools {
|
2
|
+
@include clearfix;
|
3
|
+
|
4
|
+
margin-bottom: 16px;
|
5
|
+
}
|
6
|
+
|
7
|
+
.table_tools .dropdown_menu {
|
8
|
+
float: left;
|
9
|
+
}
|
10
|
+
|
11
|
+
a.table_tools_button, .table_tools .dropdown_menu_button {
|
12
|
+
@include light-button;
|
13
|
+
|
14
|
+
@include border-colors(#d9d9d9, #d0d0d0, #c5c5c5);
|
15
|
+
|
16
|
+
font-size: 0.9em;
|
17
|
+
padding: 4px 14px 4px;
|
18
|
+
margin: 0;
|
19
|
+
|
20
|
+
&:not(.disabled) {
|
21
|
+
&:hover {
|
22
|
+
background: #FFF;
|
23
|
+
}
|
24
|
+
|
25
|
+
&:active {
|
26
|
+
@include border-colors(#d7d7d7, #c8c8c8, #c3c3c3);
|
27
|
+
|
28
|
+
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.17) inset;
|
29
|
+
|
30
|
+
// @include gradient(#FFFFFF, #E8E8E8);
|
31
|
+
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
.table_tools_segmented_control {
|
37
|
+
list-style-type: none;
|
38
|
+
padding: 0;
|
39
|
+
margin: 0;
|
40
|
+
|
41
|
+
li {
|
42
|
+
float: left;
|
43
|
+
|
44
|
+
a {
|
45
|
+
border-width: 1px .5px 1px .5px;
|
46
|
+
border-radius: 0;
|
47
|
+
}
|
48
|
+
|
49
|
+
&:first-child a {
|
50
|
+
border-left-width: 1px;
|
51
|
+
border-radius: 12px 0 0 12px;
|
52
|
+
}
|
53
|
+
|
54
|
+
&:last-child a {
|
55
|
+
border-right-width: 1px;
|
56
|
+
border-radius: 0 12px 12px 0;
|
57
|
+
}
|
58
|
+
|
59
|
+
&.selected a {
|
60
|
+
@include gradient(#F0F0F0, #FDFDFD);
|
61
|
+
|
62
|
+
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1) inset;
|
63
|
+
cursor: default;
|
64
|
+
|
65
|
+
&:hover {
|
66
|
+
@include gradient(#F0F0F0, #FDFDFD);
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|