scrivito_editors 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +48 -0
  3. data/LICENSE +4 -0
  4. data/README.md +55 -0
  5. data/Rakefile +9 -0
  6. data/app/assets/fonts/editing_icons-webfont.eot +0 -0
  7. data/app/assets/fonts/editing_icons-webfont.ttf +0 -0
  8. data/app/assets/fonts/editing_icons-webfont.woff +0 -0
  9. data/app/assets/javascripts/jquery_additions/jquery_center.js.coffee +6 -0
  10. data/app/assets/javascripts/mediabrowser/inspector.js.coffee +65 -0
  11. data/app/assets/javascripts/mediabrowser/mediabrowser.js.coffee +420 -0
  12. data/app/assets/javascripts/mediabrowser/uploader.js.coffee +132 -0
  13. data/app/assets/javascripts/scrivito_editors.js +18 -0
  14. data/app/assets/javascripts/scrivito_editors/date_editor.js.coffee +50 -0
  15. data/app/assets/javascripts/scrivito_editors/enum_editor.js.coffee +36 -0
  16. data/app/assets/javascripts/scrivito_editors/html_editor.js.coffee +140 -0
  17. data/app/assets/javascripts/scrivito_editors/linklist_editor.js.coffee +176 -0
  18. data/app/assets/javascripts/scrivito_editors/multienum_editor.js.coffee +37 -0
  19. data/app/assets/javascripts/scrivito_editors/placeholder.js.coffee +22 -0
  20. data/app/assets/javascripts/scrivito_editors/reference_editor.js.coffee +28 -0
  21. data/app/assets/javascripts/scrivito_editors/referencelist_editor.js.coffee +111 -0
  22. data/app/assets/javascripts/scrivito_editors/slider_editor.js.coffee +39 -0
  23. data/app/assets/javascripts/scrivito_editors/string_editor.js.coffee +83 -0
  24. data/app/assets/javascripts/scrivito_editors/text_editor.js.coffee +85 -0
  25. data/app/assets/stylesheets/scrivito_editors.css +16 -0
  26. data/app/assets/stylesheets/scrivito_editors/buttons.css +161 -0
  27. data/app/assets/stylesheets/scrivito_editors/editors/linklist_editor.css +105 -0
  28. data/app/assets/stylesheets/scrivito_editors/editors/referencelist_editor.css +67 -0
  29. data/app/assets/stylesheets/scrivito_editors/editors/text_editor.css +7 -0
  30. data/app/assets/stylesheets/scrivito_editors/icons.css.erb +229 -0
  31. data/app/assets/stylesheets/scrivito_editors/mediabrowser.css +1010 -0
  32. data/app/assets/stylesheets/scrivito_editors/placeholder.css +17 -0
  33. data/app/assets/stylesheets/scrivito_editors/widget_preview.css +38 -0
  34. data/app/controllers/scrivito_editors/mediabrowser_controller.rb +36 -0
  35. data/app/views/layouts/scrivito_editors/mediabrowser/inspector.html.erb +11 -0
  36. data/app/views/scrivito_editors/mediabrowser/_buttons.html.erb +16 -0
  37. data/app/views/scrivito_editors/mediabrowser/_header.html.erb +25 -0
  38. data/app/views/scrivito_editors/mediabrowser/modal.html.erb +12 -0
  39. data/app/views/scrivito_editors/obj/details.html +5 -0
  40. data/config/initializers/mediabrowser.rb +13 -0
  41. data/config/routes.rb +5 -0
  42. data/lib/scrivito_editors.rb +4 -0
  43. data/lib/scrivito_editors/engine.rb +7 -0
  44. data/lib/scrivito_editors/version.rb +3 -0
  45. data/spec/dummy/README.rdoc +28 -0
  46. data/spec/dummy/Rakefile +6 -0
  47. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  48. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  49. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  50. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  51. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  52. data/spec/dummy/bin/bundle +3 -0
  53. data/spec/dummy/bin/rails +4 -0
  54. data/spec/dummy/bin/rake +4 -0
  55. data/spec/dummy/config.ru +4 -0
  56. data/spec/dummy/config/application.rb +23 -0
  57. data/spec/dummy/config/boot.rb +5 -0
  58. data/spec/dummy/config/database.yml +25 -0
  59. data/spec/dummy/config/environment.rb +5 -0
  60. data/spec/dummy/config/environments/development.rb +29 -0
  61. data/spec/dummy/config/environments/production.rb +80 -0
  62. data/spec/dummy/config/environments/test.rb +36 -0
  63. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  64. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  65. data/spec/dummy/config/initializers/inflections.rb +16 -0
  66. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  67. data/spec/dummy/config/initializers/secret_token.rb +12 -0
  68. data/spec/dummy/config/initializers/session_store.rb +3 -0
  69. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  70. data/spec/dummy/config/locales/en.yml +23 -0
  71. data/spec/dummy/config/routes.rb +4 -0
  72. data/spec/dummy/public/404.html +58 -0
  73. data/spec/dummy/public/422.html +58 -0
  74. data/spec/dummy/public/500.html +57 -0
  75. data/spec/dummy/public/favicon.ico +0 -0
  76. data/spec/spec_helper.rb +13 -0
  77. data/vendor/assets/fonts/redactor-font.eot +0 -0
  78. data/vendor/assets/javascripts/jquery-ui-timepicker-addon.min.js +5 -0
  79. data/vendor/assets/javascripts/redactor.js +7869 -0
  80. data/vendor/assets/stylesheets/jquery-ui-timepicker-addon.min.css +5 -0
  81. data/vendor/assets/stylesheets/redactor.css.erb +968 -0
  82. metadata +240 -0
