caboose-cms 0.9.229 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/app/assets/javascripts/caboose/admin.js +1 -1
- data/app/assets/javascripts/caboose/admin/application.js +20 -0
- data/app/assets/javascripts/caboose/admin_main.js +13 -3
- data/app/assets/javascripts/caboose/admin_media_index.js +158 -161
- data/app/assets/javascripts/caboose/application.js +7 -8
- data/app/assets/javascripts/caboose/block_content_controller_dragdrop.js +4 -60
- data/app/assets/javascripts/caboose/block_modal_controllers/block_dd_modal_controller.js +2 -3
- data/app/assets/javascripts/caboose/block_modal_controllers/media_modal_controller.js +6 -17
- data/app/assets/javascripts/caboose/model/all.js +1 -5
- data/app/assets/stylesheets/caboose/admin/_config.scss +102 -0
- data/app/assets/stylesheets/caboose/admin/application.css +11 -0
- data/app/assets/stylesheets/caboose/admin/component.css +183 -0
- data/app/assets/stylesheets/caboose/admin/froala.min.css +91 -0
- data/app/assets/stylesheets/caboose/admin/ie.scss +67 -0
- data/app/assets/stylesheets/caboose/admin/integrations/main.scss +6 -0
- data/app/assets/stylesheets/caboose/admin/integrations/shopify.scss +128 -0
- data/app/assets/stylesheets/caboose/admin/jquery-ui-subnav-theme.min.css +5 -0
- data/app/assets/stylesheets/caboose/admin/layout.scss +150 -0
- data/app/assets/stylesheets/caboose/admin/main.scss +34 -0
- data/app/assets/stylesheets/caboose/admin/modules/body.scss +176 -0
- data/app/assets/stylesheets/caboose/admin/modules/buttons.scss +120 -0
- data/app/assets/stylesheets/caboose/admin/modules/countdown.css +21 -0
- data/app/assets/stylesheets/caboose/admin/modules/crumbtrail.scss +80 -0
- data/app/assets/stylesheets/caboose/admin/modules/data_table.scss +92 -0
- data/app/assets/stylesheets/caboose/admin/modules/footer.scss +62 -0
- data/app/assets/stylesheets/caboose/admin/modules/forms.scss +72 -0
- data/app/assets/stylesheets/caboose/admin/modules/functions.scss +31 -0
- data/app/assets/stylesheets/caboose/admin/modules/grid.scss +108 -0
- data/app/assets/stylesheets/caboose/admin/modules/header.scss +77 -0
- data/app/assets/stylesheets/caboose/admin/modules/headings.scss +38 -0
- data/app/assets/stylesheets/caboose/admin/modules/main_nav.scss +73 -0
- data/app/assets/stylesheets/caboose/admin/modules/message_boxes.scss +55 -0
- data/app/assets/stylesheets/caboose/admin/modules/model_binder.scss +189 -0
- data/app/assets/stylesheets/caboose/admin/modules/navigation.scss +261 -0
- data/app/assets/stylesheets/caboose/admin/modules/order_bumps.scss +57 -0
- data/app/assets/stylesheets/caboose/admin/modules/pager.scss +34 -0
- data/app/assets/stylesheets/caboose/admin/modules/product_images.scss +21 -0
- data/app/assets/stylesheets/caboose/admin/modules/products.css +86 -0
- data/app/assets/stylesheets/caboose/admin/modules/search.scss +49 -0
- data/app/assets/stylesheets/caboose/admin/modules/selects.scss +12 -0
- data/app/assets/stylesheets/caboose/admin/modules/subnav_tabs.scss +34 -0
- data/app/assets/stylesheets/caboose/admin/modules/tabs.scss +140 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/block_anchors.scss +48 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/block_overlays.scss +182 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/device_selector.scss +65 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/froala.scss +81 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/group_overlay.scss +115 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/layout.scss +128 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/main.scss +18 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/modal.scss +11 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/preview.scss +25 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/publish.scss +25 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/revisions.scss +58 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/subnav.scss +273 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/top_nav.scss +109 -0
- data/app/assets/stylesheets/caboose/admin/pages/assets_index.css +48 -0
- data/app/assets/stylesheets/caboose/admin/pages/block_edit_image.css.scss +386 -0
- data/app/assets/stylesheets/caboose/admin/pages/media_index.css.scss +300 -0
- data/app/assets/stylesheets/caboose/admin/pages/new_block.css +9 -0
- data/app/assets/stylesheets/caboose/admin/pages/page_edit.scss +960 -0
- data/app/assets/stylesheets/caboose/admin/pages/page_edit_content.scss +103 -0
- data/app/assets/stylesheets/caboose/admin/pages/pages_index.scss +79 -0
- data/app/assets/stylesheets/caboose/admin/pages/post_edit_content.css +46 -0
- data/app/assets/stylesheets/caboose/admin/print.css +3 -0
- data/app/assets/stylesheets/caboose/admin/slack.scss +51 -0
- data/app/assets/stylesheets/caboose/admin_block_edit_image.css.scss +1 -2
- data/app/assets/stylesheets/caboose/admin_edit_page_content_dragdrop.scss +15 -71
- data/app/assets/stylesheets/caboose/admin_main.css.scss +29 -25
- data/app/assets/stylesheets/caboose/admin_media_index.css.scss +5 -26
- data/app/assets/stylesheets/caboose/application.css +5 -11
- data/app/assets/stylesheets/caboose/login.scss +0 -1
- data/app/assets/stylesheets/caboose/modal_main.css +19 -21
- data/app/assets/stylesheets/caboose/model_binder.css +4 -13
- data/app/assets/stylesheets/caboose/page_bar_generator.css +1 -2
- data/app/controllers/caboose/admin_controller.rb +4 -3
- data/app/controllers/caboose/application_controller.rb +19 -16
- data/app/controllers/caboose/assets_controller.rb +65 -0
- data/app/controllers/caboose/block_types_controller.rb +6 -8
- data/app/controllers/caboose/cart_controller.rb +2 -2
- data/app/controllers/caboose/fonts_controller.rb +2 -139
- data/app/controllers/caboose/invoices_controller.rb +4 -5
- data/app/controllers/caboose/login_logs_controller.rb +7 -5
- data/app/controllers/caboose/media_categories_controller.rb +2 -16
- data/app/controllers/caboose/media_controller.rb +11 -14
- data/app/controllers/caboose/pages_controller.rb +42 -104
- data/app/controllers/caboose/posts_controller.rb +7 -53
- data/app/controllers/caboose/products_controller.rb +1 -1
- data/app/controllers/caboose/sites_controller.rb +6 -25
- data/app/controllers/caboose/sns_controller.rb +3 -3
- data/app/controllers/caboose/themes_controller.rb +0 -30
- data/app/controllers/caboose/users_controller.rb +10 -17
- data/app/controllers/caboose/variants_controller.rb +9 -9
- data/app/models/caboose/ab_variant.rb +1 -1
- data/app/models/caboose/asset.rb +23 -0
- data/app/models/caboose/asset_manager.rb +92 -0
- data/app/models/caboose/asset_manifest.rb +91 -0
- data/app/models/caboose/block.rb +24 -100
- data/app/models/caboose/block_cache.rb +105 -0
- data/app/models/caboose/block_cache_file.rb +22 -0
- data/app/models/caboose/block_cache_image.rb +53 -0
- data/app/models/caboose/block_type.rb +3 -4
- data/app/models/caboose/block_type_category.rb +2 -2
- data/app/models/caboose/block_type_parser.rb +1 -1
- data/app/models/caboose/block_type_source.rb +2 -2
- data/app/models/caboose/calendar_event_group.rb +2 -2
- data/app/models/caboose/category.rb +2 -2
- data/app/models/caboose/comment_routes.rb +8 -7
- data/app/models/caboose/core_plugin.rb +3 -4
- data/app/models/caboose/export.rb +1 -1
- data/app/models/caboose/font.rb +2 -7
- data/app/models/caboose/font_variant.rb +0 -12
- data/app/models/caboose/invoice.rb +14 -14
- data/app/models/caboose/line_item.rb +4 -4
- data/app/models/caboose/media.rb +4 -15
- data/app/models/caboose/media_category.rb +7 -5
- data/app/models/caboose/modification.rb +2 -2
- data/app/models/caboose/page.rb +54 -325
- data/app/models/caboose/page_bar_generator.rb +10 -20
- data/app/models/caboose/page_cache.rb +12 -0
- data/app/models/caboose/page_cacher.rb +137 -0
- data/app/models/caboose/post.rb +8 -108
- data/app/models/caboose/product.rb +5 -5
- data/app/models/caboose/product_image.rb +1 -1
- data/app/models/caboose/role.rb +2 -2
- data/app/models/caboose/schema.rb +72 -73
- data/app/models/caboose/site.rb +1 -203
- data/app/models/caboose/theme.rb +5 -70
- data/app/views/caboose/admin/_content.html.erb +44 -0
- data/app/views/caboose/admin/_fonts.html.erb +47 -0
- data/app/views/caboose/admin/_footer.html.erb +1 -0
- data/app/views/caboose/admin/_header.html.erb +12 -0
- data/app/views/caboose/admin/_icons.html.erb +6 -0
- data/app/views/caboose/admin/_mobile_navigation.html.erb +22 -0
- data/app/views/caboose/admin/_post.html.erb +74 -0
- data/app/views/caboose/admin/index.html.erb +33 -36
- data/app/views/caboose/block_types/admin_edit.html.erb +8 -6
- data/app/views/caboose/blocks/_file.html.erb +2 -2
- data/app/views/caboose/blocks/_ga.html.erb +2 -1
- data/app/views/caboose/blocks/_image.html.erb +0 -4
- data/app/views/caboose/blocks/_render_function.html.erb +4 -9
- data/app/views/caboose/fonts/admin_index.html.erb +10 -55
- data/app/views/caboose/invoices_mailer/customer_status_updated.html.erb +14 -5
- data/app/views/caboose/login_logs/admin_index_for_user.html.erb +1 -1
- data/app/views/caboose/media/admin_index.html.erb +24 -14
- data/app/views/caboose/my_account/index.html.erb +0 -1
- data/app/views/caboose/pages/_admin_header.html.erb +0 -5
- data/app/views/caboose/pages/admin_edit_content.html.erb +2 -6
- data/app/views/caboose/pages/admin_edit_general.html.erb +4 -32
- data/app/views/caboose/pages/admin_new_old.html.erb +46 -0
- data/app/views/caboose/pages/test.html.erb +64 -0
- data/app/views/caboose/posts/_admin_header.html.erb +0 -5
- data/app/views/caboose/posts/admin_delete_form.html.erb +1 -1
- data/app/views/caboose/posts/admin_edit_content.html.erb +2 -6
- data/app/views/caboose/products/admin_group_variants.html.erb +1 -1
- data/app/views/caboose/products/admin_sort.html copy.erb +1 -1
- data/app/views/caboose/sites/admin_edit.html.erb +0 -21
- data/app/views/caboose/themes/admin_edit.html.erb +3 -7
- data/app/views/caboose/users/_admin_header.html.erb +0 -4
- data/app/views/caboose/users/admin_edit_roles.html.erb +0 -1
- data/app/views/caboose/variants/admin_group.html.erb +1 -1
- data/app/views/layouts/caboose/admin.html.erb +2 -9
- data/app/views/layouts/caboose/application.html.erb +92 -62
- data/config/routes.rb +1 -4
- data/lib/caboose/version.rb +1 -1
- data/lib/tasks/caboose.rake +14 -3
- metadata +238 -57
- data/app/controllers/caboose/change_logs_controller.rb +0 -13
- data/app/models/caboose/change_log.rb +0 -97
- data/app/views/caboose/blocks/_cached_block.html.erb +0 -28
- data/app/views/caboose/change_logs/admin_index.html.erb +0 -65
- data/app/views/caboose/fonts/admin_family_edit.html.erb +0 -63
- data/app/views/caboose/fonts/admin_family_index.html.erb +0 -42
- data/app/views/caboose/fonts/admin_variant_edit.html.erb +0 -84
- data/app/views/caboose/pages/admin_change_logs.html.erb +0 -56
- data/app/views/caboose/pages/compiled_asset.css.erb +0 -0
- data/app/views/caboose/pages/compiled_asset.js.erb +0 -0
- data/app/views/caboose/posts/admin_change_logs.html.erb +0 -56
- data/app/views/caboose/sites/compiled_asset.css.erb +0 -0
- data/app/views/caboose/sites/compiled_asset.js.erb +0 -0
- data/app/views/caboose/themes/admin_error_log.html.erb +0 -9
- data/app/views/caboose/themes/admin_js.html.erb +0 -131
- data/app/views/caboose/users/admin_change_logs.html.erb +0 -63
- data/app/views/layouts/caboose/css.css.erb +0 -44
- data/app/views/layouts/caboose/footer_css.css.erb +0 -41
- data/app/views/layouts/caboose/footer_js.js.erb +0 -31
- data/app/views/layouts/caboose/js.js.erb +0 -34
@@ -0,0 +1,34 @@
|
|
1
|
+
@import "compass";
|
2
|
+
@import "compass/reset";
|
3
|
+
|
4
|
+
@import "caboose/admin/config";
|
5
|
+
@import "caboose/admin/ie";
|
6
|
+
@import "caboose/admin/modules/functions";
|
7
|
+
|
8
|
+
@import "caboose/admin/modules/body";
|
9
|
+
@import "caboose/admin/modules/buttons";
|
10
|
+
@import "caboose/admin/modules/selects";
|
11
|
+
@import "caboose/admin/modules/crumbtrail";
|
12
|
+
@import "caboose/admin/modules/data_table";
|
13
|
+
@import "caboose/admin/modules/footer";
|
14
|
+
@import "caboose/admin/modules/forms";
|
15
|
+
@import "caboose/admin/modules/grid";
|
16
|
+
@import "caboose/admin/modules/header";
|
17
|
+
@import "caboose/admin/modules/headings";
|
18
|
+
@import "caboose/admin/modules/main_nav";
|
19
|
+
@import "caboose/admin/modules/message_boxes";
|
20
|
+
@import "caboose/admin/modules/model_binder";
|
21
|
+
@import "caboose/admin/modules/navigation";
|
22
|
+
@import "caboose/admin/modules/search";
|
23
|
+
@import "caboose/admin/modules/subnav_tabs";
|
24
|
+
@import "caboose/admin/modules/order_bumps";
|
25
|
+
@import "caboose/admin/modules/tabs";
|
26
|
+
|
27
|
+
@import "caboose/admin/integrations/main";
|
28
|
+
@import "caboose/admin/integrations/shopify";
|
29
|
+
|
30
|
+
@import "caboose/admin/layout";
|
31
|
+
|
32
|
+
/*
|
33
|
+
@import "https://cdn.myfontastic.com/euPuXFx4wNWtygK9Mgkprg/icons.css";
|
34
|
+
*/
|
@@ -0,0 +1,176 @@
|
|
1
|
+
@import "caboose/admin/config";
|
2
|
+
|
3
|
+
body {
|
4
|
+
font: $font-main;
|
5
|
+
background-color: $body-bg-color;
|
6
|
+
color: $color-dark;
|
7
|
+
}
|
8
|
+
|
9
|
+
body * {
|
10
|
+
-moz-box-sizing: border-box;
|
11
|
+
-webkit-box-sizing: border-box;
|
12
|
+
box-sizing: border-box;
|
13
|
+
}
|
14
|
+
|
15
|
+
.constrain {
|
16
|
+
max-width: $max-width;
|
17
|
+
width: 100%;
|
18
|
+
position: relative;
|
19
|
+
margin: 0 auto !important;
|
20
|
+
padding: 0 2%;
|
21
|
+
height: 100%;
|
22
|
+
&::after {
|
23
|
+
content: ".";
|
24
|
+
visibility: hidden;
|
25
|
+
display: block;
|
26
|
+
height: 0;
|
27
|
+
clear: both;
|
28
|
+
}
|
29
|
+
.richtext-block {
|
30
|
+
padding: 0;
|
31
|
+
@include mini {
|
32
|
+
padding: 0 2%;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
.hidden {
|
38
|
+
display: none !important;
|
39
|
+
visibility: none !important;
|
40
|
+
opacity: 0 !important;
|
41
|
+
}
|
42
|
+
|
43
|
+
.overlay {
|
44
|
+
position: absolute;
|
45
|
+
left: 0;
|
46
|
+
top: 0;
|
47
|
+
width: 100%;
|
48
|
+
height: 100%;
|
49
|
+
background: rgba(10,10,10,0.3);
|
50
|
+
z-index: 0;
|
51
|
+
}
|
52
|
+
|
53
|
+
#admin_content_wrapper {
|
54
|
+
min-height: 200px;
|
55
|
+
// padding-top: $header-height;
|
56
|
+
// @include small {
|
57
|
+
// padding-top: $header-height * 0.84375;
|
58
|
+
// }
|
59
|
+
}
|
60
|
+
|
61
|
+
.chromeframe {
|
62
|
+
text-align: center;
|
63
|
+
padding: 10px;
|
64
|
+
font-size: 15px;
|
65
|
+
}
|
66
|
+
|
67
|
+
.clearfix::after {
|
68
|
+
content: ".";
|
69
|
+
visibility: hidden;
|
70
|
+
display: block;
|
71
|
+
height: 0;
|
72
|
+
clear: both;
|
73
|
+
}
|
74
|
+
|
75
|
+
.text-underline {
|
76
|
+
text-decoration: underline !important;
|
77
|
+
}
|
78
|
+
|
79
|
+
.richtext-block {
|
80
|
+
padding: 0 2%;
|
81
|
+
@include mini {
|
82
|
+
padding: 0 4%;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
#admin_content_body > img[id^="block_"],
|
87
|
+
#admin_content_body > .constrain > img[id^="block_"] {
|
88
|
+
@include mini {
|
89
|
+
display: block;
|
90
|
+
margin-left: auto !important;
|
91
|
+
margin-right: auto !important;
|
92
|
+
float: none !important;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
.richtext, .richtext-block {
|
97
|
+
max-width: $max-width;
|
98
|
+
margin: 0 auto;
|
99
|
+
p, ol, ul {
|
100
|
+
margin-bottom: 20px;
|
101
|
+
font: $font-main;
|
102
|
+
line-height: 1.2em;
|
103
|
+
strong, b {
|
104
|
+
font-weight: bold;
|
105
|
+
}
|
106
|
+
em, i {
|
107
|
+
font-style: italic;
|
108
|
+
}
|
109
|
+
a {
|
110
|
+
text-decoration: none;
|
111
|
+
color: $color-main;
|
112
|
+
&:hover {
|
113
|
+
color: $color-alt;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
.btn {
|
117
|
+
color: $btn-font-color;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
p:last-of-type {
|
121
|
+
margin-bottom: 0;
|
122
|
+
}
|
123
|
+
li {
|
124
|
+
margin-bottom: 5px;
|
125
|
+
&:last-of-type {
|
126
|
+
margin-bottom: 0;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
ul {
|
130
|
+
list-style-type: disc;
|
131
|
+
padding-left: 20px;
|
132
|
+
ul, ol {
|
133
|
+
padding-left: 30px;
|
134
|
+
margin: 5px 0;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
ol {
|
138
|
+
list-style-type: decimal;
|
139
|
+
padding-left: 20px;
|
140
|
+
ul, ol {
|
141
|
+
padding-left: 30px;
|
142
|
+
margin: 5px 0;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
@-ms-viewport{
|
148
|
+
width: device-width;
|
149
|
+
}
|
150
|
+
|
151
|
+
.table {
|
152
|
+
display: table;
|
153
|
+
table-layout: fixed;
|
154
|
+
width: 100%;
|
155
|
+
height: 100%;
|
156
|
+
}
|
157
|
+
|
158
|
+
.table-cell {
|
159
|
+
display: table-cell;
|
160
|
+
vertical-align: middle;
|
161
|
+
width: 100%;
|
162
|
+
height: 100%;
|
163
|
+
}
|
164
|
+
|
165
|
+
::selection {
|
166
|
+
color: #fff;
|
167
|
+
background: $color-main;
|
168
|
+
}
|
169
|
+
|
170
|
+
img, iframe { max-width: 100%; }
|
171
|
+
|
172
|
+
.map img { max-width: none !important; }
|
173
|
+
|
174
|
+
#admin_content_body p {
|
175
|
+
margin-bottom: 10px;
|
176
|
+
}
|
@@ -0,0 +1,120 @@
|
|
1
|
+
@import "caboose/admin/config";
|
2
|
+
|
3
|
+
.btn,
|
4
|
+
.admin_container input[type=button],
|
5
|
+
.admin_container input[type=submit],
|
6
|
+
.page_links a {
|
7
|
+
border: 0;
|
8
|
+
border-radius: $btn-border-radius;
|
9
|
+
background-color: $btn-bg-color;
|
10
|
+
color: $btn-font-color;
|
11
|
+
font: $btn-font;
|
12
|
+
display: inline-block;
|
13
|
+
font-weight: $btn-font-weight;
|
14
|
+
padding: 5px 10px;
|
15
|
+
font-size: $btn-font-size;
|
16
|
+
text-decoration: none;
|
17
|
+
text-transform: $btn-font-case;
|
18
|
+
-webkit-appearance: none;
|
19
|
+
text-align: center;
|
20
|
+
cursor: pointer;
|
21
|
+
border-width: $btn-border-width;
|
22
|
+
@if $btn-border-side == "bottom" {
|
23
|
+
border-bottom: $btn-border-width solid $btn-border-color;
|
24
|
+
}
|
25
|
+
@else if $btn-border-side == "all" {
|
26
|
+
border: $btn-border-width solid $btn-border-color;
|
27
|
+
}
|
28
|
+
&:focus {
|
29
|
+
outline-width: 0;
|
30
|
+
}
|
31
|
+
&:hover {
|
32
|
+
background: shade($btn-bg-color, 10%);
|
33
|
+
text-decoration: none;
|
34
|
+
border-color: shade($btn-border-color, 10%);
|
35
|
+
}
|
36
|
+
&.red {
|
37
|
+
background-color: #d07f7f;
|
38
|
+
color: #fff;
|
39
|
+
}
|
40
|
+
&.duplicate {
|
41
|
+
background-color: #505e72;
|
42
|
+
color: #fff;
|
43
|
+
}
|
44
|
+
&.white {
|
45
|
+
background: #fff;
|
46
|
+
color: $color-main;
|
47
|
+
&:hover {
|
48
|
+
background: $color-main;
|
49
|
+
color: #fff;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
&.white-outline {
|
53
|
+
border: 1px solid #fff;
|
54
|
+
background: none;
|
55
|
+
color: #fff;
|
56
|
+
&:hover {
|
57
|
+
background: $btn-border-color;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
&.color-outline {
|
61
|
+
border: 1px solid $btn-border-color;
|
62
|
+
background: none;
|
63
|
+
color: $btn-border-color;
|
64
|
+
&:hover {
|
65
|
+
background: #fff;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
&.Alternate, &.alternate {
|
69
|
+
background: $color-alt;
|
70
|
+
border-color: shade($color-alt, 20%);
|
71
|
+
&:hover {
|
72
|
+
background: shade($color-alt, 10%);
|
73
|
+
border-color: shade($color-alt, 30%);
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
.mrg-r-10{
|
79
|
+
margin-right: 10px;
|
80
|
+
}.mrg-t-10{
|
81
|
+
margin-top: 10px;
|
82
|
+
}.mrg-b-10{
|
83
|
+
margin-bottom: 10px;
|
84
|
+
}
|
85
|
+
|
86
|
+
|
87
|
+
[class^="icon-"] {
|
88
|
+
text-decoration: none;
|
89
|
+
font-size: 40px;
|
90
|
+
&.white {
|
91
|
+
color: #fff;
|
92
|
+
&:hover {
|
93
|
+
color: $color-alt;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
&.colored {
|
97
|
+
color: $color-main;
|
98
|
+
&:hover {
|
99
|
+
color: shade($color-main, 10%);
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
a[class^="icon-"] {
|
105
|
+
cursor: pointer;
|
106
|
+
text-decoration: none;
|
107
|
+
}
|
108
|
+
|
109
|
+
ul.social-links {
|
110
|
+
list-style-type: none;
|
111
|
+
padding: 0;
|
112
|
+
margin: 0;
|
113
|
+
li {
|
114
|
+
display: inline-block;
|
115
|
+
margin-right: 8px;
|
116
|
+
&:last-of-type {
|
117
|
+
margin-right: 0;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
.countdown {
|
2
|
+
text-align: center;
|
3
|
+
}
|
4
|
+
.countdown ul {
|
5
|
+
width: 100%;
|
6
|
+
height: 100%;
|
7
|
+
}
|
8
|
+
.countdown ul li {
|
9
|
+
display: inline-block;
|
10
|
+
font-weight: bold;
|
11
|
+
position: relative;
|
12
|
+
margin: 0;
|
13
|
+
height: 100%;
|
14
|
+
overflow: hidden;
|
15
|
+
}
|
16
|
+
|
17
|
+
.countdown ul li.date_part span {
|
18
|
+
display: block;
|
19
|
+
justify-content: center;
|
20
|
+
align-content: center;
|
21
|
+
}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
#admin_crumbtrail {
|
2
|
+
position: absolute;
|
3
|
+
top: -42px;
|
4
|
+
left: 20px;
|
5
|
+
z-index: 1000;
|
6
|
+
color: #000;
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
|
10
|
+
a {
|
11
|
+
color: #666;
|
12
|
+
text-decoration: none !important;
|
13
|
+
}
|
14
|
+
a:hover {
|
15
|
+
color: #000;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
#crumbtrail{
|
20
|
+
display: inline-block;
|
21
|
+
position: relative;
|
22
|
+
top: 11px;
|
23
|
+
left: 12px;
|
24
|
+
a {
|
25
|
+
background-color: #4f5e73;
|
26
|
+
display: inline-block;
|
27
|
+
color: #fff;
|
28
|
+
line-height: 30px;
|
29
|
+
font-size: 12px;
|
30
|
+
margin-right: 5px;
|
31
|
+
text-decoration: none;
|
32
|
+
padding: 0 12px 0 17px;
|
33
|
+
text-transform: uppercase;
|
34
|
+
position: relative;
|
35
|
+
&::after {
|
36
|
+
position: absolute;
|
37
|
+
left: 100%;
|
38
|
+
top: 0;
|
39
|
+
content: " ";
|
40
|
+
width: 0;
|
41
|
+
height: 0;
|
42
|
+
border-top: 15px solid transparent;
|
43
|
+
border-bottom: 15px solid transparent;
|
44
|
+
border-left: 5px solid #4f5e73;
|
45
|
+
display: block;
|
46
|
+
}
|
47
|
+
&::before {
|
48
|
+
position: absolute;
|
49
|
+
left: 0;
|
50
|
+
top: 0;
|
51
|
+
content: " ";
|
52
|
+
width: 0;
|
53
|
+
height: 0;
|
54
|
+
border-top: 15px solid transparent;
|
55
|
+
border-bottom: 15px solid transparent;
|
56
|
+
border-left: 5px solid #edeef0;
|
57
|
+
display: block;
|
58
|
+
}
|
59
|
+
&:first-of-type {
|
60
|
+
border-top-left-radius: 5px;
|
61
|
+
border-bottom-left-radius: 5px;
|
62
|
+
&::before {
|
63
|
+
display: none;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
&:last-of-type {
|
67
|
+
border-top-right-radius: 5px;
|
68
|
+
border-bottom-right-radius: 5px;
|
69
|
+
&::after {
|
70
|
+
display: none;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
&:hover {
|
74
|
+
background-color: shade(#4f5e73, 10%);
|
75
|
+
}
|
76
|
+
&:hover::after {
|
77
|
+
border-left: 5px solid shade(#4f5e73, 10%);
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
|
2
|
+
table.data {
|
3
|
+
border-collapse: collapse;
|
4
|
+
border: 1px solid #000;
|
5
|
+
margin-top: 15px;
|
6
|
+
}
|
7
|
+
|
8
|
+
table.data th {
|
9
|
+
background: #d0d0d0;
|
10
|
+
border: #000 1px solid;
|
11
|
+
color: #000;
|
12
|
+
padding: 12px;
|
13
|
+
}
|
14
|
+
|
15
|
+
table.data th a {
|
16
|
+
color: #000;
|
17
|
+
display: block;
|
18
|
+
text-decoration: none;
|
19
|
+
}
|
20
|
+
|
21
|
+
table.data th a:hover {
|
22
|
+
color: #000;
|
23
|
+
}
|
24
|
+
|
25
|
+
table.data td {
|
26
|
+
background: #fff;
|
27
|
+
border-right: #000 1px solid;
|
28
|
+
margin: 0;
|
29
|
+
padding: 8px 12px;
|
30
|
+
}
|
31
|
+
|
32
|
+
table.data tr:nth-child(odd) td { background: #fff; }
|
33
|
+
table.data tr:nth-child(even) td { background: #f1f1f1; }
|
34
|
+
|
35
|
+
table.data td.edit_button {
|
36
|
+
|
37
|
+
}
|
38
|
+
|
39
|
+
table.data tr.table_rows {
|
40
|
+
td:nth-child(1),
|
41
|
+
td:nth-child(2){
|
42
|
+
text-align: center;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
table.data td.edit_button_over {
|
47
|
+
background: #f9ad81 !important;
|
48
|
+
}
|
49
|
+
|
50
|
+
table.data tr:nth-child(even) td {
|
51
|
+
|
52
|
+
}
|
53
|
+
|
54
|
+
|
55
|
+
table.data tr:nth-child(odd) td {
|
56
|
+
|
57
|
+
}
|
58
|
+
|
59
|
+
table.data th:nth-child(1),
|
60
|
+
table.data th:nth-child(2) {
|
61
|
+
width: 57px;
|
62
|
+
text-align: center;
|
63
|
+
}
|
64
|
+
|
65
|
+
table.data tr:hover td,
|
66
|
+
table.data tr:nth-child(even):hover td,
|
67
|
+
table.data tr:nth-child(odd):hover td {
|
68
|
+
background: #fff799;
|
69
|
+
cursor: pointer;
|
70
|
+
cursor: hand;
|
71
|
+
}
|
72
|
+
|
73
|
+
.table_controls_buttons {
|
74
|
+
margin-top: 10px;
|
75
|
+
margin-bottom: 5px;
|
76
|
+
input{
|
77
|
+
background:#7493b2;
|
78
|
+
border: 0px;
|
79
|
+
color: #fff;
|
80
|
+
border-radius: 15px;
|
81
|
+
padding: 5px 10px;
|
82
|
+
text-transform: uppercase;
|
83
|
+
&:hover{
|
84
|
+
background: #da7c7f;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
.table_controls_menu {
|
90
|
+
display: inline-block;
|
91
|
+
width: 100%;
|
92
|
+
}
|