trusty-cms 4.0.2 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/app/assets/images/admin/spinner.gif +0 -0
- data/app/assets/javascripts/admin.js +3 -0
- data/app/assets/javascripts/admin/more-or-less.js +2 -2
- data/app/assets/javascripts/admin/tabcontrol.js.erb +1 -2
- data/app/assets/stylesheets/admin/_base.scss +22 -6
- data/app/assets/stylesheets/admin/_multi_site_main.scss +28 -29
- data/app/assets/stylesheets/admin/_reset.scss +5 -4
- data/app/assets/stylesheets/admin/_site_chooser.scss +44 -69
- data/app/assets/stylesheets/admin/assets.scss +138 -141
- data/app/assets/stylesheets/admin/main.scss +10 -12
- data/app/assets/stylesheets/admin/modules/_boxes.scss +0 -3
- data/app/assets/stylesheets/admin/modules/_buttons.scss +30 -0
- data/app/assets/stylesheets/admin/modules/_links.scss +1 -1
- data/app/assets/stylesheets/admin/partials/_actions.scss +29 -46
- data/app/assets/stylesheets/admin/partials/_avatars.scss +3 -2
- data/app/assets/stylesheets/admin/partials/_content.scss +15 -38
- data/app/assets/stylesheets/admin/partials/_dateinput.scss +23 -14
- data/app/assets/stylesheets/admin/partials/_drawer.scss +78 -0
- data/app/assets/stylesheets/admin/partials/_dropdown.scss +9 -12
- data/app/assets/stylesheets/admin/partials/_footer.scss +4 -3
- data/app/assets/stylesheets/admin/partials/_forms.scss +64 -493
- data/app/assets/stylesheets/admin/partials/_header.scss +9 -118
- data/app/assets/stylesheets/admin/partials/_layout.scss +26 -2
- data/app/assets/stylesheets/admin/partials/_login_form.scss +28 -0
- data/app/assets/stylesheets/admin/partials/_messages.scss +5 -5
- data/app/assets/stylesheets/admin/partials/_popup.scss +62 -51
- data/app/assets/stylesheets/admin/partials/_preferences.scss +37 -0
- data/app/assets/stylesheets/admin/partials/_sidebar.scss +55 -0
- data/app/assets/stylesheets/admin/partials/_tabcontrol.scss +24 -36
- data/app/assets/stylesheets/admin/partials/{_index.scss → _table.scss} +53 -84
- data/app/assets/stylesheets/admin/partials/_toolbar.scss +11 -6
- data/app/assets/stylesheets/admin/partials/_treetable.scss +1 -71
- data/app/assets/stylesheets/admin/partials/_typography.scss +30 -55
- data/app/assets/stylesheets/admin/partials/_validations.scss +6 -5
- data/app/assets/stylesheets/rad_social/rad_screen.scss +65 -64
- data/app/controllers/admin/pages_controller.rb +2 -2
- data/app/helpers/application_helper.rb +2 -2
- data/app/models/menu_renderer.rb +3 -3
- data/app/users/_choose_site.html.haml +3 -7
- data/app/views/admin/assets/_form.html.haml +2 -1
- data/app/views/admin/assets/_search.html.haml +2 -1
- data/app/views/admin/assets/edit.html.haml +8 -7
- data/app/views/admin/assets/index.html.haml +4 -2
- data/app/views/admin/assets/new.html.haml +4 -5
- data/app/views/admin/assets/remove.html.haml +1 -0
- data/app/views/admin/configuration/edit.html.haml +7 -7
- data/app/views/admin/configuration/show.html.haml +6 -8
- data/app/views/admin/layouts/_choose_site.html.haml +2 -3
- data/app/views/admin/layouts/_form.html.haml +13 -12
- data/app/views/admin/layouts/_site_chooser.html.haml +2 -2
- data/app/views/admin/layouts/index.html.haml +11 -4
- data/app/views/admin/layouts/remove.html.haml +2 -2
- data/app/views/admin/page_attachments/_attachment.html.haml +2 -2
- data/app/views/admin/page_fields/_page_field.html.haml +3 -3
- data/app/views/admin/page_parts/_page_part.html.haml +4 -5
- data/app/views/admin/pages/_asset_popups.html.haml +15 -16
- data/app/views/admin/pages/_assets.html.haml +8 -7
- data/app/views/admin/pages/_fields.html.haml +16 -13
- data/app/views/admin/pages/_node.html.haml +3 -3
- data/app/views/admin/pages/_popups.html.haml +11 -11
- data/app/views/admin/pages/edit.html.haml +2 -2
- data/app/views/admin/pages/index.html.haml +5 -2
- data/app/views/admin/pages/new.html.haml +3 -3
- data/app/views/admin/pages/remove.html.haml +2 -2
- data/app/views/admin/preferences/edit.html.haml +5 -5
- data/app/views/admin/references/filters.haml +1 -1
- data/app/views/admin/references/tags.haml +3 -3
- data/app/views/admin/removed/_assets_bucket.html.haml +3 -3
- data/app/views/admin/removed/_assets_container.html.haml +18 -18
- data/app/views/admin/removed/_bucket.html.haml +1 -1
- data/app/views/admin/removed/_bucket_asset.html.haml +3 -3
- data/app/views/admin/removed/_show_bucket_link.html.haml +1 -1
- data/app/views/admin/removed/_upload_to_page.html.haml +5 -5
- data/app/views/admin/sites/_form.haml +18 -18
- data/app/views/admin/sites/edit.haml +1 -1
- data/app/views/admin/sites/index.haml +6 -4
- data/app/views/admin/sites/new.haml +1 -1
- data/app/views/admin/snippets/_choose_site.html.haml +4 -5
- data/app/views/admin/snippets/_form.html.haml +8 -9
- data/app/views/admin/snippets/edit.html.haml +1 -1
- data/app/views/admin/snippets/index.html.haml +11 -4
- data/app/views/admin/snippets/new.html.haml +1 -1
- data/app/views/admin/snippets/remove.html.haml +3 -3
- data/app/views/admin/users/_avatar.html.haml +2 -2
- data/app/views/admin/users/_choose_site.html.haml +3 -7
- data/app/views/admin/users/_form.html.haml +18 -21
- data/app/views/admin/users/_password_fields.html.haml +6 -6
- data/app/views/admin/users/index.html.haml +13 -6
- data/app/views/admin/users/remove.html.haml +2 -2
- data/app/views/admin/welcome/login.html.haml +8 -8
- data/app/views/devise/passwords/edit.html.haml +6 -6
- data/app/views/devise/passwords/new.html.haml +3 -3
- data/app/views/devise/sessions/new.html.haml +8 -8
- data/app/views/devise/shared/_links.html.haml +2 -2
- data/app/views/layouts/application.html.haml +24 -19
- data/app/views/rad_social_mailer/social_mail_form.html.haml +15 -15
- data/app/views/widget/_email_form.html.haml +14 -14
- data/app/views/widget/_horizontal_widget.html.haml +5 -5
- data/lib/trusty_cms.rb +1 -1
- data/package.json +9 -1
- data/yarn.lock +1988 -0
- metadata +8 -7
- data/app/assets/stylesheets/admin/partials/_deprecated.scss +0 -65
- data/app/assets/stylesheets/admin/partials/_jquery-ui-structure.scss +0 -258
- data/app/assets/stylesheets/admin/partials/_jquery-ui-theme.scss +0 -410
- data/app/assets/stylesheets/admin/partials/_jquery-ui.scss +0 -650
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cec5c72cf1d47c8753242f4bb6933ee6e11f2aa6dac456417d7cbc66b9b9f34
|
4
|
+
data.tar.gz: 891578d38ac65c2fc85e8525cf7e2f60ded3e9c68c33da8120783c7c093d785e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dc36d74cdd75908dce51329e1addbaf2dc071cca18286b855212a16f61516967106345ee2114a68a173f6627496ee66b7b745547509a41a14ded504bfc178da
|
7
|
+
data.tar.gz: a2f248822127a1fa38166eda8f11e6e90b3da5d5344e9a9a4d6b66bc3313bdb3821f18b2467828f60b2a10b18890bf9e8f41aa5b4317cac45f62135e4764877a
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
trusty-cms (4.0
|
4
|
+
trusty-cms (4.1.0)
|
5
5
|
RedCloth (= 4.3.2)
|
6
6
|
acts_as_list (>= 0.9.5, < 1.1.0)
|
7
7
|
acts_as_tree (>= 2.6.1, < 2.9.0)
|
@@ -168,7 +168,7 @@ GEM
|
|
168
168
|
multipart-post
|
169
169
|
launchy (2.5.0)
|
170
170
|
addressable (~> 2.7)
|
171
|
-
libv8 (7.3.492.27.1)
|
171
|
+
libv8 (7.3.492.27.1-x86_64-darwin-18)
|
172
172
|
loofah (2.4.0)
|
173
173
|
crass (~> 1.0.2)
|
174
174
|
nokogiri (>= 1.5.9)
|
@@ -211,7 +211,7 @@ GEM
|
|
211
211
|
pry (~> 0.13.0)
|
212
212
|
public_suffix (4.0.3)
|
213
213
|
rack (2.0.9)
|
214
|
-
rack-cache (1.11.
|
214
|
+
rack-cache (1.11.1)
|
215
215
|
rack (>= 0.4)
|
216
216
|
rack-test (1.1.0)
|
217
217
|
rack (>= 1.0, < 3)
|
@@ -275,7 +275,7 @@ GEM
|
|
275
275
|
rspec-support (3.9.2)
|
276
276
|
ruby_parser (3.14.2)
|
277
277
|
sexp_processor (~> 4.9)
|
278
|
-
sassc (2.
|
278
|
+
sassc (2.3.0)
|
279
279
|
ffi (~> 1.9)
|
280
280
|
sassc-rails (2.1.2)
|
281
281
|
railties (>= 4.0.0)
|
Binary file
|
@@ -15,9 +15,9 @@
|
|
15
15
|
|
16
16
|
$(link).toggleClass('less more');
|
17
17
|
if (link.innerHTML.match(/less/i)) {
|
18
|
-
link.innerHTML = 'More';
|
18
|
+
link.innerHTML = 'More <i class="fas fa-angle-down"></i>';
|
19
19
|
} else if (link.innerHTML.match(/more/i)) {
|
20
|
-
link.innerHTML = 'Less';
|
20
|
+
link.innerHTML = 'Less <i class="fas fa-angle-up"></i>';
|
21
21
|
}
|
22
22
|
}
|
23
23
|
|
@@ -33,8 +33,7 @@
|
|
33
33
|
}
|
34
34
|
|
35
35
|
TabControl.addTab = function(tabText) {
|
36
|
-
|
37
|
-
$('div#tab_control .tabs').append("<a id='tab_" + tabText + "' href='#' class='tab'><span>" + tabText + "</span><img src='" + relative_url_root + "<%= asset_path('admin/tab_close.png') %>' class='close' alt='Remove part' title='Remove part' /></a>");
|
36
|
+
$('div#tab_control .tabs').append("<a id='tab_" + tabText + "' href='#' class='tab'><span>" + tabText + "</span><i class='fas fa-times-circle close' title='Remove part'></i></a>");
|
38
37
|
var $page_part_index = $('#page_part_index_field');
|
39
38
|
$page_part_index.val(parseInt($page_part_index.val()) + 1);
|
40
39
|
}
|
@@ -1,16 +1,32 @@
|
|
1
1
|
// Fonts
|
2
|
-
$base-font-family: "
|
3
|
-
$base-font-size:
|
2
|
+
$base-font-family: "Open Sans", sans-serif;
|
3
|
+
$base-font-size: 16px;
|
4
|
+
|
5
|
+
//colors
|
6
|
+
$white: #FFFFFF;
|
7
|
+
$light-blue: #e0f0ff;
|
8
|
+
$dark-blue: #3C3A4B;
|
9
|
+
$darker-blue: #292733;
|
10
|
+
|
11
|
+
$dark-gray: #3A3A3A;
|
12
|
+
$gray: #919191;
|
13
|
+
$light-gray: #F3F3F4;
|
14
|
+
|
15
|
+
$dark-red: #8C0E19;
|
16
|
+
$red: #BA1321;
|
17
|
+
$light-red: #f3c2c2;
|
18
|
+
|
4
19
|
|
5
20
|
// Links
|
6
|
-
$base-link-color
|
7
|
-
$alt-link-color:
|
21
|
+
$base-link-color: #3c3a4b;
|
22
|
+
$alt-link-color: #8C0E19;
|
8
23
|
|
9
24
|
// Header
|
10
|
-
$header: #
|
11
|
-
$primary-tab:
|
25
|
+
$header: #3c3a4b !default;
|
26
|
+
$primary-tab: #3c3a4b;
|
12
27
|
$primary-tab-current: white;
|
13
28
|
|
14
29
|
// Modules
|
15
30
|
@import "modules/links";
|
16
31
|
@import "modules/boxes";
|
32
|
+
@import "modules/buttons";
|
@@ -5,13 +5,14 @@ $font_2: Times New Roman;
|
|
5
5
|
$font_3: Times;
|
6
6
|
$font_4: serif;
|
7
7
|
|
8
|
-
|
8
|
+
.content {
|
9
9
|
table.index {
|
10
10
|
tr.node {
|
11
11
|
td {
|
12
12
|
padding: .5em;
|
13
13
|
}
|
14
14
|
}
|
15
|
+
|
15
16
|
&.node {
|
16
17
|
&.site {
|
17
18
|
small {
|
@@ -21,28 +22,45 @@ $font_4: serif;
|
|
21
22
|
font-weight: normal;
|
22
23
|
margin-left: .5em;
|
23
24
|
}
|
25
|
+
|
24
26
|
a {
|
25
27
|
&:visited {
|
28
|
+
color: black;
|
26
29
|
font-size: 115%;
|
27
30
|
font-weight: bold;
|
28
|
-
color: black;
|
29
31
|
text-decoration: none;
|
30
32
|
}
|
31
33
|
}
|
32
34
|
}
|
33
35
|
}
|
34
36
|
}
|
37
|
+
|
35
38
|
.form-area {
|
36
39
|
p {
|
37
40
|
&.domain {
|
38
41
|
float: left;
|
39
|
-
width: 40%;
|
40
42
|
margin: 1em 1em 0 0;
|
41
43
|
overflow: hidden;
|
44
|
+
width: 40%;
|
45
|
+
|
46
|
+
label {
|
47
|
+
display: block;
|
48
|
+
position: relative;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
&.homepage {
|
53
|
+
float: right;
|
54
|
+
margin: 1em 0 0;
|
55
|
+
overflow: hidden;
|
56
|
+
width: 16%;
|
57
|
+
|
42
58
|
label {
|
43
|
-
|
59
|
+
display: block;
|
60
|
+
position: relative;
|
44
61
|
}
|
45
62
|
}
|
63
|
+
|
46
64
|
&.subtitle {
|
47
65
|
margin: 1em 0 0 0;
|
48
66
|
}
|
@@ -50,28 +68,9 @@ $font_4: serif;
|
|
50
68
|
}
|
51
69
|
}
|
52
70
|
|
53
|
-
|
54
|
-
#content {
|
55
|
-
div.form-area p.homepage {
|
56
|
-
float: right;
|
57
|
-
width: 16%;
|
58
|
-
margin: 1em 0 0;
|
59
|
-
overflow: hidden;
|
60
|
-
}
|
61
|
-
.form-area p {
|
62
|
-
&.domain label {
|
63
|
-
display: block;
|
64
|
-
position: relative;
|
65
|
-
}
|
66
|
-
&.homepage label {
|
67
|
-
display: block;
|
68
|
-
position: relative;
|
69
|
-
}
|
70
|
-
}
|
71
|
-
}
|
72
71
|
p.formnote {
|
73
|
-
|
74
|
-
|
72
|
+
clear: both;
|
73
|
+
padding: 2em 0;
|
75
74
|
}
|
76
75
|
|
77
76
|
|
@@ -79,7 +78,7 @@ p.formnote {
|
|
79
78
|
//original selectors
|
80
79
|
//#content div.form-area p.domain .textbox, #content div.form-area p.homepage .textbox, #content div.form-area p.subtitle .textbox, #content div.form-area p.subtitle select
|
81
80
|
%extend_1 {
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
}
|
81
|
+
font-family: $font_0, $font_1, $font_2, $font_3, $font_4;
|
82
|
+
font-size: 140%;
|
83
|
+
width: 100%;
|
84
|
+
}
|
@@ -5,17 +5,17 @@ del, dfn, em, img, ins, kbd, q, s, samp,
|
|
5
5
|
small, strike, strong, sub, sup, tt, var,
|
6
6
|
b, u, i, center,
|
7
7
|
dl, dt, dd, ol, ul, li,
|
8
|
-
fieldset, form, label, legend,
|
8
|
+
fieldset, form, label, legend, input,
|
9
9
|
table, caption, tbody, tfoot, thead, tr, th, td,
|
10
10
|
article, aside, canvas, details, embed,
|
11
11
|
figure, figcaption, footer, header, hgroup,
|
12
12
|
menu, nav, output, ruby, section, summary,
|
13
13
|
time, mark, audio, video {
|
14
|
-
margin: 0;
|
15
|
-
padding: 0;
|
16
14
|
border: 0;
|
17
15
|
font: inherit;
|
18
16
|
font-size: 100%;
|
17
|
+
margin: 0;
|
18
|
+
padding: 0;
|
19
19
|
vertical-align: baseline;
|
20
20
|
}
|
21
21
|
|
@@ -33,14 +33,15 @@ table {
|
|
33
33
|
}
|
34
34
|
|
35
35
|
caption, th, td {
|
36
|
-
text-align: left;
|
37
36
|
font-weight: normal;
|
37
|
+
text-align: left;
|
38
38
|
vertical-align: middle;
|
39
39
|
}
|
40
40
|
|
41
41
|
q, blockquote {
|
42
42
|
quotes: none;
|
43
43
|
}
|
44
|
+
|
44
45
|
q:before, q:after, blockquote:before, blockquote:after {
|
45
46
|
content: "";
|
46
47
|
content: none;
|
@@ -1,73 +1,48 @@
|
|
1
1
|
//colors
|
2
|
-
$color_turquoise_blue_approx: #66d9e0;
|
3
|
-
$white: #fff;
|
4
|
-
$black: #000;
|
5
2
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
3
|
+
.site_chooser {
|
4
|
+
border-collapse: collapse;
|
5
|
+
float: left;
|
6
|
+
padding-left: 1em;
|
7
|
+
width: fit-content;
|
10
8
|
}
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
}
|
51
|
-
ul {
|
52
|
-
background: $white;
|
53
|
-
background: rgba(255,255,255,0);
|
54
|
-
list-style: none;
|
55
|
-
position: absolute;
|
56
|
-
margin-top: 10px;
|
57
|
-
visibility: hidden;
|
58
|
-
opacity: 0;
|
59
|
-
transition: opacity 0.2s;
|
60
|
-
li {
|
61
|
-
float: none;
|
62
|
-
}
|
63
|
-
a {
|
64
|
-
white-space: nowrap;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
&:hover ul {
|
68
|
-
visibility: visible;
|
69
|
-
opacity: 1;
|
70
|
-
transition: opacity 0.2s;
|
71
|
-
z-index: 99999;
|
72
|
-
}
|
9
|
+
|
10
|
+
.nav {
|
11
|
+
color: $white;
|
12
|
+
cursor: pointer;
|
13
|
+
font-weight: bold;
|
14
|
+
list-style: none;
|
15
|
+
padding: 1em;
|
16
|
+
|
17
|
+
ul {
|
18
|
+
opacity: 0;
|
19
|
+
position: absolute;
|
20
|
+
transition: opacity 0.2s;
|
21
|
+
visibility: hidden;
|
22
|
+
|
23
|
+
li {
|
24
|
+
padding: 0.75em 5em 0.5em 1em;
|
25
|
+
position: relative;
|
26
|
+
|
27
|
+
&:hover {
|
28
|
+
background-color: darken($dark-blue, 15%);
|
29
|
+
cursor: pointer;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
a {
|
34
|
+
color: $white;
|
35
|
+
text-decoration: none;
|
36
|
+
white-space: nowrap;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
&:hover ul {
|
41
|
+
background-color: $dark-blue;
|
42
|
+
margin-top: 1em;
|
43
|
+
opacity: 1;
|
44
|
+
transition: opacity 0.2s;
|
45
|
+
visibility: visible;
|
46
|
+
z-index: 99999;
|
47
|
+
}
|
73
48
|
}
|
@@ -1,74 +1,50 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
box-shadow: 0 5px #333;
|
5
|
-
}
|
6
|
-
}
|
1
|
+
.search {
|
2
|
+
display: grid;
|
3
|
+
grid-template-columns: 1fr 1fr;
|
7
4
|
|
8
|
-
.asset_filters {
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
5
|
+
.asset_filters {
|
6
|
+
|
7
|
+
a {
|
8
|
+
border: 1px solid #3c3a4b;
|
9
|
+
display: inline-block;
|
10
|
+
margin: 0.25em;
|
11
|
+
padding: 0.5em 0.75em;
|
12
|
+
text-decoration: none;
|
13
|
+
|
14
|
+
&:hover, &.pressed {
|
15
|
+
background-color: #3c3a4b;
|
16
|
+
color: #ffffff;
|
17
|
+
}
|
18
|
+
}
|
19
19
|
}
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
background: #888888;
|
27
|
-
box-shadow: inset 0 1px 1px #333;
|
28
|
-
color: white;
|
29
|
-
text-shadow: 0 1px 0 #333333;
|
20
|
+
|
21
|
+
.asset_search {
|
22
|
+
display: inline-block;
|
23
|
+
|
24
|
+
svg, input {
|
25
|
+
display: inline;
|
30
26
|
}
|
31
27
|
}
|
32
28
|
}
|
33
|
-
|
29
|
+
|
34
30
|
|
35
31
|
.popup {
|
36
32
|
div.toolbar {
|
37
|
-
|
38
|
-
|
39
|
-
border-bottom: 1px solid #cccccc;
|
40
|
-
box-shadow: 0 1px 0 white;
|
33
|
+
border-bottom: 1px solid #f3f3f4;
|
34
|
+
font-size: 95%;
|
41
35
|
margin: -20px -20px 0;
|
42
36
|
padding: 6px 10px 3px 10px;
|
43
|
-
|
44
|
-
height: 30px;
|
37
|
+
|
45
38
|
&:after {
|
46
39
|
clear: both;
|
47
40
|
content: "";
|
48
41
|
display: block;
|
49
42
|
}
|
50
|
-
.right {
|
51
|
-
float: right;
|
52
|
-
}
|
53
|
-
form.search {
|
54
|
-
padding: 4px 2px 0;
|
55
|
-
input[type=search] {
|
56
|
-
font-size: 12px;
|
57
|
-
border-radius: 100px;
|
58
|
-
border: 1px solid #cccccc;
|
59
|
-
border-top-color: #999999;
|
60
|
-
border-left-color: #b0b0b0;
|
61
|
-
border-right-color: #bbbbbb;
|
62
|
-
background: white url("/assets/admin/search.png") 4px center no-repeat;
|
63
|
-
box-shadow: inset 0 1px 0 rgba(black, 0.2);
|
64
|
-
width: 180px;
|
65
|
-
padding: 2px 8px 2px 20px;
|
66
|
-
}
|
67
43
|
}
|
68
|
-
|
44
|
+
|
69
45
|
#assets_table.assets {
|
70
46
|
overflow: auto;
|
71
|
-
}
|
47
|
+
}
|
72
48
|
}
|
73
49
|
|
74
50
|
#upload_holders {
|
@@ -77,215 +53,236 @@ p.asset {
|
|
77
53
|
|
78
54
|
#attach_asset {
|
79
55
|
.viewport {
|
56
|
+
height: 50vh;
|
80
57
|
overflow-x: hidden;
|
81
|
-
width:
|
82
|
-
|
83
|
-
}
|
58
|
+
width: 75vw;
|
59
|
+
}
|
84
60
|
}
|
85
61
|
|
86
62
|
.attachment_actions {
|
87
|
-
text-align: right;
|
88
63
|
margin-bottom: -1em;
|
64
|
+
text-align: right;
|
65
|
+
|
89
66
|
ul {
|
90
67
|
list-style-type: none;
|
68
|
+
|
91
69
|
&, & li {
|
70
|
+
display: inline;
|
92
71
|
margin: 0;
|
93
72
|
padding: 0;
|
94
|
-
display: inline;
|
95
73
|
}
|
96
74
|
}
|
75
|
+
|
97
76
|
li {
|
98
77
|
padding-left: 1em;
|
99
|
-
}
|
78
|
+
}
|
79
|
+
|
100
80
|
a {
|
101
81
|
color: white !important;
|
102
82
|
text-shadow: 1px 1px 0 #888888;
|
83
|
+
}
|
103
84
|
}
|
85
|
+
|
86
|
+
.asset_attachment {
|
87
|
+
margin-bottom: 2em;
|
88
|
+
position: relative;
|
89
|
+
|
90
|
+
.attach-assets {
|
91
|
+
.message {
|
92
|
+
margin: 1em 0;
|
93
|
+
}
|
94
|
+
}
|
104
95
|
}
|
105
96
|
|
106
97
|
.assets {
|
107
98
|
height: 150px;
|
108
|
-
|
109
|
-
padding-right: 5px;
|
99
|
+
|
110
100
|
ul {
|
111
101
|
li.asset {
|
112
102
|
display: block;
|
113
103
|
float: left;
|
104
|
+
height: 100px;
|
114
105
|
margin: 1em;
|
115
|
-
width: 110px;
|
116
|
-
height: 110px;
|
117
106
|
position: relative;
|
118
|
-
|
107
|
+
width: 100px;
|
108
|
+
|
119
109
|
.front, .back {
|
120
|
-
display: block;
|
121
110
|
background: #e6eaed;
|
122
111
|
border: 5px solid white;
|
123
|
-
|
124
|
-
width: 100px;
|
112
|
+
display: block;
|
125
113
|
height: 100px;
|
114
|
+
position: absolute;
|
126
115
|
text-align: center;
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
text-align: center;
|
131
|
-
}
|
116
|
+
width: 100px;
|
117
|
+
}
|
118
|
+
|
132
119
|
.back {
|
133
120
|
color: #333333;
|
134
|
-
overflow: hidden;
|
135
121
|
opacity: 0;
|
136
|
-
|
122
|
+
overflow: hidden;
|
123
|
+
}
|
124
|
+
|
137
125
|
.title {
|
138
126
|
color: #333333;
|
139
127
|
font-size: 10px;
|
140
|
-
overflow: hidden;
|
141
|
-
margin: 10px 4px;
|
142
128
|
height: 15px;
|
143
129
|
line-height: 15px;
|
130
|
+
margin: 10px 4px;
|
131
|
+
overflow: hidden;
|
144
132
|
text-overflow: ellipsis;
|
145
|
-
|
133
|
+
}
|
134
|
+
|
146
135
|
.icon {
|
147
136
|
height: 63px;
|
148
137
|
line-height: 63px;
|
138
|
+
|
149
139
|
img {
|
150
140
|
vertical-align: bottom;
|
141
|
+
}
|
151
142
|
}
|
152
|
-
|
143
|
+
|
153
144
|
ul.actions {
|
154
145
|
li {
|
146
|
+
font-size: 10px;
|
155
147
|
margin: 5px 0;
|
156
148
|
padding: 0 10px;
|
157
|
-
|
158
|
-
|
149
|
+
}
|
150
|
+
|
159
151
|
a {
|
160
152
|
background: #666666;
|
161
|
-
background: rgba(
|
162
|
-
|
163
|
-
color: #dddddd;
|
153
|
+
background: rgba(#000, 0.8);
|
154
|
+
color: #ffffff;
|
164
155
|
display: block;
|
165
|
-
padding:
|
156
|
+
padding: 0.5em;
|
166
157
|
text-decoration: none;
|
158
|
+
|
167
159
|
&:hover {
|
168
160
|
background: #999999;
|
169
161
|
background: rgba(black, 0.6);
|
170
162
|
color: white;
|
163
|
+
}
|
171
164
|
}
|
172
165
|
}
|
173
|
-
|
166
|
+
|
174
167
|
&.unsaved {
|
175
168
|
.front {
|
176
169
|
opacity: 0.4;
|
170
|
+
}
|
177
171
|
}
|
178
|
-
|
172
|
+
|
179
173
|
&:hover {
|
180
174
|
.back {
|
181
|
-
opacity: 1;
|
182
175
|
background: rgba(white, 0.6);
|
176
|
+
opacity: 1;
|
177
|
+
}
|
183
178
|
}
|
184
|
-
|
179
|
+
|
185
180
|
&.waiting {
|
186
181
|
background-color: #e6eaed;
|
182
|
+
|
187
183
|
.back {
|
188
184
|
display: none;
|
189
|
-
|
185
|
+
}
|
186
|
+
|
190
187
|
.front {
|
191
188
|
background: transparent url(/assets/admin/spinner.gif) no-repeat center center;
|
189
|
+
|
192
190
|
img {
|
193
191
|
opacity: 0.2;
|
192
|
+
}
|
194
193
|
}
|
195
194
|
}
|
196
195
|
}
|
197
196
|
}
|
198
197
|
}
|
199
|
-
|
198
|
+
|
200
199
|
|
201
200
|
#attachment_list.assets {
|
202
201
|
border-bottom-left-radius: 5px;
|
203
202
|
border-bottom-right-radius: 5px;
|
204
203
|
margin: -1em 0.5em 1em 0.5em;
|
205
|
-
overflow
|
206
|
-
|
204
|
+
overflow: auto;
|
205
|
+
|
207
206
|
ul.empty {
|
208
207
|
display: none;
|
209
|
-
}
|
208
|
+
}
|
209
|
+
|
210
210
|
p.note {
|
211
|
+
clear: left;
|
211
212
|
margin: 0;
|
212
213
|
padding: 8px;
|
213
|
-
|
214
|
+
|
214
215
|
span.message {
|
215
|
-
float: right;
|
216
216
|
color: #aaaaaa;
|
217
|
+
float: right;
|
218
|
+
|
217
219
|
&.important {
|
218
220
|
color: #dd9999;
|
221
|
+
}
|
219
222
|
}
|
220
223
|
}
|
221
|
-
|
224
|
+
|
222
225
|
ul.sortable {
|
223
226
|
li.asset {
|
224
227
|
div.back {
|
225
228
|
cursor: move;
|
229
|
+
}
|
226
230
|
}
|
227
231
|
}
|
228
232
|
}
|
229
|
-
}
|
230
233
|
|
231
234
|
#assets_table.assets {
|
232
|
-
position: relative;
|
233
235
|
font-size: 75%;
|
236
|
+
position: relative;
|
237
|
+
|
234
238
|
p {
|
235
|
-
padding: 40px {
|
236
|
-
top: 45px;
|
237
|
-
};
|
238
239
|
color: silver;
|
239
|
-
text-align: center;
|
240
240
|
font-style: oblique;
|
241
|
-
|
241
|
+
padding: 45px 40px;
|
242
|
+
text-align: center;
|
243
|
+
}
|
244
|
+
|
242
245
|
ul {
|
243
246
|
clear: both;
|
247
|
+
|
244
248
|
li.asset {
|
245
249
|
input {
|
246
250
|
display: none;
|
251
|
+
}
|
247
252
|
}
|
248
253
|
}
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
padding: 0.
|
261
|
-
margin: 1em 2px 1em 0;
|
262
|
-
border-radius: 2px;
|
254
|
+
|
255
|
+
.pagination {
|
256
|
+
clear: both;
|
257
|
+
padding: 1em;
|
258
|
+
|
259
|
+
a, .current {
|
260
|
+
border-bottom: 1px solid #3c3a4b;
|
261
|
+
border-left: 1px solid #3c3a4b;
|
262
|
+
border-right: 1px solid #3c3a4b;
|
263
|
+
border-top: 1px solid #3c3a4b;
|
264
|
+
margin-left: -5px;
|
265
|
+
padding: 0.15em 0.85em;
|
263
266
|
text-decoration: none;
|
264
|
-
|
265
|
-
span.current {
|
266
|
-
color: black;
|
267
|
-
font-weight: bold;
|
268
|
-
}
|
269
|
-
span.disabled {
|
270
|
-
background-color: #eeeeee;
|
271
|
-
color: #cccccc;
|
272
|
-
}
|
273
|
-
a {
|
274
|
-
background-color: #eeeeee;
|
275
|
-
color: #444444;
|
267
|
+
|
276
268
|
&:hover {
|
277
|
-
background-color: #
|
278
|
-
color:
|
269
|
+
background-color: #3c3a4b;
|
270
|
+
color: #ffffff;
|
271
|
+
}
|
272
|
+
}
|
273
|
+
|
274
|
+
.current {
|
275
|
+
background-color: #3c3a4b;
|
276
|
+
color: #ffffff;
|
277
|
+
}
|
278
|
+
|
279
|
+
.previous_page, .next_page {
|
280
|
+
border: none;
|
281
|
+
margin-right: 0.5em;
|
282
|
+
}
|
283
|
+
|
284
|
+
.gap {
|
285
|
+
margin-right: 0.5em;
|
279
286
|
}
|
280
287
|
}
|
281
|
-
span {
|
282
|
-
color: #888888;
|
283
|
-
}
|
284
|
-
span, a {
|
285
|
-
display: block;
|
286
|
-
float: left;
|
287
|
-
padding: 2px 6px;
|
288
|
-
line-height: 1.5em;
|
289
|
-
}
|
290
|
-
}
|
291
288
|
}
|