@@ -0,0 +1,105 @@
1
+ /*
2
+ An editor to handle CMS linklist attributes.
3
+ */
4
+
5
+ [data-scrivito-field-type="linklist"] ul {
6
+ list-style: none;
7
+ margin: 0;
8
+ padding: 0;
9
+ }
10
+
11
+ [data-scrivito-field-type="linklist"] ul li{
12
+ background-color: #f1f1f1;
13
+ border-radius: 5px;
14
+ -webkit-border-radius: 5px;
15
+ -moz-border-radius: 5px;
16
+ margin: 0 0 10px 0;
17
+ overflow: hidden;
18
+ padding: 10px 10px 10px 10px;
19
+ position: relative;
20
+ }
21
+
22
+ [data-scrivito-field-type="linklist"] ul li:last-child {
23
+ margin: 0;
24
+ }
25
+
26
+ [data-scrivito-field-type="linklist"] ul li.ui-sortable-placeholder:before {
27
+ display:none;
28
+ }
29
+
30
+ [data-scrivito-field-type="linklist"] ul li .list-content {
31
+ float: left;
32
+ line-height: 35px;
33
+ width: 70%;
34
+ }
35
+
36
+ [data-scrivito-field-type="linklist"] ul li .list-content a {
37
+ display:block;
38
+ }
39
+
40
+ [data-scrivito-field-type="linklist"] ul li .actions {
41
+ position: absolute;
42
+ top: 11px;
43
+ right: 11px;
44
+ }
45
+
46
+ [data-scrivito-field-type="linklist"] ul li .actions .editing-button {
47
+ margin: 0 0 0 10px;
48
+ }
49
+
50
+
51
+ [data-scrivito-display-mode="editing"] [data-scrivito-field-type="linklist"] ul li {
52
+ padding: 10px 135px 10px 25px;
53
+ }
54
+
55
+ [data-scrivito-display-mode="editing"] [data-scrivito-field-type="linklist"] ul li:before {
56
+ color: #999;
57
+ content: '||';
58
+ font-size: 17px;
59
+ left: 10px;
60
+ position: absolute;
61
+ top: 35%;
62
+ }
63
+
64
+ [data-scrivito-display-mode="editing"] [data-scrivito-field-type="linklist"] ul li:hover {
65
+ background-color: #e6f3f7;
66
+ cursor: move;
67
+ }
68
+
69
+ [data-scrivito-display-mode="editing"] [data-scrivito-field-type="linklist"] ul li.ui-sortable-placeholder {
70
+ background: #f3f3f3;
71
+ border: 2px dashed #9bc2cf;
72
+ opacity: .5;
73
+ visibility: visible!important;
74
+ }
75
+
76
+ [data-scrivito-display-mode="editing"] [data-scrivito-field-type="linklist"] ul li input {
77
+ background: #fff;
78
+ border: 1px solid #ddd;
79
+ -webkit-border-radius: 5px;
80
+ -moz-border-radius: 5px;
81
+ border-radius: 5px;
82
+ color: #555555;
83
+ display: block;
84
+ float: left;
85
+ font-size: 14px;
86
+ height: 34px;
87
+ margin: 0 10px 5px 0;
88
+ padding: 6px 12px;
89
+ width: 100%;
90
+ }
91
+
92
+ @media (max-width: 1100px) {
93
+ [data-scrivito-display-mode="editing"] [data-scrivito-field-type="linklist"] ul li {
94
+ padding: 10px 10px 10px 25px;
95
+ }
96
+
97
+ [data-scrivito-field-type="linklist"] ul li .actions {
98
+ float: left;
99
+ position: static;
100
+ }
101
+
102
+ [data-scrivito-field-type="linklist"] ul li .actions .editing-button {
103
+ margin: 0 10px 0 0;
104
+ }
105
+ }
@@ -0,0 +1,67 @@
1
+ /*
2
+ An editor to handle CMS referencelist attributes.
3
+ */
4
+
5
+ [data-scrivito-field-type="referencelist"] ul {
6
+ list-style: none;
7
+ margin: 0;
8
+ padding: 0;
9
+ }
10
+
11
+ [data-scrivito-field-type="referencelist"] ul li {
12
+ background-color: #f1f1f1;
13
+ border-radius: 5px;
14
+ -webkit-border-radius: 5px;
15
+ -moz-border-radius: 5px;
16
+ margin: 0 0 10px 0;
17
+ overflow: hidden;
18
+ padding: 10px 10px 10px 10px;
19
+ position: relative;
20
+ }
21
+
22
+ [data-scrivito-field-type="referencelist"] ul li:last-child {
23
+ margin: 0;
24
+ }
25
+
26
+ [data-scrivito-field-type="referencelist"] ul li.ui-sortable-placeholder:before {
27
+ display:none;
28
+ }
29
+
30
+ [data-scrivito-field-type="referencelist"] ul li .list-content {
31
+ float: left;
32
+ width: 70%;
33
+ line-height: 35px;
34
+ }
35
+
36
+ [data-scrivito-field-type="referencelist"] ul li .actions {
37
+ float: right;
38
+ }
39
+
40
+ [data-scrivito-field-type="referencelist"] ul li .actions .editing-button {
41
+ margin: 0 0 0 10px;
42
+ }
43
+
44
+ [data-scrivito-display-mode="editing"] [data-scrivito-field-type="referencelist"] ul li {
45
+ padding: 10px 10px 10px 25px;
46
+ }
47
+
48
+ [data-scrivito-display-mode="editing"] [data-scrivito-field-type="referencelist"] ul li:before {
49
+ content: '||';
50
+ color: #999;
51
+ font-size: 17px;
52
+ left: 10px;
53
+ position: absolute;
54
+ top: 25%;
55
+ }
56
+
57
+ [data-scrivito-display-mode="editing"] [data-scrivito-field-type="referencelist"] ul li:hover {
58
+ background-color: #e6f3f7;
59
+ cursor: move;
60
+ }
61
+
62
+ [data-scrivito-display-mode="editing"] [data-scrivito-field-type="referencelist"] ul li.ui-sortable-placeholder {
63
+ background: #f3f3f3;
64
+ border: 2px dashed #9bc2cf;
65
+ opacity: .5;
66
+ visibility: visible!important;
67
+ }
@@ -0,0 +1,7 @@
1
+ /*
2
+ Styles for the text in-place editor.
3
+ */
4
+
5
+ [data-scrivito-display-mode="editing"] .text-editor textarea {
6
+ width: 98%;
7
+ }
@@ -0,0 +1,229 @@
1
+ /*
2
+ Icon font styles
3
+
4
+ All editing icons are stored in a font for better quality, easy access and flexibility. Fonts for
5
+ all browsers are provided for maximum compatibility. Editing icons are used for placeholder but
6
+ also for the widget or object class thumbnail views. All icons are referencable by a specific
7
+ class name "editing-icon-*".
8
+ */
9
+
10
+ @font-face {
11
+ font-family: 'editing_iconsregular';
12
+ font-style: normal;
13
+ src: url('<%= asset_path('editing_icons-webfont.eot') %>');
14
+ src: url('<%= asset_path('editing_icons-webfont.woff') %>') format('woff'), url('<%= asset_path('editing_icons-webfont.ttf') %>') format('truetype');
15
+ font-weight: normal;
16
+ }
17
+
18
+ .editing-icon {
19
+ display: inline-block;
20
+ font-family: 'editing_iconsregular';
21
+ font-style: normal;
22
+ font-weight: normal;
23
+ text-decoration: none;
24
+ vertical-align: middle;
25
+ }
26
+
27
+ .editing-icon-ip:after {
28
+ content: "\F000";
29
+ }
30
+
31
+ .editing-icon-text:after {
32
+ content: "\F001";
33
+ }
34
+
35
+ .editing-icon-image:after {
36
+ content: "\F002";
37
+ }
38
+
39
+ .editing-icon-headline:after {
40
+ content: "\F003";
41
+ }
42
+
43
+ .editing-icon-video:after {
44
+ content: "\F004";
45
+ }
46
+
47
+ .editing-icon-map:after {
48
+ content: "\F005";
49
+ }
50
+
51
+ .editing-icon-table:after {
52
+ content: "\F006";
53
+ }
54
+
55
+ .editing-icon-slider:after {
56
+ content: "\F007";
57
+ }
58
+
59
+ .editing-icon-list:after {
60
+ content: "\F008";
61
+ }
62
+
63
+ .editing-icon-downloads:after {
64
+ content: "\F009";
65
+ }
66
+
67
+ .editing-icon-person:after {
68
+ content: "\F00A";
69
+ }
70
+
71
+ .editing-icon-presentation:after {
72
+ content: "\F00B";
73
+ }
74
+
75
+ .editing-icon-login:after {
76
+ content: "\F00C";
77
+ }
78
+
79
+ .editing-icon-teaser:after {
80
+ content: "\F00D";
81
+ }
82
+
83
+ .editing-icon-interactive:after {
84
+ content: "\F00E";
85
+ }
86
+
87
+ .editing-icon-hr:after {
88
+ content: "\F00F";
89
+ }
90
+
91
+ .editing-icon-1col:after {
92
+ content: "\F010";
93
+ }
94
+
95
+ .editing-icon-2cols:after {
96
+ content: "\F011";
97
+ }
98
+
99
+ .editing-icon-2colsl:after {
100
+ content: "\F012";
101
+ }
102
+
103
+ .editing-icon-2colsr:after {
104
+ content: "\F013";
105
+ }
106
+
107
+ .editing-icon-3cols:after {
108
+ content: "\F014";
109
+ }
110
+
111
+ .editing-icon-workspaces:after {
112
+ content: "\F015";
113
+ }
114
+
115
+ .editing-icon-tag:after {
116
+ content: "\F018";
117
+ }
118
+
119
+ .editing-icon-link:after {
120
+ content: "\F01D";
121
+ }
122
+
123
+ .editing-icon-box:after {
124
+ content: "\F020";
125
+ }
126
+
127
+ .editing-icon-puzzle:after {
128
+ content: "\F021";
129
+ }
130
+
131
+ .editing-icon-search:after {
132
+ content: "\F022";
133
+ }
134
+
135
+ .editing-icon-dates:after {
136
+ content: "\F023";
137
+ }
138
+
139
+ .editing-icon-newsletter:after {
140
+ content: "\F024";
141
+ }
142
+
143
+ .editing-icon-special:after {
144
+ content: "\F025";
145
+ }
146
+
147
+ .editing-icon-edit:after {
148
+ content: "\F026";
149
+ }
150
+
151
+ .editing-icon-ok:after {
152
+ content: "\F027";
153
+ }
154
+
155
+ .editing-icon-cancel:after {
156
+ content: "\F028";
157
+ }
158
+
159
+ .editing-icon-eye:after {
160
+ content: "\F029";
161
+ }
162
+
163
+ .editing-icon-ok-box:after {
164
+ content: "\F02B";
165
+ }
166
+
167
+ .editing-icon-group:after {
168
+ content: "\F02C";
169
+ }
170
+
171
+ .editing-icon-generic:after {
172
+ content: "\F02E";
173
+ }
174
+
175
+ .editing-icon-pdf:after {
176
+ content: "\F02F";
177
+ }
178
+
179
+ .editing-icon-trash:after {
180
+ content: "\F038";
181
+ }
182
+
183
+ .editing-icon-chevron-up:after {
184
+ content: "\F039";
185
+ }
186
+
187
+ .editing-icon-chevron-down:after {
188
+ content: "\F03A";
189
+ }
190
+
191
+ .editing-icon-chevron-left:after {
192
+ content: "\F03B";
193
+ }
194
+
195
+ .editing-icon-chevron-right:after {
196
+ content: "\F03C";
197
+ }
198
+
199
+ .editing-icon-refresh:after {
200
+ content: "\F03D";
201
+ }
202
+
203
+ .editing-icon-reorder:after {
204
+ content: "\F03E";
205
+ }
206
+
207
+ .editing-icon-th-small:after {
208
+ content: "\F03F";
209
+ }
210
+
211
+ .editing-icon-th-medium:after {
212
+ content: "\F040";
213
+ }
214
+
215
+ .editing-icon-th:after {
216
+ content: "\F041";
217
+ }
218
+
219
+ .editing-icon-th-large:after {
220
+ content: "\F042";
221
+ }
222
+
223
+ .editing-icon-search:after {
224
+ content: "\F043";
225
+ }
226
+
227
+ .editing-icon-plus:after {
228
+ content: "\F044";
229
+ }
@@ -0,0 +1,1010 @@
1
+ /*
2
+ A mediabrowser modal window to add, edit, delete, select and search CMS resources. Each resource
3
+ type like Image or BlogPost has its own item representation and custom edit view. All styles are
4
+ bootstrap independent. You are free to customize the mediabrowser to your likings.
5
+ */
6
+
7
+ .editing-overlay {
8
+ background: rgba(0, 0, 0, 0.8);
9
+ opacity: 0;
10
+ filter: alpha(opacity=0);
11
+ -webkit-transition: opacity 0.5s linear;
12
+ -moz-transition: opacity 0.5s linear;
13
+ -o-transition: opacity 0.5s linear;
14
+ transition: opacity 0.5s linear;
15
+ position: fixed;
16
+ z-index: 222222;
17
+ }
18
+
19
+ .editing-overlay.show {
20
+ opacity: 0.85;
21
+ filter: alpha(opacity=85);
22
+ -webkit-transition: opacity 0.3s linear;
23
+ -moz-transition: opacity 0.3s linear;
24
+ -o-transition: opacity 0.3s linear;
25
+ transition: opacity 0.3s linear;
26
+ bottom: 0;
27
+ left: 0;
28
+ right: 0;
29
+ top: 0;
30
+ z-index: 222222;
31
+ }
32
+
33
+ .editing-mediabrowser {
34
+ -webkit-border-radius: 5px;
35
+ -moz-border-radius: 5px;
36
+ border-radius: 5px;
37
+ -webkit-box-shadow: 0 5px 30px #000000;
38
+ -moz-box-shadow: 0 5px 30px #000000;
39
+ box-shadow: 0 5px 30px #000000;
40
+ opacity: 0;
41
+ filter: alpha(opacity=0);
42
+ -webkit-transition: opacity 0.5s linear;
43
+ -moz-transition: opacity 0.5s linear;
44
+ -o-transition: opacity 0.5s linear;
45
+ transition: opacity 0.5s linear;
46
+ background: #fff;
47
+ font-family: Arial, sans-serif;
48
+ height: 90%;
49
+ left: 50%;
50
+ margin: -250px 0 0 -40%;
51
+ overflow: hidden;
52
+ position: fixed;
53
+ top: 50%;
54
+ visibility: hidden;
55
+ width: 90%;
56
+ z-index: 3333333;
57
+ }
58
+
59
+ .editing-mediabrowser.show {
60
+ opacity: 1;
61
+ filter: alpha(opacity=100);
62
+ -webkit-transition: opacity 0.3s linear;
63
+ -moz-transition: opacity 0.3s linear;
64
+ -o-transition: opacity 0.3s linear;
65
+ transition: opacity 0.3s linear;
66
+ top: 50%;
67
+ visibility: visible;
68
+ z-index: 3333333;
69
+ }
70
+
71
+ .editing-mediabrowser .editing-mediabrowser-footer .editing-button {
72
+ float: right;
73
+ margin: 0 10px 0 0;
74
+ }
75
+
76
+ .editing-mediabrowser .editing-mediabrowser-body {
77
+ -webkit-box-sizing: border-box;
78
+ -moz-box-sizing: border-box;
79
+ box-sizing: border-box;
80
+ background:#eee;
81
+ clear: both;
82
+ height: 100%;
83
+ margin: 0;
84
+ padding: 0 0 50px 0;
85
+ position: relative;
86
+ }
87
+
88
+ .editing-mediabrowser .editing-mediabrowser-wrapper {
89
+ -webkit-box-sizing: border-box;
90
+ -moz-box-sizing: border-box;
91
+ box-sizing: border-box;
92
+ float: left;
93
+ height: 100%;
94
+ padding-top: 50px;
95
+ position: relative;
96
+ width: 70%;
97
+ }
98
+
99
+ .editing-mediabrowser .editing-mediabrowser-topbar {
100
+ background: #666;
101
+ color:#fff;
102
+ -webkit-box-shadow: -3px 0 5px -3px #333 inset;
103
+ -moz-box-shadow: -3px 0 5px -3px #333 inset;
104
+ box-shadow: -3px 0 5px -3px #333 inset;
105
+ -webkit-box-sizing: border-box;
106
+ -moz-box-sizing: border-box;
107
+ box-sizing: border-box;
108
+ height: 50px;
109
+ left: 0;
110
+ padding: 11px 10px 9px 10px;
111
+ position: absolute;
112
+ top: 0;
113
+ width: 100%;
114
+ }
115
+
116
+ .editing-mediabrowser .editing-mediabrowser-search {
117
+ float: left;
118
+ position: relative;
119
+ width: 65%;
120
+ }
121
+
122
+ .editing-mediabrowser .editing-mediabrowser-search .search-field {
123
+ border:0px;
124
+ color:#333;
125
+ -webkit-border-radius: 15px 0 0 15px;
126
+ -moz-border-radius: 15px 0 0 15px;
127
+ border-radius: 15px 0 0 15px;
128
+ -webkit-box-shadow: 0 0 3px #ccc inset,0 0 8px rgba(109, 131, 166, .0);
129
+ -moz-box-shadow: 0 0 3px #ccc inset,0 0 8px rgba(109, 131, 166, .0);
130
+ box-shadow: 0 0 3px #ccc inset,0 0 8px rgba(109, 131, 166, .0);
131
+ -webkit-box-sizing: border-box;
132
+ -moz-box-sizing: border-box;
133
+ box-sizing: border-box;
134
+ -webkit-transition: border linear .5s, box-shadow linear .5s;
135
+ -moz-transition: border linear .5s, box-shadow linear .5s;
136
+ -o-transition: border linear .5s, box-shadow linear .5s;
137
+ transition: border linear .5s, box-shadow linear .5s;
138
+ display: block;
139
+ float: left;
140
+ font-size: 14px;
141
+ height: 30px;
142
+ line-height: 30px;
143
+ margin: 0;
144
+ padding: 4px 14px;
145
+ width: 300px;
146
+ }
147
+
148
+ .editing-mediabrowser .editing-mediabrowser-search .search-field:focus {
149
+ -webkit-box-shadow: 0 0 1px #aaa inset,0 0 8px rgba(109, 131, 166, .6);
150
+ -moz-box-shadow: 0 0 1px #aaa inset,0 0 8px rgba(109, 131, 166, .6);
151
+ box-shadow: 0 0 1px #aaa inset,0 0 8px rgba(109, 131, 166, .6);
152
+ -webkit-transition: box-shadow linear .5s;
153
+ -moz-transition: box-shadow linear .5s;
154
+ -o-transition: box-shadow linear .5s;
155
+ transition: box-shadow linear .5s;
156
+ outline: 0;
157
+ }
158
+
159
+ .editing-mediabrowser .editing-mediabrowser-search .search-field-button {
160
+ background: #7EA46A;
161
+ -webkit-border-radius: 0 15px 15px 0;
162
+ -moz-border-radius: 0 15px 15px 0;
163
+ border-radius: 0 15px 15px 0;
164
+ -webkit-box-sizing: border-box;
165
+ -moz-box-sizing: border-box;
166
+ box-sizing: border-box;
167
+ -webkit-user-select: none;
168
+ -moz-user-select: none;
169
+ -ms-user-select: none;
170
+ -o-user-select: none;
171
+ user-select: none;
172
+ border: 0px;
173
+ border-left: none;
174
+ color: #fff;
175
+ cursor: pointer;
176
+ display: block;
177
+ float: left;
178
+ font-size: 14px;
179
+ font-weight: normal;
180
+ height: 30px;
181
+ margin: 0;
182
+ padding: 0;
183
+ text-align: center;
184
+ width: 80px;
185
+ }
186
+
187
+ .editing-mediabrowser .editing-mediabrowser-search .search-field-button:hover {
188
+ background: #94BA80;
189
+ color: #fff;
190
+ cursor: pointer;
191
+ }
192
+
193
+ .editing-mediabrowser .editing-mediabrowser-search .search-field-button:active {
194
+ background: #7EA46A;
195
+ color: #fff;
196
+ cursor: pointer;
197
+ }
198
+
199
+ .editing-mediabrowser .editing-mediabrowser-topbar .editing-button-view {
200
+ display: block;
201
+ float: right;
202
+ height: 32px;
203
+ line-height: 32px;
204
+ padding: 0 7px;
205
+ }
206
+
207
+ .editing-mediabrowser .editing-mediabrowser-topbar .editing-button-view:hover {
208
+ cursor: pointer;
209
+ }
210
+
211
+ .editing-mediabrowser .editing-mediabrowser-topbar .editing-button-view .editing-icon {
212
+ -webkit-transition: all 0.3s ease-in-out;
213
+ -moz-transition: all 0.3s ease-in-out;
214
+ -o-transition: all 0.3s ease-in-out;
215
+ transition: all 0.3s ease-in-out;
216
+ color: #fff;
217
+ font-size: 9px;
218
+ line-height: 32px;
219
+ text-shadow: 0 0 2px #333;
220
+ }
221
+
222
+ .editing-mediabrowser .editing-mediabrowser-topbar .editing-button-view:hover .editing-icon,
223
+ .editing-mediabrowser .editing-mediabrowser-topbar .editing-button-view.active .editing-icon {
224
+ -webkit-transition: all 0.3s ease-in-out;
225
+ -moz-transition: all 0.3s ease-in-out;
226
+ -o-transition: all 0.3s ease-in-out;
227
+ transition: all 0.3s ease-in-out;
228
+ color: #7EA46A;
229
+ }
230
+
231
+ .editing-mediabrowser .editing-mediabrowser-filter,
232
+ .editing-mediabrowser .editing-mediabrowser-items,
233
+ .editing-mediabrowser .editing-mediabrowser-inspector {
234
+ -webkit-box-sizing: border-box;
235
+ -moz-box-sizing: border-box;
236
+ box-sizing: border-box;
237
+ background: #eee;
238
+ float: left;
239
+ height: 100%;
240
+ overflow: auto;
241
+ position: relative;
242
+ -webkit-overflow-scrolling: touch;
243
+ }
244
+
245
+ .editing-mediabrowser .editing-mediabrowser-filter {
246
+ background-color: #fafafa;
247
+ -webkit-box-shadow: 0 -3px 4px -3px #bbb inset,0 3px 4px -3px #bbb inset;
248
+ -moz-box-shadow: 0 -3px 4px -3px #bbb inset,0 3px 4px -3px #bbb inset;
249
+ box-shadow: 0 -3px 4px -3px #bbb inset,0 3px 4px -3px #bbb inset;
250
+ padding: 0;
251
+ width: 17%;
252
+ }
253
+
254
+ .editing-mediabrowser .editing-mediabrowser-items {
255
+ background: #CCCCCC;
256
+ -webkit-box-shadow: 0 0 4px #666 inset;
257
+ -moz-box-shadow: 0 0 4px #666 inset;
258
+ box-shadow: 0 0 4px #666 inset;
259
+ padding: 0;
260
+ width: 83%;
261
+ }
262
+
263
+ .editing-mediabrowser .editing-mediabrowser-inspector {
264
+ -webkit-box-shadow: 0 -3px 4px -3px #bbbbbb inset;
265
+ -moz-box-shadow: 0 -3px 4px -3px #bbbbbb inset;
266
+ box-shadow: 0 -3px 4px -3px #bbbbbb inset;
267
+ padding: 0 15px;
268
+ width: 30%;
269
+ }
270
+
271
+ .editing-mediabrowser .editing-mediabrowser-footer {
272
+ background: #eee;
273
+ -webkit-box-sizing: border-box;
274
+ -moz-box-sizing: border-box;
275
+ box-sizing: border-box;
276
+ *zoom: 1;
277
+ bottom: 0;
278
+ left: 0;
279
+ height: 50px;
280
+ margin: 0;
281
+ padding: 10px 0;
282
+ position: absolute;
283
+ text-align: right;
284
+ width: 100%;
285
+ }
286
+
287
+ .editing-mediabrowser .editing-mediabrowser-footer:before,
288
+ .editing-mediabrowser .editing-mediabrowser-footer:after {
289
+ display: table;
290
+ content: "";
291
+ line-height: 0;
292
+ }
293
+
294
+ .editing-mediabrowser .editing-mediabrowser-footer:after {
295
+ clear: both;
296
+ }
297
+
298
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items {
299
+ display: block;
300
+ list-style-type: none;
301
+ margin: 0;
302
+ padding: 0;
303
+ }
304
+
305
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items li {
306
+ *zoom: 1;
307
+ border-bottom: 1px solid #eee;
308
+ border-top: 1px solid #fff;
309
+ display: block;
310
+ margin: 0;
311
+ padding: 8px 5px 8px 8px;
312
+ }
313
+
314
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items li:before,
315
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items li:after {
316
+ display: table;
317
+ content: "";
318
+ line-height: 0;
319
+ }
320
+
321
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items li:after {
322
+ clear: both;
323
+ }
324
+
325
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items li:first-child {
326
+ border-top: 1px solid transparent;
327
+ }
328
+
329
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items li:hover,
330
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items li.active {
331
+ background: #7EA46A;
332
+ border-bottom: 1px solid #658B51;
333
+ border-top: 1px solid #658B51;
334
+ cursor: pointer;
335
+ position: relative;
336
+ z-index: 2;
337
+ }
338
+
339
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items li:hover .editing-icon,
340
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items li.active .editing-icon,
341
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items li:hover .editing-mediabrowser-filter-name,
342
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items li.active .editing-mediabrowser-filter-name {
343
+ color: #fff;
344
+ text-shadow: 0 1px 1px #888;
345
+ }
346
+
347
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items li.separator {
348
+ background-color: #f8f8f8;
349
+ background-image: -moz-linear-gradient(top, #ffffff, #eeeeee);
350
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#eeeeee));
351
+ background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee);
352
+ background-image: -o-linear-gradient(top, #ffffff, #eeeeee);
353
+ background-image: linear-gradient(to bottom, #ffffff, #eeeeee);
354
+ background-repeat: repeat-x;
355
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffeeeeee', GradientType=0);
356
+ -webkit-box-shadow: 0 0 1px #aaaaaa;
357
+ -moz-box-shadow: 0 0 1px #aaaaaa;
358
+ box-shadow: 0 0 1px #aaaaaa;
359
+ border: none;
360
+ height: 4px;
361
+ padding: 0;
362
+ position: relative;
363
+ z-index: 2;
364
+ }
365
+
366
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items li.selected-items {
367
+ -webkit-box-shadow: 0 0 3px #cccccc inset;
368
+ -moz-box-shadow: 0 0 3px #cccccc inset;
369
+ box-shadow: 0 0 3px #cccccc inset;
370
+ background: #eee;
371
+ }
372
+
373
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items li.selected-items:hover,
374
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items li.selected-items.active {
375
+ -webkit-box-shadow: 0 0 3px #333333 inset;
376
+ -moz-box-shadow: 0 0 3px #333333 inset;
377
+ box-shadow: 0 0 3px #333333 inset;
378
+ background: #5A8BD1;
379
+ }
380
+
381
+ .editing-mediabrowser .editing-mediabrowser-counter {
382
+ -webkit-border-radius: 15px;
383
+ -moz-border-radius: 15px;
384
+ border-radius: 15px;
385
+ background: #444;
386
+ color: #fff;
387
+ display: inline-block;
388
+ font-size: 10px;
389
+ font-weight: bold;
390
+ line-height: 11px;
391
+ margin: 1px -5px 0 7px;
392
+ padding: 1px 6px;
393
+ }
394
+
395
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items .editing-icon {
396
+ color: #666;
397
+ display: inline-block;
398
+ font-size: 12px;
399
+ line-height: 20px;
400
+ padding: 0 7px 0 0;
401
+ text-shadow: 0 1px 1px #fff;
402
+ }
403
+
404
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items .editing-mediabrowser-filter-name {
405
+ color: #666;
406
+ display: inline-block;
407
+ font-size: 11px;
408
+ font-weight: bold;
409
+ line-height: 20px;
410
+ }
411
+
412
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items li:hover .editing-mediabrowser-counter,
413
+ .editing-mediabrowser ul.editing-mediabrowser-filter-items li.active .editing-mediabrowser-counter {
414
+ background: #fff;
415
+ color: #5a8bd1;
416
+ text-shadow: 0 0 0 #fff;
417
+ }
418
+
419
+ .editing-mediabrowser .editing-mediabrowser-items.uploader-drag-over {
420
+ background: #658b51;
421
+ -webkit-box-shadow: 0 0 4px #333333 inset;
422
+ -moz-box-shadow: 0 0 4px #333333 inset;
423
+ box-shadow: 0 0 4px #333333 inset;
424
+ }
425
+
426
+ .editing-mediabrowser .editing-mediabrowser-items.uploader-drag-over:before {
427
+ -webkit-user-select: none;
428
+ -moz-user-select: none;
429
+ -ms-user-select: none;
430
+ -o-user-select: none;
431
+ user-select: none;
432
+ color: #fff;
433
+ content: '\F044';
434
+ display: block;
435
+ text-align: center;
436
+ font-family: 'editing_iconsregular';
437
+ font-size: 83px;
438
+ font-style: normal;
439
+ font-weight: normal;
440
+ position: absolute;
441
+ top: 50%;
442
+ vertical-align: middle;
443
+ width: 83%;
444
+ }
445
+
446
+ .editing-mediabrowser .editing-mediabrowser-items.uploader-drag-over ul.editing-mediabrowser-thumbnails {
447
+ opacity: 0.3;
448
+ filter: alpha(opacity=30);
449
+ }
450
+
451
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails {
452
+ display: block;
453
+ list-style-type: none;
454
+ margin: 0;
455
+ overflow: hidden;
456
+ padding: 15px 0 0 15px;
457
+ }
458
+
459
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails li {
460
+ -webkit-border-radius: 4px;
461
+ -moz-border-radius: 4px;
462
+ border-radius: 4px;
463
+ -webkit-box-shadow: 0 0 4px #888888;
464
+ -moz-box-shadow: 0 0 4px #888888;
465
+ box-shadow: 0 0 4px #888888;
466
+ -webkit-transition: all 0.3s ease-in-out;
467
+ -moz-transition: all 0.3s ease-in-out;
468
+ -o-transition: all 0.3s ease-in-out;
469
+ transition: all 0.3s ease-in-out;
470
+ background: #fff;
471
+ display: block;
472
+ float: left;
473
+ height: 200px;
474
+ line-height: normal;
475
+ margin: 0 15px 15px 0;
476
+ overflow: hidden;
477
+ padding: 0;
478
+ width: 200px;
479
+ }
480
+
481
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails li:hover {
482
+ -webkit-box-shadow: 0 0 7px 0px #555555;
483
+ -moz-box-shadow: 0 0 7px 0px #555555;
484
+ box-shadow: 0 0 7px 0px #555555;
485
+ -webkit-transition: all 0.3s ease-in-out;
486
+ -moz-transition: all 0.3s ease-in-out;
487
+ -o-transition: all 0.3s ease-in-out;
488
+ transition: all 0.3s ease-in-out;
489
+ cursor: pointer;
490
+ }
491
+
492
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails li.active {
493
+ -webkit-box-shadow: 0 0 3px 4px #658B51;
494
+ -moz-box-shadow: 0 0 3px 4px #658B51;
495
+ box-shadow: 0 0 3px 4px #658B51;
496
+ }
497
+
498
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails li .editing-mediabrowser-preview {
499
+ background: #eee;
500
+ height: 160px;
501
+ overflow: hidden;
502
+ position: relative;
503
+ }
504
+
505
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails li .editing-mediabrowser-preview img {
506
+ display: block;
507
+ height: 100%;
508
+ margin: 0 auto;
509
+ }
510
+
511
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails li .editing-mediabrowser-preview .editing-icon {
512
+ color: #bfbfbf;
513
+ display: block;
514
+ float: none;
515
+ font-size: 50px;
516
+ line-height: 160px;
517
+ text-align: center;
518
+ text-shadow: 0 1px 1px #fff;
519
+ }
520
+
521
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails li .editing-mediabrowser-meta {
522
+ -webkit-box-sizing: border-box;
523
+ -moz-box-sizing: border-box;
524
+ box-sizing: border-box;
525
+ height: 40px;
526
+ padding: 5px 35px 5px 5px;
527
+ position: relative;
528
+ }
529
+
530
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails li .editing-mediabrowser-thumbnails-name {
531
+ color: #555;
532
+ display: block;
533
+ font-size: 11px;
534
+ font-weight: bold;
535
+ line-height: 30px;
536
+ overflow: hidden;
537
+ text-overflow: ellipsis;
538
+ white-space: nowrap;
539
+ }
540
+
541
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails li .editing-mediabrowser-thumbnails-size {
542
+ color: #aaa;
543
+ display: block;
544
+ font-size: 10px;
545
+ font-weight: bold;
546
+ line-height: 15px;
547
+ overflow: hidden;
548
+ text-overflow: ellipsis;
549
+ white-space: nowrap;
550
+ }
551
+
552
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails li .editing-mediabrowser-inspect:before {
553
+ -webkit-user-select: none;
554
+ -moz-user-select: none;
555
+ -ms-user-select: none;
556
+ -o-user-select: none;
557
+ user-select: none;
558
+ background: #7EA46A;
559
+ top: 0;
560
+ color: #fff;
561
+ content: '\F043';
562
+ display: block;
563
+ font-family: 'editing_iconsregular';
564
+ font-style: normal;
565
+ font-weight: normal;
566
+ height: 40px;
567
+ line-height: 42px;
568
+ margin: 0;
569
+ padding: 0;
570
+ position: absolute;
571
+ right: 0;
572
+ text-align: center;
573
+ text-decoration: none;
574
+ vertical-align: middle;
575
+ width: 40px;
576
+ font-size: 11px;
577
+ }
578
+
579
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails li .editing-mediabrowser-thumbnails-select:before {
580
+ -webkit-user-select: none;
581
+ -moz-user-select: none;
582
+ -ms-user-select: none;
583
+ -o-user-select: none;
584
+ user-select: none;
585
+ background: #fff;
586
+ bottom: 0;
587
+ color: #ddd;
588
+ content: '\F02A';
589
+ display: block;
590
+ font-family: 'editing_iconsregular';
591
+ font-style: normal;
592
+ font-weight: normal;
593
+ height: 40px;
594
+ line-height: 42px;
595
+ margin: 0;
596
+ padding: 0;
597
+ position: absolute;
598
+ right: 0;
599
+ text-align: center;
600
+ text-decoration: none;
601
+ vertical-align: middle;
602
+ width: 40px;
603
+ font-size: 11px;
604
+ }
605
+
606
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails li .editing-mediabrowser-thumbnails-select.active:before {
607
+ background: #7EA46A;
608
+ color: #fff;
609
+ content: '\F02B';
610
+ }
611
+
612
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails.small li {
613
+ height: 100px;
614
+ width: 130px;
615
+ }
616
+
617
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails.small li .editing-mediabrowser-preview {
618
+ height: 70px;
619
+ }
620
+
621
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails.small li .editing-mediabrowser-preview .editing-icon {
622
+ font-size: 20px;
623
+ line-height: 70px;
624
+ }
625
+
626
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails.small li .editing-mediabrowser-meta {
627
+ height: 30px;
628
+ padding: 2px 25px 0px 5px;
629
+ }
630
+
631
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails.small li .editing-mediabrowser-thumbnails-name {
632
+ font-size: 10px;
633
+ line-height: 28px;
634
+ }
635
+
636
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails.small li .editing-mediabrowser-thumbnails-size {
637
+ font-size: 9px;
638
+ line-height: 13px;
639
+ }
640
+
641
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails.small li .editing-mediabrowser-thumbnails-select:before {
642
+ font-size: 9px;
643
+ height: 30px;
644
+ line-height: 32px;
645
+ width: 30px;
646
+ }
647
+
648
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails.big li {
649
+ height: 300px;
650
+ width: 300px;
651
+ }
652
+
653
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails.big li .editing-mediabrowser-preview {
654
+ height: 260px;
655
+ }
656
+
657
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails.big li .editing-mediabrowser-preview .editing-icon {
658
+ font-size: 60px;
659
+ line-height: 260px;
660
+ }
661
+
662
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails.large li {
663
+ height: 400px;
664
+ width: 400px;
665
+ }
666
+
667
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails.large li .editing-mediabrowser-preview {
668
+ height: 360px;
669
+ }
670
+
671
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails.large li .editing-mediabrowser-preview .editing-icon {
672
+ line-height: 360px;
673
+ font-size: 70px;
674
+ }
675
+
676
+ .editing-mediabrowser .editing-mediabrowser-inspector h3 {
677
+ color: #666;
678
+ font-size: 14px;
679
+ line-height: 32px;
680
+ }
681
+
682
+ .editing-mediabrowser .editing-mediabrowser-inspector h3 .editing-icon {
683
+ color: #666;
684
+ font-size: 12px;
685
+ line-height: 32px;
686
+ padding: 0 5px 0;
687
+ }
688
+
689
+ .editing-mediabrowser .editing-mediabrowser-inspector h3 .editing-button {
690
+ background-color: #f8f8f8;
691
+ background-image: -moz-linear-gradient(top, #ffffff, #eeeeee);
692
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#eeeeee));
693
+ background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee);
694
+ background-image: -o-linear-gradient(top, #ffffff, #eeeeee);
695
+ background-image: linear-gradient(to bottom, #ffffff, #eeeeee);
696
+ background-repeat: repeat-x;
697
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffeeeeee', GradientType=0);
698
+ -webkit-border-radius: 5px;
699
+ -moz-border-radius: 5px;
700
+ border-radius: 5px;
701
+ -webkit-box-shadow: 0 0 3px #ffffff;
702
+ -moz-box-shadow: 0 0 3px #ffffff;
703
+ box-shadow: 0 0 3px #ffffff;
704
+ -webkit-user-select: none;
705
+ -moz-user-select: none;
706
+ -ms-user-select: none;
707
+ -o-user-select: none;
708
+ user-select: none;
709
+ border: 1px solid #e3e3e3;
710
+ color: #333;
711
+ cursor: pointer;
712
+ display: block;
713
+ float: left;
714
+ font-family: Helvetica, Arial, sans-serif;
715
+ font-size: 13px;
716
+ font-weight: bold;
717
+ line-height: 14px;
718
+ margin: 3px 10px 0 0;
719
+ min-width: 25px;
720
+ min-height: 14px;
721
+ padding: 2px 5px;
722
+ text-align: center;
723
+ text-shadow: 0 1px 0 #fff;
724
+ vertical-align: middle;
725
+ }
726
+
727
+ .editing-mediabrowser .editing-mediabrowser-inspector h3 .editing-button:hover {
728
+ background-color: #fbfbfb;
729
+ background-image: -moz-linear-gradient(top, #ffffff, #f6f6f6);
730
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f6f6f6));
731
+ background-image: -webkit-linear-gradient(top, #ffffff, #f6f6f6);
732
+ background-image: -o-linear-gradient(top, #ffffff, #f6f6f6);
733
+ background-image: linear-gradient(to bottom, #ffffff, #f6f6f6);
734
+ background-repeat: repeat-x;
735
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff6f6f6', GradientType=0);
736
+ border: 1px solid #ccc;
737
+ color: #333;
738
+ cursor: pointer;
739
+ }
740
+
741
+ .editing-mediabrowser .editing-mediabrowser-inspector h3 .editing-button:active {
742
+ background-color: #e0e0e0;
743
+ background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
744
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#eeeeee), to(#cccccc));
745
+ background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
746
+ background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
747
+ background-image: linear-gradient(to bottom, #eeeeee, #cccccc);
748
+ background-repeat: repeat-x;
749
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffeeeeee', endColorstr='#ffcccccc', GradientType=0);
750
+ border: 1px solid #bbb;
751
+ color: #333;
752
+ cursor: pointer;
753
+ }
754
+
755
+ .editing-mediabrowser .editing-mediabrowser-inspector h3 .editing-button .editing-icon {
756
+ color: #888;
757
+ font-size: 8px;
758
+ line-height: 20px;
759
+ margin: 0;
760
+ padding: 0;
761
+ }
762
+
763
+ .no-editing-available {
764
+ color: #d3d3d3;
765
+ font-size: 15px;
766
+ font-weight: bold;
767
+ text-align: center;
768
+ }
769
+
770
+ .no-editing-available .editing-icon {
771
+ color: #e3e3e3;
772
+ display: block;
773
+ font-size: 85px;
774
+ line-height: 200px;
775
+ text-align: center;
776
+ text-shadow: 0 1px 0 #ddd;
777
+ }
778
+
779
+ .editing-mediabrowser-loading {
780
+ clear: both;
781
+ height: 100%;
782
+ overflow: hidden;
783
+ position: relative;
784
+ }
785
+
786
+ .editing-mediabrowser-loading .editing-icon {
787
+ color: #666;
788
+ display: block;
789
+ font-size: 25px;
790
+ left: 0;
791
+ margin: 0 auto;
792
+ position: absolute;
793
+ text-align: center;
794
+ top: 46%;
795
+ width: 100%;
796
+ -webkit-animation: editing-rotation 5s infinite linear;
797
+ -moz-animation: editing-rotation 5s infinite linear;
798
+ -o-animation: editing-rotation 5s infinite linear;
799
+ animation: editing-rotation 5s infinite linear;
800
+ }
801
+
802
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails .editing-mediabrowser-loading .editing-icon {
803
+ color: #ddd;
804
+ font-size: 25px;
805
+ top: 38%;
806
+ }
807
+
808
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails.small .editing-mediabrowser-loading .editing-icon {
809
+ font-size: 15px;
810
+ top: 35%;
811
+ }
812
+
813
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails.big .editing-mediabrowser-loading .editing-icon {
814
+ font-size: 40px;
815
+ }
816
+
817
+ .editing-mediabrowser ul.editing-mediabrowser-thumbnails.large .editing-mediabrowser-loading .editing-icon {
818
+ font-size: 50px;
819
+ }
820
+
821
+ .editing-mediabrowser-progress-wrapper {
822
+ -webkit-box-shadow: 0 0 3px #bbbbbb;
823
+ -moz-box-shadow: 0 0 3px #bbbbbb;
824
+ box-shadow: 0 0 3px #bbbbbb;
825
+ background: rgba(255, 255, 255, 0.6);
826
+ border-radius: 3px;
827
+ left: 0;
828
+ margin: 2% 10%;
829
+ padding: 0;
830
+ position: absolute;
831
+ top: 0;
832
+ width: 80%;
833
+ }
834
+
835
+ .editing-mediabrowser-progress-wrapper .editing-mediabrowser-progress-file {
836
+ border-top: 1px solid #ccc;
837
+ margin: 2px 0 0 0;
838
+ padding: 5px;
839
+ }
840
+
841
+ .editing-mediabrowser-progress-wrapper .editing-mediabrowser-progress-file:first-child {
842
+ border: none;
843
+ margin: 0;
844
+ }
845
+
846
+ .editing-mediabrowser-progress-wrapper .editing-mediabrowser-progress-file p {
847
+ color: #555;
848
+ font-size: 13px;
849
+ font-weight: bold;
850
+ margin: 0 3px 6px 3px;
851
+ overflow: hidden;
852
+ text-overflow: ellipsis;
853
+ }
854
+
855
+ .editing-mediabrowser-progress-wrapper .editing-mediabrowser-progress {
856
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
857
+ -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
858
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
859
+ background-color: #bbb;
860
+ border-radius: 3px;
861
+ height: 10px;
862
+ margin: 0;
863
+ overflow: hidden;
864
+ }
865
+
866
+ .editing-mediabrowser-progress-wrapper .editing-mediabrowser-progress .editing-mediabrowser-progress-bar {
867
+ background-color: #658b51;
868
+ background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.7)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.7)), color-stop(0.75, rgba(255, 255, 255, 0.7)), color-stop(0.75, transparent), to(transparent));
869
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.7) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.7) 75%, transparent 75%, transparent);
870
+ background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.7) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.7) 75%, transparent 75%, transparent);
871
+ background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.7) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.5) 75%, transparent 75%, transparent);
872
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.7) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.7) 75%, transparent 75%, transparent);
873
+ -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
874
+ -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
875
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
876
+ -webkit-transition: width 0.6s ease;
877
+ -moz-transition: width 0.6s ease;
878
+ -o-transition: width 0.6s ease;
879
+ transition: width 0.6s ease;
880
+ background-color: #658b51;
881
+ background-size: 15px 15px;
882
+ float: left;
883
+ font-size: 12px;
884
+ height: 100%;
885
+ line-height: 10px;
886
+ text-align: center;
887
+ width: 0%;
888
+ -webkit-animation: progress-bar-stripes 3s linear infinite;
889
+ -moz-animation: progress-bar-stripes 3s linear infinite;
890
+ -ms-animation: progress-bar-stripes 3s linear infinite;
891
+ -o-animation: progress-bar-stripes 3s linear infinite;
892
+ animation: progress-bar-stripes 3s linear infinite;
893
+ }
894
+
895
+ /*
896
+ Styles for an animated loading spinner.
897
+ */
898
+
899
+ @-webkit-keyframes editing-rotation {
900
+ 0% {
901
+ -webkit-transform: rotate(0deg);
902
+ }
903
+
904
+ 100% {
905
+ -webkit-transform: rotate(359deg);
906
+ }
907
+ }
908
+
909
+ @-moz-keyframes editing-rotation {
910
+ from {
911
+ -moz-transform: rotate(0deg);
912
+ }
913
+
914
+ to {
915
+ -moz-transform: rotate(359deg);
916
+ }
917
+ }
918
+
919
+ @-o-keyframes editing-rotation {
920
+ from {
921
+ -o-transform: rotate(0deg);
922
+ }
923
+
924
+ to {
925
+ -o-transform: rotate(359deg);
926
+ }
927
+ }
928
+
929
+ @keyframes editing-rotation {
930
+ 0% {
931
+ transform: rotate(0deg);
932
+ }
933
+
934
+ 100% {
935
+ transform: rotate(359deg);
936
+ }
937
+ }
938
+
939
+ /*
940
+ Styles for an animated progress bar
941
+ */
942
+
943
+ @-webkit-keyframes progress-bar-stripes {
944
+ from {
945
+ background-position: 40px 0;
946
+ }
947
+
948
+ to {
949
+ background-position: 0 0;
950
+ }
951
+ }
952
+
953
+ @-moz-keyframes progress-bar-stripes {
954
+ from {
955
+ background-position: 40px 0;
956
+ }
957
+
958
+ to {
959
+ background-position: 0 0;
960
+ }
961
+ }
962
+
963
+ @-ms-keyframes progress-bar-stripes {
964
+ from {
965
+ background-position: 40px 0;
966
+ }
967
+
968
+ to {
969
+ background-position: 0 0;
970
+ }
971
+ }
972
+
973
+ @-o-keyframes progress-bar-stripes {
974
+ from {
975
+ background-position: 0 0;
976
+ }
977
+
978
+ to {
979
+ background-position: 40px 0;
980
+ }
981
+ }
982
+
983
+ @keyframes progress-bar-stripes {
984
+ from {
985
+ background-position: 40px 0;
986
+ }
987
+
988
+ to {
989
+ background-position: 0 0;
990
+ }
991
+ }
992
+
993
+
994
+ @media (min-width: 769px) and (max-width: 979px) {
995
+ .editing-mediabrowser {
996
+ height: 90%;
997
+ width: 90%;
998
+ }
999
+ }
1000
+
1001
+ @media (max-width: 768px) {
1002
+
1003
+ }
1004
+
1005
+ @media (max-width: 480px) {
1006
+ .editing-mediabrowser {
1007
+ height: 95%;
1008
+ width: 95%;
1009
+ }
1010
+ }