activeadmin_blaze_theme 0.5.16 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +28 -24
- data/app/assets/stylesheets/activeadmin_blaze_theme/_base.scss +197 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_contents.scss +42 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_footer.scss +15 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_form.scss +381 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_header.scss +140 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_navigation.scss +69 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_sidebars.scss +64 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_tables.scss +96 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_variables.scss +46 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.addresses.scss +11 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.alerts.scss +78 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.avatars.scss +38 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.back-to-top.scss +17 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.badges.scss +71 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.breadcrumbs.scss +24 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.buttons.scss +91 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.calendars.scss +80 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.cards.scss +195 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.divider.scss +39 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.file-upload.scss +24 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.github-buttons.scss +131 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.headings.scss +12 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.hints.scss +21 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.input-groups.scss +164 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.inputs.scss +128 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.links.scss +72 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.lists.scss +64 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.navs.scss +83 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.overlays.scss +23 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.pagination.scss +31 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.progress.scss +83 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.ranges.scss +176 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.tables.scss +86 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.tabs.scss +68 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.tags.scss +39 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.timelines.scss +113 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.toggles.scss +89 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{components.tooltips.scss → _components.tooltips.scss} +28 -30
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.trees.scss +48 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_generics.global.scss +17 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.containers.scss +37 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.drawers.scss +91 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.forms.scss +25 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{objects.grid.responsive.scss → _objects.grid.responsive.scss} +14 -14
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{objects.grid.scss → _objects.grid.scss} +2 -2
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{objects.images.scss → _objects.images.scss} +1 -1
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{objects.media.scss → _objects.media.scss} +3 -3
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.modals.scss +70 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{objects.panels.scss → _objects.panels.scss} +1 -11
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{utilities.alignment.scss → _utilities.alignment.scss} +13 -1
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.boxing.scss +111 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.elevation.scss +17 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.radius.scss +11 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.sizes.scss +23 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.typography.scss +160 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.visibility.scss +54 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_variables.scss +93 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/blaze.scss +49 -41
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.buttons.scss +82 -43
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.inputs.scss +2 -40
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_objects.grid.scss +35 -6
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_tools.mediaqueries.scss +13 -34
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.alignment.scss +12 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.states.scss +7 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.visibility.scss +7 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/theme.scss +10 -988
- data/lib/activeadmin_blaze_theme/version.rb +1 -1
- metadata +61 -57
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/blaze.colors.scss +0 -30
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.addresses.scss +0 -12
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.alerts.scss +0 -59
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.avatars.scss +0 -36
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.badges.scss +0 -60
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.breadcrumbs.scss +0 -20
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.bubbles.scss +0 -49
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.buttons.scss +0 -77
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.calendars.scss +0 -69
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.cards.scss +0 -213
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.headings.scss +0 -14
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.hints.scss +0 -27
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.input-groups.scss +0 -163
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.inputs.scss +0 -144
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.links.scss +0 -31
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.lists.scss +0 -60
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.navs.scss +0 -126
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.overlays.scss +0 -26
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.pagination.scss +0 -42
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.progress.scss +0 -51
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.ranges.scss +0 -114
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.tables.scss +0 -88
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.tabs.scss +0 -72
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.tags.scss +0 -42
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.toggles.scss +0 -74
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.trees.scss +0 -47
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.typography.scss +0 -94
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/generics.global.scss +0 -13
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.alerts.scss +0 -6
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.badges.scss +0 -8
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.links.scss +0 -22
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.lists.scss +0 -10
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.navs.scss +0 -29
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.ranges.scss +0 -89
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.tabs.scss +0 -5
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.toggles.scss +0 -6
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.typography.scss +0 -25
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_objects.containers.scss +0 -10
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_settings.global.scss +0 -864
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.boxing.scss +0 -125
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.containers.scss +0 -31
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.drawers.scss +0 -88
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.forms.scss +0 -25
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.modals.scss +0 -58
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/themes/blaze.example.scss +0 -7
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.boxing.scss +0 -101
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.elevation.scss +0 -19
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.sizes.scss +0 -25
@@ -0,0 +1,140 @@
|
|
1
|
+
body.active_admin {
|
2
|
+
#header {
|
3
|
+
background-color: $bg-header;
|
4
|
+
background-image: none;
|
5
|
+
border-bottom: 0 none;
|
6
|
+
padding: 0;
|
7
|
+
position: relative;
|
8
|
+
.header-item {
|
9
|
+
top: 0;
|
10
|
+
}
|
11
|
+
.site_title {
|
12
|
+
color: $fg-menu-items;
|
13
|
+
padding-top: 0;
|
14
|
+
padding-bottom: 0;
|
15
|
+
img {
|
16
|
+
max-height: $height-topbar;
|
17
|
+
max-width: 250px;
|
18
|
+
// top: -1px;
|
19
|
+
vertical-align: middle;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
ul.tabs {
|
23
|
+
>li {
|
24
|
+
margin-left: 1px;
|
25
|
+
padding: 0;
|
26
|
+
}
|
27
|
+
li {
|
28
|
+
height: $height-topbar;
|
29
|
+
line-height: $height-topbar;
|
30
|
+
}
|
31
|
+
li > a {
|
32
|
+
color: $fg-menu-items;
|
33
|
+
height: $height-topbar;
|
34
|
+
line-height: $height-topbar;
|
35
|
+
padding-left: 20px;
|
36
|
+
padding-right: 20px;
|
37
|
+
}
|
38
|
+
li:hover, li.current {
|
39
|
+
background: $bg-menu-active;
|
40
|
+
}
|
41
|
+
> li.has_nested {
|
42
|
+
> a {
|
43
|
+
background-color: transparent;
|
44
|
+
border-bottom: 0;
|
45
|
+
}
|
46
|
+
> ul {
|
47
|
+
background: lighten( $bg-header, 5% );
|
48
|
+
border-radius: 0;
|
49
|
+
padding: 0;
|
50
|
+
margin: 0;
|
51
|
+
a {
|
52
|
+
line-height: 2em;
|
53
|
+
}
|
54
|
+
li:hover {
|
55
|
+
background: $bg-menu-active;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
#tabs, #utility_nav {
|
63
|
+
@extend .c-nav;
|
64
|
+
// @extend .c-nav--inline;
|
65
|
+
background-color: $bg-header;
|
66
|
+
> li {
|
67
|
+
@extend .c-nav__item;
|
68
|
+
float: left;
|
69
|
+
margin: 0;
|
70
|
+
&.current {
|
71
|
+
@extend .c-nav__item--active;
|
72
|
+
> a {
|
73
|
+
background: transparent;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
> a {
|
77
|
+
display: block;
|
78
|
+
padding: 0;
|
79
|
+
}
|
80
|
+
> a:hover {
|
81
|
+
background: transparent;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
> li:hover > a {
|
85
|
+
background: transparent;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
#utility_nav {
|
90
|
+
position: absolute;
|
91
|
+
right: 0;
|
92
|
+
width: auto;
|
93
|
+
}
|
94
|
+
|
95
|
+
// title bar
|
96
|
+
#title_bar {
|
97
|
+
background-image: none;
|
98
|
+
box-shadow: none;
|
99
|
+
padding-top: 0;
|
100
|
+
padding-bottom: 0;
|
101
|
+
.breadcrumb {
|
102
|
+
float: left;
|
103
|
+
font-size: 1em;
|
104
|
+
line-height: initial;
|
105
|
+
margin: 0;
|
106
|
+
padding: 0;
|
107
|
+
> a, > a:link, > a:visited, > a:active {
|
108
|
+
opacity: 0.7;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
.action_items span.action_item {
|
112
|
+
> a,
|
113
|
+
> .dropdown_menu > a {
|
114
|
+
@extend .button-base;
|
115
|
+
@extend .c-button--info;
|
116
|
+
|
117
|
+
color: #f4f4f4;
|
118
|
+
}
|
119
|
+
> a:hover,
|
120
|
+
> .dropdown_menu > a:hover {
|
121
|
+
background-color: #aaa;
|
122
|
+
background-image: none;
|
123
|
+
}
|
124
|
+
a[data-method='delete'] {
|
125
|
+
@extend .c-button--error;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
#page_title {
|
129
|
+
display: block;
|
130
|
+
float: left;
|
131
|
+
font-size: 1em;
|
132
|
+
// font-size: 2em;
|
133
|
+
line-height: initial;
|
134
|
+
margin-left: 5px;
|
135
|
+
}
|
136
|
+
#titlebar_left, #titlebar_right {
|
137
|
+
height: $height-titlebar;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
body.active_admin {
|
2
|
+
nav.pagination {
|
3
|
+
@extend .c-pagination;
|
4
|
+
|
5
|
+
float: none;
|
6
|
+
justify-content: center;
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
|
10
|
+
span > a {
|
11
|
+
background: transparent;
|
12
|
+
background-image: none;
|
13
|
+
border: 0 none;
|
14
|
+
box-shadow: none;
|
15
|
+
color: initial;
|
16
|
+
cursor: pointer;
|
17
|
+
padding: 6px 10px;
|
18
|
+
margin: 0 auto;
|
19
|
+
text-shadow: none;
|
20
|
+
}
|
21
|
+
|
22
|
+
a:hover, span:hover > a {
|
23
|
+
background: transparent;
|
24
|
+
background-image: none;
|
25
|
+
color: #888;
|
26
|
+
text-shadow: none;
|
27
|
+
}
|
28
|
+
|
29
|
+
.first, .prev, .next, .last {
|
30
|
+
display: inline-block;
|
31
|
+
margin-right: 2px;
|
32
|
+
padding: 0;
|
33
|
+
}
|
34
|
+
|
35
|
+
.prev {
|
36
|
+
margin-right: 16px;
|
37
|
+
}
|
38
|
+
|
39
|
+
.next {
|
40
|
+
margin-left: 14px;
|
41
|
+
}
|
42
|
+
|
43
|
+
.page {
|
44
|
+
display: inline-block;
|
45
|
+
margin-right: 2px;
|
46
|
+
padding: 0;
|
47
|
+
&.current {
|
48
|
+
background-color: transparent;
|
49
|
+
background-image: none;
|
50
|
+
border-radius: 20px;
|
51
|
+
color: #000;
|
52
|
+
padding: 6px 10px;
|
53
|
+
text-shadow: none;
|
54
|
+
}
|
55
|
+
&.current:hover {
|
56
|
+
background-color: transparent;
|
57
|
+
background-image: none;
|
58
|
+
}
|
59
|
+
&.gap {
|
60
|
+
border: 0 none;
|
61
|
+
}
|
62
|
+
&.gap:hover {
|
63
|
+
background-color: transparent;
|
64
|
+
color: initial;
|
65
|
+
cursor: default;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
body.active_admin {
|
2
|
+
#sidebar {
|
3
|
+
background: $bg-sidebar;
|
4
|
+
min-height: calc(100vh - #{$height-topbar + $height-titlebar + 2 + 40});
|
5
|
+
padding: 0 15px;
|
6
|
+
.sidebar_section {
|
7
|
+
margin-bottom: 20px;
|
8
|
+
}
|
9
|
+
.filter_form .selectize-control > .selectize-input {
|
10
|
+
width: 100%;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
#active_admin_content > #sidebar, #active_admin_content > #main_content_wrapper {
|
14
|
+
float: none;
|
15
|
+
}
|
16
|
+
.panel_contents {
|
17
|
+
@extend .c-card__item;
|
18
|
+
padding: 8px 10px 10px 10px;
|
19
|
+
}
|
20
|
+
.sidebar_section {
|
21
|
+
@extend .c-card;
|
22
|
+
@extend .u-high;
|
23
|
+
.filter_form_field {
|
24
|
+
input[type='datetime-local'],
|
25
|
+
input[type='email'],
|
26
|
+
input[type='number'],
|
27
|
+
input[type='password'],
|
28
|
+
input[type='search'],
|
29
|
+
input[type='tel'],
|
30
|
+
input[type='text'],
|
31
|
+
input[type='time'],
|
32
|
+
input[type='url'],
|
33
|
+
textarea {
|
34
|
+
background-color: $bg-inputs;
|
35
|
+
background-image: none;
|
36
|
+
}
|
37
|
+
select {
|
38
|
+
background-color: $bg-inputs;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
> h3 {
|
42
|
+
@extend .c-card__item;
|
43
|
+
@extend .c-card__item--brand;
|
44
|
+
background-image: none;
|
45
|
+
border: 0 none !important;
|
46
|
+
color: $fg-box-title;
|
47
|
+
margin-bottom: 2px;
|
48
|
+
margin-top: 0;
|
49
|
+
padding: 8px 11px;
|
50
|
+
text-shadow: $text-shadow 0 1px 0;
|
51
|
+
}
|
52
|
+
h4 {
|
53
|
+
margin: 0;
|
54
|
+
}
|
55
|
+
input[type='submit'] {
|
56
|
+
@extend .c-button--info;
|
57
|
+
|
58
|
+
color: #f4f4f4;
|
59
|
+
}
|
60
|
+
ul {
|
61
|
+
margin: 0 0 8px 0;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
@@ -0,0 +1,96 @@
|
|
1
|
+
body.active_admin {
|
2
|
+
.blaze-table {
|
3
|
+
@extend .c-table;
|
4
|
+
// @extend .c-table--striped;
|
5
|
+
// @extend .c-table--condensed;
|
6
|
+
>thead {
|
7
|
+
@extend .c-table__head;
|
8
|
+
>tr {
|
9
|
+
@extend .c-table__row;
|
10
|
+
@extend .c-table__row--heading;
|
11
|
+
>th {
|
12
|
+
@extend .c-table__cell;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
>tbody {
|
17
|
+
@extend .c-table__body;
|
18
|
+
>tr {
|
19
|
+
@extend .c-table__row;
|
20
|
+
>td {
|
21
|
+
@extend .c-table__cell;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
&.table-bordered {
|
26
|
+
border: 1px solid #ddd;
|
27
|
+
&.table-rows {
|
28
|
+
border-bottom: 0 none;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
&.table-rows >tbody >tr {
|
32
|
+
border-bottom: 1px solid #ddd;
|
33
|
+
}
|
34
|
+
&.table-striped >tbody >tr.even {
|
35
|
+
background: #f4f4f4;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
.table_tools {
|
40
|
+
a {
|
41
|
+
@extend .button-base;
|
42
|
+
cursor: pointer;
|
43
|
+
margin-right: 10px;
|
44
|
+
span {
|
45
|
+
color: $fg-table-link;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
a:hover,
|
49
|
+
a.table_tools_button:hover,
|
50
|
+
.dropdown_menu_button:hover {
|
51
|
+
background-color: #aaa;
|
52
|
+
background-image: none;
|
53
|
+
}
|
54
|
+
.dropdown_menu_list a {
|
55
|
+
width: 100%;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
.index_table {
|
60
|
+
th {
|
61
|
+
background-image: none;
|
62
|
+
background-color: #eee;
|
63
|
+
border: 0 none;
|
64
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 0 1px #fff inset;
|
65
|
+
}
|
66
|
+
tbody > tr > td:first-child {
|
67
|
+
border-left: 1px solid $fg-table-borders;
|
68
|
+
}
|
69
|
+
tbody > tr > td {
|
70
|
+
border-right: 1px solid $fg-table-borders;
|
71
|
+
}
|
72
|
+
.col.col-selectable > div {
|
73
|
+
text-align: center;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
.index_as_table {
|
77
|
+
overflow-x: scroll;
|
78
|
+
}
|
79
|
+
.panel_contents table tr:last-child {
|
80
|
+
> td, > th {
|
81
|
+
border-bottom: 0 none;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
.col-actions {
|
85
|
+
padding: 1px 2px 0 6px;
|
86
|
+
vertical-align: middle;
|
87
|
+
a.c-button {
|
88
|
+
// color: #222;
|
89
|
+
margin-right: 1px;
|
90
|
+
margin-left: 1px;
|
91
|
+
}
|
92
|
+
// .table_actions {
|
93
|
+
// text-align: center;
|
94
|
+
// }
|
95
|
+
}
|
96
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
// default colors
|
2
|
+
$color-black: #111 !default;
|
3
|
+
$color-grey: #B0BEC5 !default;
|
4
|
+
$color-white: #FFF !default;
|
5
|
+
$color-beige: #F2F2EA !default;
|
6
|
+
$color-red: #F44336 !default;
|
7
|
+
$color-pink: #E91E63 !default;
|
8
|
+
$color-purple: #9C27B0 !default;
|
9
|
+
$color-blue: #2196F3 !default;
|
10
|
+
$color-green: #4CAF50 !default;
|
11
|
+
$color-cyan: #00BCD4 !default;
|
12
|
+
$color-yellow: #FFEB3B !default;
|
13
|
+
$color-orange: #FF9800 !default;
|
14
|
+
$color-brown: #795548 !default;
|
15
|
+
|
16
|
+
$color-brand: #2C3E50 !default;
|
17
|
+
$color-info: $color-blue !default;
|
18
|
+
$color-warning: $color-orange !default;
|
19
|
+
$color-success: $color-green !default;
|
20
|
+
$color-error: $color-red !default;
|
21
|
+
|
22
|
+
// main variables
|
23
|
+
$bg-footer: #dfdfdf !default; // bg footer bar
|
24
|
+
$bg-form1: #f4f4f4 !default; // bg 1st level forms
|
25
|
+
$bg-form2: darken($bg-form1, 3%) !default; // bg 2nd level forms (nested)
|
26
|
+
$bg-form3: darken($bg-form1, 6%) !default; // bg 3rd level forms (nested)
|
27
|
+
$bg-form4: darken($bg-form1, 9%) !default; // bg 4th level forms (nested)
|
28
|
+
$bg-form-sub-headings: lighten( $color-brand, 64% ) !default; // bg nested forms title
|
29
|
+
$bg-header: $color-brand !default; // bg header bar
|
30
|
+
$bg-inputs: #fff !default; // bg forms inputs
|
31
|
+
$bg-menu-active: #7b929e !default; // bg menu item current / hover
|
32
|
+
$bg-sidebar: #efefef; // bg sidebar
|
33
|
+
$fg-box-title: #fff !default;
|
34
|
+
$fg-button-link: #fff !default;
|
35
|
+
$fg-menu-items: #f8f8f8 !default;
|
36
|
+
$fg-table-borders: #e4e4e4 !default;
|
37
|
+
$fg-table-link: #eee !default;
|
38
|
+
|
39
|
+
// other variables
|
40
|
+
$color-validation-error: #932419 !default;
|
41
|
+
$form-padding: 10px !default;
|
42
|
+
$inputs-spacing: 10px !default;
|
43
|
+
$height-inputs: 26px !default;
|
44
|
+
$height-topbar: 40px !default;
|
45
|
+
$height-titlebar: 38px !default;
|
46
|
+
$text-shadow: #000 !default;
|
@@ -0,0 +1,78 @@
|
|
1
|
+
.c-alerts[role='presentation'] {
|
2
|
+
--alerts-background-color: var(--color-transparent);
|
3
|
+
|
4
|
+
z-index: var(--z-over-page);
|
5
|
+
display: block;
|
6
|
+
max-height: 100%;
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
overflow-y: auto;
|
10
|
+
list-style: none;
|
11
|
+
background-color: var(--alerts-background-color);
|
12
|
+
-webkit-overflow-scrolling: touch;
|
13
|
+
}
|
14
|
+
|
15
|
+
.c-alerts--topleft,
|
16
|
+
.c-alerts--topright,
|
17
|
+
.c-alerts--bottomleft,
|
18
|
+
.c-alerts--bottomright {
|
19
|
+
position: fixed;
|
20
|
+
width: 250px;
|
21
|
+
}
|
22
|
+
|
23
|
+
.c-alerts--topleft {
|
24
|
+
top: var(--spacing-medium);
|
25
|
+
left: var(--spacing-medium);
|
26
|
+
}
|
27
|
+
|
28
|
+
.c-alerts--topright {
|
29
|
+
top: var(--spacing-medium);
|
30
|
+
right: var(--spacing-medium);
|
31
|
+
}
|
32
|
+
|
33
|
+
.c-alerts--bottomleft {
|
34
|
+
bottom: 0;
|
35
|
+
left: var(--spacing-medium);
|
36
|
+
}
|
37
|
+
|
38
|
+
.c-alerts--bottomright {
|
39
|
+
right: var(--spacing-medium);
|
40
|
+
bottom: 0;
|
41
|
+
}
|
42
|
+
|
43
|
+
.c-alert[role='alert'] {
|
44
|
+
--alert-color: white;
|
45
|
+
--alert-background-color: var(--color-default);
|
46
|
+
|
47
|
+
position: relative;
|
48
|
+
margin: var(--spacing-medium);
|
49
|
+
padding: var(--spacing-medium) var(--spacing-super) var(--spacing-medium) var(--spacing-medium);
|
50
|
+
color: var(--alert-color);
|
51
|
+
background-color: var(--alert-background-color);
|
52
|
+
border-radius: var(--border-radius);
|
53
|
+
|
54
|
+
.c-link {
|
55
|
+
color: var(--alert-color) !important;
|
56
|
+
}
|
57
|
+
|
58
|
+
&.c-alert--brand {
|
59
|
+
--alert-background-color: var(--color-brand);
|
60
|
+
}
|
61
|
+
|
62
|
+
&.c-alert--info {
|
63
|
+
--alert-background-color: var(--color-info);
|
64
|
+
}
|
65
|
+
|
66
|
+
&.c-alert--warning {
|
67
|
+
--alert-color: black;
|
68
|
+
--alert-background-color: var(--color-warning);
|
69
|
+
}
|
70
|
+
|
71
|
+
&.c-alert--success {
|
72
|
+
--alert-background-color: var(--color-success);
|
73
|
+
}
|
74
|
+
|
75
|
+
&.c-alert--error {
|
76
|
+
--alert-background-color: var(--color-error);
|
77
|
+
}
|
78
|
+
}
|