Gantry 4 Framework - Version 4.0.3

Version Description

  • Fixed compatibility with WordPress Multi Site installations
  • Fixed a notice where siteurl option didn't had path set
Download this release

Release Info

Developer gantry
Plugin Icon 128x128 Gantry 4 Framework
Version 4.0.3
Comparing to
See all releases

Code changes from version 4.0.2 to 4.0.3

Files changed (38) hide show
  1. CHANGELOG.php +5 -1
  2. admin/assets/less/assignments.less +0 -303
  3. admin/assets/less/buttons.less +0 -152
  4. admin/assets/less/fields.less +0 -171
  5. admin/assets/less/filters.less +0 -23
  6. admin/assets/less/fixes-ie.less +0 -15
  7. admin/assets/less/form.less +0 -225
  8. admin/assets/less/global.less +0 -23
  9. admin/assets/less/growl.less +0 -41
  10. admin/assets/less/icons.less +0 -74
  11. admin/assets/less/joomla.less +0 -92
  12. admin/assets/less/layout.less +0 -630
  13. admin/assets/less/mediaqueries.less +0 -87
  14. admin/assets/less/mixins/bootstrap/mixins.less +0 -631
  15. admin/assets/less/mixins/index.less +0 -9
  16. admin/assets/less/mixins/rockettheme/buttons.less +0 -106
  17. admin/assets/less/mixins/rockettheme/dropdowns.less +0 -50
  18. admin/assets/less/mixins/rockettheme/icons.less +0 -17
  19. admin/assets/less/mixins/rockettheme/mixins.less +0 -74
  20. admin/assets/less/mixins/rockettheme/popover.less +0 -25
  21. admin/assets/less/mixins/rockettheme/utilities.less +0 -13
  22. admin/assets/less/presets.less +0 -247
  23. admin/assets/less/reset.less +0 -9
  24. admin/assets/less/typography-fonts.less +0 -48
  25. admin/assets/less/typography.less +0 -174
  26. admin/assets/less/variables.less +0 -25
  27. admin/assets/less/wordpress.less +0 -129
  28. admin/forms/fields/imagepicker.php +1 -1
  29. admin/forms/fields/updater.php +1 -1
  30. admin/widgets/colorchooser/css/mooRainbow-2.0.css +1 -1
  31. core/gantry.class.php +41 -18
  32. core/utilities/gantrycache.class.php +2 -2
  33. functions.php +1 -1
  34. gantry.php +3 -3
  35. readme.txt +8 -1
  36. widgets/breadcrumbs.php +1 -1
  37. widgets/loginbutton.php +1 -1
  38. widgets/loginform.php +1 -1
CHANGELOG.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Gantry For Wordpress
4
  *
5
- * @version $Id: CHANGELOG.php 59430 2013-03-21 16:39:12Z jakub $
6
  * @author RocketTheme http://www.rockettheme.com
7
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
8
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
@@ -27,6 +27,10 @@ Legend:
27
  - -> Removed
28
  ! -> Note
29
 
 
 
 
 
30
  ------- 4.0.2 Release [] ------
31
  # Reverted some CSS changes in gantry.css which could cause some bad color appearance in couple themes
32
 
2
  /**
3
  * Gantry For Wordpress
4
  *
5
+ * @version $Id: CHANGELOG.php 59441 2013-03-22 21:42:59Z jakub $
6
  * @author RocketTheme http://www.rockettheme.com
7
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
8
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
27
  - -> Removed
28
  ! -> Note
29
 
30
+ ------- 4.0.3 Release [] ------
31
+ # Fixed compatibility with WordPress Multi Site installations
32
+ # Fixed a notice where siteurl option didn't had path set
33
+
34
  ------- 4.0.2 Release [] ------
35
  # Reverted some CSS changes in gantry.css which could cause some bad color appearance in couple themes
36
 
admin/assets/less/assignments.less DELETED
@@ -1,303 +0,0 @@
1
- #assignments-panel {
2
- display: table;
3
-
4
- .g4-panel-left {
5
- display: table;
6
-
7
- .assignments-left, .assignments-right {
8
- display: table-cell;
9
- vertical-align: top;
10
- }
11
-
12
- h2 {
13
- font-size: 1.2em;
14
- margin: 2px 0;
15
- }
16
-
17
- .assignments-block {
18
- margin: 10px;
19
- padding: 10px;
20
- .border-radius(6px);
21
- @boxShadow:
22
- 0 1px 0 0 #ddd inset, 0 2px 0 0 #f4f4f4 inset, // top
23
- 0 -1px 0 0 #ddd inset, 0 -2px 0 0 #f4f4f4 inset, // bottom
24
- 1px 0 0 0 #ddd inset, 2px 0 0 0 #f4f4f4 inset, // left
25
- -1px 0 0 0 #ddd inset, -2px 0 0 0 #f4f4f4 inset; // right
26
-
27
- .box-shadow(@boxShadow);
28
-
29
- .assignment-search {
30
- .box-shadow(~"0 2px 2px 0 rgba(0, 0, 0, 0.1) inset, 0 1px 0 0 #fff");
31
- background: #fff;
32
- padding: 2px 5px;
33
- .border-radius(3px);
34
- margin-top: 10px;
35
- border: 1px solid #cfcfcf;
36
- border-top-color: #c6c6c6;
37
- .opacity(50);
38
-
39
- input {
40
- background: transparent;
41
- .box-shadow(none);
42
- padding: 0;
43
- border: 0;
44
- text-indent: 0;
45
- width: 100%;
46
- font-size: 11px;
47
- }
48
- }
49
-
50
- &:hover .assignment-search {
51
- .opacity(100);
52
- }
53
-
54
- ul ul {
55
- margin-left: 18px;
56
- }
57
- }
58
-
59
- .assignments-left {
60
- width: 70%;
61
-
62
- .assignments-block {
63
- @boxShadow:
64
- 0 1px 0 0 #ddd inset, 0 2px 0 0 #fff inset, // top
65
- 0 -1px 0 0 #ddd inset, 0 -2px 0 0 #fff inset, // bottom
66
- 1px 0 0 0 #ddd inset, 2px 0 0 0 #fff inset, // left
67
- -1px 0 0 0 #ddd inset, -2px 0 0 0 #fff inset; // right
68
-
69
- background: #f6f6f6;
70
- .box-shadow(@boxShadow);
71
- float: left;
72
- width: 28%;
73
-
74
- &.assignments-block-center {
75
- margin-left: 0;
76
- margin-right: 0;
77
- }
78
-
79
- &.assignments-block-right {
80
- margin-right: 0;
81
- }
82
-
83
- h2 {
84
- min-height: 19px;
85
- label {
86
- display: inline-block;
87
- }
88
-
89
- &.added label {
90
- display: none;
91
- }
92
-
93
- &.added {
94
- text-decoration: line-through;
95
- }
96
- }
97
-
98
- .inside {
99
- height: 250px;
100
- overflow: auto;
101
- margin: 10px 0;
102
-
103
- label, a {
104
- display: inline;
105
- }
106
-
107
- a {
108
- color: #666;
109
- text-decoration: none;
110
- }
111
-
112
- li.added > label, &.added label {
113
- visibility: hidden;
114
- }
115
-
116
- li.added > a, &.added a {
117
- text-decoration: line-through;
118
- color: #999;
119
- }
120
-
121
- p {
122
- margin: 0;
123
- }
124
-
125
- }
126
- }
127
- }
128
-
129
- .assignments-right {
130
- width: 30%;
131
-
132
- .assignments-block {
133
- margin: 10px 10px 10px 0;
134
- #gradient > .vertical(#ddd, #ccc);
135
-
136
- #assigned-list {
137
- margin-top: 10px;
138
- }
139
-
140
- h2 {
141
- color: #D54E21;
142
- }
143
-
144
- li {
145
- display: block;
146
- #gradient > .vertical(#aaa, #999);
147
- border: 1px solid #888;
148
- .border-radius(12px);
149
- padding: 4px 10px;
150
- font-size: 11px;
151
- margin-bottom: 5px;
152
- margin-left: 10px;
153
- position: relative;
154
-
155
- &.empty {
156
- margin-left: 0;
157
- }
158
-
159
- span.link {
160
- float: left;
161
- color: #111;
162
- text-shadow: 0 1px 0 #ccc;
163
- a {
164
- text-decoration: none;
165
- color: #111;
166
- text-shadow: 0 1px 0 #ccc;
167
- cursor: default;
168
- }
169
- }
170
-
171
- span.type {
172
- color: #444;
173
- border-left: 1px solid #888;
174
- text-shadow: 0 1px 0 #ccc;
175
- text-transform: uppercase;
176
- padding-left: 10px;
177
- float: right;
178
- }
179
-
180
- span.delete-assigned {
181
- font-size: 15px;
182
- position: absolute;
183
- font-weight: bold;
184
- cursor: pointer;
185
- left: -13px;
186
- top: 3px;
187
- color: #666;
188
-
189
- &:hover {
190
- color: #b01c14;
191
- }
192
- }
193
- }
194
- }
195
-
196
- #assigned_override_items {
197
- position:absolute;
198
- width: 1px;
199
- height: 1px;
200
- visibility:hidden;
201
- }
202
- }
203
-
204
- .footer-block {
205
- line-height: 2em;
206
- .select-all {
207
- float: left;
208
- }
209
-
210
- .add-button {
211
- float: right;
212
- }
213
- }
214
- }
215
- }
216
-
217
- .assignments-search {
218
- text-align: center;
219
-
220
- label {
221
- font-weight: bold;
222
- font-size: 1.5em;
223
- }
224
-
225
- input {
226
- width: 50%;
227
- font-weight: normal;
228
- }
229
- }
230
- .assignments-search, .assignment-search {
231
- position: relative;
232
- .assignment-search-clear {
233
- position: absolute;
234
- top: 3px;
235
- right: 3px;
236
- height: 7px;
237
- padding: 4px;
238
- font-weight: bold;
239
- line-height: 7px !important;
240
- border: 1px solid #ccc;
241
- background: #eee;
242
- color: #888;
243
- .border-radius(20px);
244
- display: none;
245
- cursor: pointer;
246
-
247
- &:hover {
248
- background: #f9f9f9;
249
- }
250
- }
251
- }
252
-
253
- .assignments-search-global-wrapper {
254
- position: relative;
255
- display: inline;
256
-
257
- label {
258
- display: inherit !important;
259
- }
260
-
261
- .assignment-search-clear {
262
- top: 1px;
263
- right: 12px;
264
- }
265
- }
266
-
267
-
268
- /* Assignments Panel */
269
- /*#assignments-panel {background: transparent;}
270
- #assignments-panel .panelform {background:#fafafa;border:none;margin: 25px 0 25px 20px;}
271
- #assignments-panel .assignments-block {overflow:hidden;margin: 0 20px 20px 0;position: relative;float: left;padding:20px;-moz-border-radius: 10px;-webkit-border-radius: 10px;border-radius: 10px;border:1px solid #ddd;background: -moz-linear-gradient(bottom, #f3f3f3, #fff);-moz-box-shadow: 1px 3px 15px rgba(0, 0, 0, 0.15); background: -webkit-gradient(linear, left bottom, left top, from(#f3f3f3), to(#fff));-webkit-box-shadow: 1px 3px 15px rgba(0, 0, 0, 0.15);min-width:250px;max-width: 562px;height:270px;box-shadow: 1px 3px 15px rgba(0, 0, 0, 0.15);}
272
- #assignments-panel .assignments-block .inside {height: 200px;overflow:auto;}
273
- #assignments-panel .assignments-block .inside a {color: #777;}
274
- #assignments-panel .assignments-block .inside a:hover {color: #D54E21;}
275
- #assignments-panel .assignments-block .inside a.no-link-item, #assignments-panel .assignments-block .inside a.no-link-item:hover, #assignments-panel a.no-link-item, #assignments-panel a.no-link-item:hover {color: #777777;cursor:default;}
276
- #assignments-panel h2 {padding: 0 0 10px;}
277
- #assignments-panel .assignments-block.hover h2 {background: url(images/click-preview.png) center right no-repeat;}
278
- #assignments-panel span {padding: 0;}
279
- #assignments-panel div.add-button {position: absolute; bottom: 10px; right: 10px;}
280
- #assignments-panel div.select-all {position: absolute; bottom: 15px; left: 15px;}
281
- #assignments-panel div.select-all a, #assignments-panel div.clear-list a {text-decoration: underline;font-size:90%;text-shadow:none;}
282
- #assignments-panel .inside li.added > label, #assignments-panel .inside.added label, #assignments-panel h2.added label {visibility:hidden;}
283
- #assignments-panel .inside li.added > a, #assignments-panel .inside.added a, #assignments-panel h2.added {text-decoration: line-through;}
284
-
285
- #assignments-panel .assignments-right .panelform {margin-left:0;}
286
- #assignments-panel .assignments-right .assignments-block {text-shadow:0 1px 0 #FFFFFF;float: none;background: -moz-linear-gradient(bottom, #d7d7d7, #f0f0f0);background: -webkit-gradient(linear, left bottom, left top, from(#d7d7d7), to(#f0f0f0));}
287
- #assignments-panel .assignments-right .assignments-block li {background: -moz-linear-gradient(bottom, #dfdfdf, #ededed);background: -webkit-gradient(linear, left bottom, left top, from(#dfdfdf), to(#ededed));padding:4px 10px;border:1px solid #bbb;-moz-border-radius: 10px;-webkit-border-radius: 10px;border-radius: 10px;margin-left:20px;-moz-box-shadow:0 0 10px #ccc;-webkit-box-shadow: 0 0 10px #ccc;box-shadow:0 0 10px #ccc;}
288
- #assignments-panel .assignments-right .assignments-block li.empty {background:none;padding: 0;color:#D54E21;border:none;margin-left:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;}
289
- #assignments-panel .assignments-right .assignments-block span.link {}
290
- #assignments-panel .assignments-right .assignments-block span.type {float: right;padding-left: 10px;color:#999;font-size:11px;padding-right:0;text-transform:uppercase;border-left: 1px solid #dedede; margin:0 0 5px 10px;}
291
- #assignments-panel .assignments-right .assignments-block .delete-assigned {background: url(images/delete.png) left center no-repeat;width: 10px;height: 30px;margin: -7px 0 0 -30px;float: left;display: block;cursor: pointer;}
292
- #assignments-panel .assignments-right .footer-block {margin-top: 30px;display:none;}
293
- #assignments-panel .assignments-right .assignments-block {height: auto;}
294
-
295
-
296
- #assignments-panel .rokchecks, #gantry-panel .inherit-checkbox .rokchecks {width: 13px;height:13px;background-image: url(checkbox/images/checkbox-small.png);background-repeat: no-repeat;background-position: top left;margin:3px 5px 0 0;display:block;float: left;}
297
- #assignments-panel h2 .rokchecks {background-image: url(checkbox/images/checkbox-large.png);width:16px;height:16px;margin-top: 10px;}
298
- #assignments-panel .rokchecks-active, #gantry-panel .inherit-checkbox .rokchecks-active {background-position: bottom left;}
299
- #assignments-panel .rokchecks .assignment-checkbox {visibility:hidden;}
300
- #assignments-panel ul ul {margin-left:18px;}
301
-
302
- #assigned_override_items {position:absolute;visibility:hidden;}
303
- */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/buttons.less DELETED
@@ -1,152 +0,0 @@
1
- /* Reset */
2
- button {
3
- margin: 0;
4
- font-size: 100%;
5
- vertical-align: middle;
6
- }
7
- button {
8
- *overflow: visible; // Inner spacing ie IE6/7
9
- line-height: normal; // FF3/4 have !important on line-height in UA stylesheet
10
- }
11
- button::-moz-focus-inner { // Inner padding and border oddities in FF3/4
12
- padding: 0;
13
- border: 0;
14
- }
15
- button {
16
- cursor: pointer; // Cursors on all buttons applied consistently
17
- -webkit-appearance: button; // Style clickable inputs in iOS
18
- }
19
-
20
- /* Button Core */
21
- .rok-button {
22
- position: relative;
23
- font-size: @fontSize;
24
- line-height: 1em;
25
- min-width: 15px;
26
- .border-radius(2px);
27
- margin-right: 4px;
28
- padding: 7px 6px;
29
-
30
- .caret {
31
- margin: 5px 0 0; // top and left margin like padding top of the button
32
- .opacity(50);
33
- }
34
-
35
- /* inherit core button styles */
36
- .button();
37
-
38
- /* fix padding on active */
39
- &:active, &.rok-button-active {
40
- padding: 8px 7px; // like base padding + 1px
41
- }
42
-
43
- &.rok-button-disabled {
44
- &, &:hover, &:active {
45
- padding: 8px 7px;
46
- }
47
- }
48
-
49
- &.rok-button-primary {
50
- /* primary button looks better with no opacity on icons */
51
- i {
52
- .opacity(100);
53
- }
54
- }
55
-
56
- i {
57
- margin: -1px 0 -2px;
58
- }
59
- }
60
-
61
- .rok-button-primary {
62
- .rok-button();
63
- .button(#2a9de6, #1d79b5);
64
-
65
- &:active, &.rok-button-active {
66
- #gradient > .vertical(darken(#2a9de6, 5%), darken(#1d79b5, 5%));
67
- }
68
-
69
- &.rok-button-disabled, &.rok-button-disabled:hover {
70
- text-shadow: 0 -1px 0 #fff;
71
- }
72
- }
73
-
74
- .rok-button-secondary {
75
- .rok-button();
76
- .button(#999, #666);
77
-
78
- &:active, &.rok-button-active {
79
- #gradient > .vertical(darken(#666, 2%), darken(#999, 5%));
80
- }
81
- }
82
-
83
-
84
- /* Groups */
85
- .rok-buttons-group {
86
- > * {
87
- display: inline-block;
88
- .border-radius(0);
89
- margin-right: 0;
90
- margin-left: -3px;
91
-
92
- &:first-child {
93
- margin-left: 0;
94
- .border-radius(3px 0 0 3px);
95
- }
96
- &:last-child {
97
- .border-radius(0 3px 3px 0);
98
- margin-right: 4px;
99
- }
100
- }
101
- }
102
-
103
- /* Dropdowns */
104
- #g4-toolbar .rok-dropdown-open ul.rok-dropdown {
105
- display: block;
106
- }
107
-
108
- #g4-toolbar ul.rok-dropdown {
109
- .dropdown();
110
-
111
- li {
112
- text-align: left;
113
- }
114
-
115
- background-color: @dropdownBackground;
116
- min-width: 160px;
117
- top: 200%;
118
- right: -10px;
119
- left: inherit;
120
- padding: 4px 0;
121
- border: 1px solid #fff;
122
- *border-right-width: 2px;
123
- *border-bottom-width: 2px;
124
- .border-radius(2px 2px 4px 4px);
125
- .box-shadow(~"0 5px 10px rgba(0, 0, 0, .1), 0 0 0 1px rgba(0, 0, 0, 0.20)");
126
-
127
- li a {
128
- color: #666;
129
- }
130
-
131
- .divider {
132
- background-color: darken(@dropdownBackground, 10%);
133
- border-bottom: 1px solid lighten(@dropdownBackground, 10%);
134
- margin: ((24px / 4) - 1) 1px; // 24px is the 'a' line-height (below)
135
- }
136
-
137
- a {
138
- margin: 0 -1px; // to compensate the inner border of 1px
139
- padding: 3px 15px;
140
- line-height: 24px;
141
- color: @dropdownLinks;
142
- text-shadow: 0 1px 0 #fff;
143
- text-decoration: none;
144
- }
145
-
146
- // hover states
147
- > li > a:hover, .active > a, .active > a:hover {
148
- #gradient > .vertical(#2a9de6, #1d79b5);
149
- color: #fff;
150
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
151
- }
152
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/fields.less DELETED
@@ -1,171 +0,0 @@
1
- /* InputText */
2
- .text-verylong {
3
- width:375px;
4
- }
5
- .text-long {
6
- width:275px;
7
- }
8
- .text-regular {
9
- width:200px;
10
- }
11
- .text-medium {
12
- width:125px;
13
- }
14
- .text-short {
15
- width:50px;
16
- }
17
- .text-color {
18
- width:75px;
19
- }
20
-
21
- textarea.text-textarea {
22
- width: 350px;
23
- height: 120px;
24
- padding: 5px;
25
- font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
26
- text-indent: 0;
27
- }
28
-
29
- /* Toggle */
30
- .toggle {
31
- display: inline-block;
32
- width: 80px;
33
- height: 35px;
34
- background: url (images/toggle.png);
35
- cursor: hand;
36
-
37
- .toggle-input {
38
- display:none;
39
- }
40
-
41
- &.toggle-off {
42
- background-position: 0 0;
43
- }
44
-
45
- &.toggle-on {
46
- background-position: 0 -40px;
47
- }
48
-
49
- &.toggle-off.disabled {
50
- background-position: 0 -80px;
51
- }
52
-
53
- &.toggle-on.disabled {
54
- background-position: 0 -120px;
55
- }
56
- }
57
-
58
- /* SelectedSet */
59
- .selectedset-group {
60
- clear: both;
61
- position:relative;
62
- }
63
- .selectset-group-first {
64
- border-top: none;
65
- }
66
- .selectedset-fields, .selectedset-fields .gantry-field {
67
- position: relative;
68
- }
69
- .selectedset-hidden-field {
70
- visibility: hidden;
71
- position: absolute;
72
- top: -2000px;
73
- }
74
-
75
- /* Layout Sliders*/
76
- #g4-panel .navigation li a {color:#444;}
77
- #g4-panel .navigation li a:hover {color: #D54E21;}
78
- #g4-panel .navigation li.active a, #gantry-panel .navigation li.active a:hover {color:#1578B9;}
79
-
80
- .position, .slider {width: 192px;height: 9px;background: url(images/slider.png) 0 0 no-repeat;position: relative;margin-top:10px;}
81
- .position2, .slider2 {width: 192px;height: 9px;background: url(images/slider.png) 0 -14px no-repeat;position: absolute;width:0px;}
82
- .position .knob,.slider .knob {width: 24px; height: 24px;top: -8px; left: -8px;background: url(images/slider.png) -195px 0 no-repeat;position: absolute;cursor: pointer;}
83
- .position-field .chain-toggle, .position-field .chain-showmax {margin-top:-3px;}
84
-
85
- #positions-tip {background: url(slider/images/slider-tip.png) no-repeat;font-size:12px;width:117px;height:50px;text-shadow: 1px 1px #000; color: #fff;position: absolute;visibility:hidden;text-align:center;padding: 0 4px;line-height:38px;letter-spacing:-1px;top:0;z-index:20;}
86
-
87
- .navigation {color: #666;}
88
- .navigation .title, .navigation .list {float: left;}
89
- .navigation .title {font-size: 100%;}
90
- .navigation .list {margin:0;padding:0;list-style:none;}
91
- .navigation .list li {display: inline;}
92
- .navigation .list li a {display: block;padding: 0 7px;text-decoration: none;color: #aaa;float:left;outline:none;}
93
- .navigation .list li.active a {font-weight: bold;text-decoration: underline;color:#333;}
94
-
95
- .mini-container {
96
- text-align:center;
97
- background:#fff;
98
- height:28px;
99
- padding: 0;
100
-
101
- color:#555;
102
- .box-shadow(~"0 2px 2px 0 rgba(0,0,0,0.1) inset, 0 1px 0 0 #fff");
103
- border: 1px solid @inputBorder;
104
- border-top-color: @inputBorderTop;
105
- .border-radius(3px);
106
- }
107
- .mini-container div {height:28px;line-height:28px;}
108
- .mini-container .main {background: #666;text-shadow: 1px 1px #1b80a0;color: #fff;}
109
- .mini-container {width: 192px;}
110
-
111
- /* Grid */
112
- .mini-grid-1, .mini-grid-2, .mini-grid-3, .mini-grid-4, .mini-grid-5, .mini-grid-6, .mini-grid-7, .mini-grid-8, .mini-grid-9, .mini-grid-10, .mini-grid-11, .mini-grid-12, .mini-grid-13, .mini-grid-14, .mini-grid-15, .mini-grid-16 {display: inline;float: left;position: relative;}
113
-
114
- .mini-container {
115
- .mini-grid {
116
- border-left: 1px solid #d0d0d0;
117
- padding-right: 1px;
118
- &:first-child {
119
- border-left: 0;
120
- padding-left: 1px;
121
- }
122
- }
123
-
124
- }
125
-
126
- .col9 .mini-container .mini-grid-1 {width: 19px;}
127
- .col9 .mini-container .mini-grid-2 {width: 40px;}
128
- .col9 .mini-container .mini-grid-3 {width: 61px;}
129
- .col9 .mini-container .mini-grid-4 {width: 82px;}
130
- .col9 .mini-container .mini-grid-5 {width: 103px;}
131
- .col9 .mini-container .mini-grid-6 {width: 124px;}
132
- .col9 .mini-container .mini-grid-7 {width: 145px;}
133
- .col9 .mini-container .mini-grid-8 {width: 166px;}
134
- .col9 .mini-container .mini-grid-9 {width: 190px;}
135
-
136
- .col12 .mini-container .mini-grid-1 {width: 15px;}
137
- .col12 .mini-container .mini-grid-2 {width: 30px;}
138
- .col12 .mini-container .mini-grid-3 {width: 46px;}
139
- .col12 .mini-container .mini-grid-4 {width: 62px;}
140
- .col12 .mini-container .mini-grid-5 {width: 78px;}
141
- .col12 .mini-container .mini-grid-6 {width: 94px;}
142
- .col12 .mini-container .mini-grid-7 {width: 110px;}
143
- .col12 .mini-container .mini-grid-8 {width: 126px;}
144
- .col12 .mini-container .mini-grid-9 {width: 142px;}
145
- .col12 .mini-container .mini-grid-10 {width: 158px;}
146
- .col12 .mini-container .mini-grid-11 {width: 174px;}
147
- .col12 .mini-container .mini-grid-12 {width: 190px;}
148
-
149
- .col16 .mini-container .mini-grid-1 {width: 10px;}
150
- .col16 .mini-container .mini-grid-2 {width: 22px;}
151
- .col16 .mini-container .mini-grid-3 {width: 34px;}
152
- .col16 .mini-container .mini-grid-4 {width: 46px;}
153
- .col16 .mini-container .mini-grid-5 {width: 58px;}
154
- .col16 .mini-container .mini-grid-6 {width: 70px;}
155
- .col16 .mini-container .mini-grid-7 {width: 82px;}
156
- .col16 .mini-container .mini-grid-8 {width: 94px;}
157
- .col16 .mini-container .mini-grid-9 {width: 106px;}
158
- .col16 .mini-container .mini-grid-10 {width: 118px;}
159
- .col16 .mini-container .mini-grid-11 {width: 130px;}
160
- .col16 .mini-container .mini-grid-12 {width: 142px;}
161
- .col16 .mini-container .mini-grid-13 {width: 154px;}
162
- .col16 .mini-container .mini-grid-14 {width: 166px;}
163
- .col16 .mini-container .mini-grid-15 {width: 178px;}
164
- .col16 .mini-container .mini-grid-16 {width: 190px;}
165
-
166
- // THIS FILE NEEDS TO BE REWORKED!
167
-
168
- .graphic-level {background: url(images/graphic-level.png) no-repeat;padding-top:15px;}
169
- .miniatures {float: left;}
170
- .current-positions {padding-left:210px;color:#999;}
171
- .gradient-preview {width: 100%; height: 100%;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/filters.less DELETED
@@ -1,23 +0,0 @@
1
- .g4-input-wrapper {
2
- background:#fff;
3
- margin: 0;
4
- padding: 3px;
5
- .border-radius(3px);
6
- border: 1px solid #b6b6b6;
7
- .box-shadow(0 6px 6px -6px rgba(0, 0, 0, 0.2) inset);
8
- cursor: text;
9
-
10
- input {
11
- color: #666;
12
- margin: 0;
13
- padding: 0;
14
- border: 0;
15
- float: none !important;
16
- width: 100%;
17
-
18
- &, &:focus {
19
- background: #fff;
20
- }
21
- }
22
- }
23
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/fixes-ie.less DELETED
@@ -1,15 +0,0 @@
1
- @import "mixins/bootstrap/mixins.less";
2
-
3
- #g4-toolbar,
4
- #g4-container .menuitems-involved,
5
- #g4-container .presets-involved,
6
- .rok-button-secondary,
7
- .g4-tabs li.active,
8
- #g4-presets {
9
- .reset-filter() !important;
10
- }
11
-
12
- .moor-layout {
13
- .reset-filter() !important;
14
- background: #6a6a6a !important;
15
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/form.less DELETED
@@ -1,225 +0,0 @@
1
- .g4-wrap {
2
-
3
- select,
4
- textarea,
5
- input[type="text"],
6
- input[type="password"],
7
- input[type="datetime"],
8
- input[type="datetime-local"],
9
- input[type="date"],
10
- input[type="month"],
11
- input[type="time"],
12
- input[type="week"],
13
- input[type="number"],
14
- input[type="email"],
15
- input[type="url"],
16
- input[type="search"],
17
- input[type="tel"],
18
- input[type="color"],
19
- .readonly {
20
- display: inline-block;
21
- height: @baseLineHeight;
22
- padding: 5px 0px;
23
- text-indent:10px;
24
- margin-left: 0;
25
- margin-bottom: 0;
26
- font-size: @baseFontSize;
27
- background: @white;
28
- line-height: @baseLineHeight;
29
- color: @gray;
30
-
31
- .box-shadow(~"0 2px 2px 0 rgba(0,0,0,0.1) inset, 0 1px 0 0 #fff");
32
- border: 1px solid @inputBorder;
33
- border-top-color: @inputBorderTop;
34
- .border-radius(3px);
35
- z-index:2;
36
- }
37
-
38
- select {
39
- text-indent: 0;
40
- outline: 0;
41
-
42
- &[disabled]{
43
- color: #aaa;
44
- }
45
- }
46
-
47
- input.required {
48
- background: @white;
49
- }
50
-
51
- input.readonly, input.disabled {
52
- background: @lightGray;
53
- color: lighten(@gray, 10%);
54
- font-weight: normal;
55
- .box-shadow(~"0 2px 2px 0 rgba(99,99,99,.1) inset, 0 1px 0 0 #fff");
56
- border: 1px solid lighten(@inputBorder, 2%);
57
- }
58
-
59
- .input-append {
60
- input[type="text"] {
61
- .border-radius(3px 0 0 3px);
62
- }
63
- .add-on {
64
- .border-radius(0 3px 3px 0);
65
- margin-left: -1px;
66
- }
67
- }
68
-
69
- .input-prepend {
70
- input[type="text"] {
71
- .border-radius(0 3px 3px 0);
72
- }
73
- .add-on {
74
- .border-radius(3px 0 0 3px);
75
- margin-right: -4px;
76
- }
77
- }
78
-
79
- .add-on {
80
- display: inline-block;
81
- .box-shadow(0 1px 0 0 #fff);
82
- border: 1px solid @inputBorder;
83
- border-top-color: @inputBorderTop;
84
- background: darken(@white, 2%);
85
- color: darken(@white, 40%);
86
- padding: 5px 10px;
87
- height: 18px;
88
- width: auto;
89
- line-height: 18px;
90
- }
91
-
92
- select, input[type="file"] {
93
- height: 30px;
94
- line-height: 30px;
95
- }
96
-
97
-
98
- label {
99
- display:block;
100
- position: relative;
101
- margin-top: 0;
102
- margin-bottom: 0px;
103
- }
104
-
105
- .chain-label > label {
106
- height: 16px;
107
- margin-bottom: 2px;
108
- }
109
-
110
- .position-field {
111
- label {
112
- margin-top: 3px;
113
- }
114
- }
115
-
116
- .chain-positions {
117
- .chain-label > label {
118
- display: none;
119
- }
120
- .g-position {
121
- height: 16px;
122
- margin-bottom: 0;
123
- }
124
- }
125
-
126
- fieldset.adminform {
127
- padding: 0;
128
- margin: 0;
129
- width: 100%;
130
-
131
- input, textarea, select, img, button {
132
- float: inherit;
133
- margin: 0 0 9px 0;
134
- }
135
-
136
- label {
137
- min-width: inherit;
138
- }
139
- }
140
-
141
- .g4-controlgroup:before,
142
- .g4-controlgroup:after {
143
- display: table;
144
- content: "";
145
- }
146
-
147
- .g4-horizontal-form {
148
- label {
149
- float: left;
150
- width: 100px;
151
- padding-top: 5px !important;
152
- text-align: right;
153
- }
154
- .g4-controls {
155
- margin-left:120px;
156
- cursor: text;
157
-
158
- input, select, textarea {
159
- width: 100%;
160
- }
161
-
162
- }
163
- }
164
-
165
- /* Isis Admin template fixes */
166
- .chzn-done {
167
- width: auto;
168
- }
169
-
170
- .chzn-container-single {
171
- .chzn-single {
172
- height: 28px;
173
- line-height: 29px;
174
- }
175
- }
176
-
177
- }
178
-
179
- #g4-details {
180
-
181
- fieldset {
182
- border: 0;
183
-
184
- div.g4-controlgroup {
185
- float:left;
186
- padding-top:10px;
187
-
188
- input#jform_title {
189
- font-size: @baseFontSize;
190
- }
191
-
192
-
193
- input#jform_id {
194
- width: 40px;
195
- background-color: @lightGray;
196
- font-size: inherit;
197
- font-weight: inherit;
198
- float: inherit;
199
- border: 1px solid lighten(@inputBorder, 2%);
200
- margin: 0 0 9px 0;
201
- }
202
- }
203
- }
204
-
205
- }
206
-
207
- /* Menu Assignments */
208
- .panelform div#menu-assignment h3 {margin-bottom:10px;}
209
- #menu-assignment .menu-links {list-style:none;float:left;width:50%;padding:0;}
210
- #menu-assignment ul.menu-links li {margin:0;}
211
- #menu-assignment ul.menu-links label {padding:0;text-align:left;display:inline-block;}
212
- .assignments-field {margin:0 15px;}
213
- .assignments-field #menu-assignment {overflow:hidden;}
214
- .assignments-field .menu-padder {height:1px;background:#ccc;display:inline-block;margin:0 5px 4px 0;}
215
- .assignments-field h2 {float:left;margin-top:0;margin-bottom:0;}
216
- .assignments-field h3 {border-bottom:1px solid #ccc;margin-right:15px;}
217
-
218
- .assignments-field {
219
- .jform-rightbtn {
220
- .rok-button();
221
- float: right;
222
- }
223
- }
224
-
225
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/global.less DELETED
@@ -1,23 +0,0 @@
1
- // Core variables and mixins
2
- @import "variables.less";
3
- @import "mixins/index.less";
4
-
5
- // Overrides / Initial Statuses
6
- @import "reset.less";
7
- @import "joomla.less";
8
- @import "wordpress.less";
9
-
10
- // Main layout setup
11
- @import "layout.less";
12
- @import "mediaqueries.less";
13
- @import "form.less";
14
- @import "typography.less";
15
- @import "icons.less";
16
- @import "buttons.less";
17
- @import "fields.less";
18
- @import "presets.less";
19
- @import "growl.less";
20
- //@import "filters.less";
21
- //@import "menu.less";
22
- //@import "modules-table.less";
23
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/growl.less DELETED
@@ -1,41 +0,0 @@
1
- .roar-body {
2
- position: absolute;
3
- color: @white;
4
- text-align: left;
5
- z-index: 999;
6
-
7
- .roar {
8
- position: absolute;
9
- width: 300px;
10
- cursor: pointer;
11
-
12
- .roar-bg {
13
- position: absolute;
14
- z-index: 1000;
15
- .square(100%);
16
- top: 0;
17
- left: 0;
18
- background-color: #000;
19
- .border-radius(8px);
20
- .box-shadow(~"0 0 2px 0 #fff inset, 0 0 5px rgba(0, 0, 0, 0.5)");
21
- }
22
-
23
- h3, p {
24
- position: relative;
25
- margin: 0;
26
- color: @white;
27
- visibility: visible;
28
- z-index: 1001;
29
- font-size: 13px;
30
- padding: 5px 10px;
31
- }
32
-
33
- h3 {
34
- }
35
-
36
- p {
37
- font-size: 12px;
38
- padding-top: 0;
39
- }
40
- }
41
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/icons.less DELETED
@@ -1,74 +0,0 @@
1
- i {
2
- /*background-image: url(../images/icons-sprite.png);
3
- background-repeat: no-repeat;
4
- .square(16px);
5
- display: block;
6
- */
7
- /* Spinner */
8
- &.spinner {
9
- .opacity(0);
10
-
11
- &.spinner-16 {
12
- background-image: url(../images/loader-16.gif);
13
- }
14
- &.spinner-32 {
15
- background-image: url(../images/loader-32.gif);
16
- .square(32px);
17
- }
18
- &.spinner-64 {
19
- background-image: url(../images/loader-64.gif);
20
- .square(64px);
21
- }
22
- &.spinner-128 {
23
- background-image: url(../images/loader-128.gif);
24
- .square(128px);
25
- }
26
- }
27
-
28
- /* Statuses */
29
- &.published {
30
- background-position: 0 0;
31
- }
32
-
33
- &.unpublished {
34
- background-position: -16px 0;
35
- }
36
-
37
- /* Actions */
38
- &.info {
39
- background-position: -32px 0;
40
- }
41
-
42
- &.edit {
43
- background-position: -48px 0;
44
- }
45
-
46
- &.plus {
47
- background-position: -64px 0;
48
- }
49
- }
50
-
51
- .rok-button-primary i {
52
- /* Actions */
53
- &.info {
54
- background-position: -32px -16px;
55
- }
56
-
57
- &.edit {
58
- background-position: -48px -16px;
59
- }
60
-
61
- &.plus {
62
- background-position: -64px -16px;
63
- }
64
- }
65
-
66
- /* XDebug fix */
67
- .xdebug-var-dump, .xdebug-error {
68
- i {
69
- background: none;
70
- display: inline;
71
- width: auto;
72
- height: auto;
73
- }
74
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/joomla.less DELETED
@@ -1,92 +0,0 @@
1
- // resetting the container wrapper styles
2
- body {
3
- line-height: @baseLineHeight !important;
4
- }
5
-
6
- body div#element-box, body div#element-box div.m {
7
- padding: 0;
8
- border-top: 0;
9
- border-bottom: 0;
10
- margin: 0 5px;
11
- background-color: transparent;
12
- .border-radius(0 0 4px 4px);
13
- }
14
-
15
- body .subhead-collapse {
16
- display: none;
17
- }
18
-
19
- body .container-fluid {
20
- padding: 0 1px;
21
- }
22
-
23
- // resetting focus on inputs
24
- body input:focus, body select:focus {
25
- background: @white;
26
- }
27
-
28
- // messages
29
- .g4-messages, .g4-messages .message {
30
- display: none;
31
- }
32
-
33
- //mc reset
34
-
35
- html #mc-component {
36
- .g4-wrap {
37
- margin: -14px -14px;
38
- }
39
- #g4-master {
40
- right: 0;
41
- }
42
- }
43
-
44
- // isis
45
- body {
46
- padding-left: 0 !important;
47
- padding-right: 0 !important;
48
- .navbar-fixed-top, .navbar-fixed-bottom,
49
- .container-fluid, .header {
50
- margin-left: 0;
51
- margin-right: 0;
52
- }
53
- }
54
-
55
- // bluestork reset
56
- html {
57
- overflow-y: auto !important;
58
-
59
- #toolbar-box {
60
- display: none;
61
- }
62
-
63
- #content-box {
64
- font-family: Arial, sans-serif;
65
- float: none;
66
- border: 0;
67
- width: auto;
68
- margin: 0 -10px 10px;
69
- .border-radius(0);
70
- }
71
-
72
- /* Notice Box*/
73
- #system-message {position:relative;text-shadow: 0 1px 0 #fff;display:none;}
74
- #system-message .close {position:absolute;right:0;top:0;text-align:center;line-height:35px;width: 35px;height:35px;cursor:pointer;font-size:130%;display:none;}
75
- #system-message-container #system-message {
76
- display: block;
77
- .message{display: none;}
78
- .error.message {display: block;}
79
- }
80
-
81
- // typo resets
82
-
83
- h1 {
84
- margin: 0;
85
- padding: 0;
86
- font-family: "Oxygen", Arial, sans-serif;
87
- font-size: 30px;
88
- color: #484848;
89
- font-weight: normal;
90
- text-shadow: 0 1px 0 @white;
91
- }
92
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/layout.less DELETED
@@ -1,630 +0,0 @@
1
- // Structure
2
- .g4-wrapper {
3
- width: @wrapperWidth;
4
- }
5
-
6
- .clr {
7
- clear:both;
8
- }
9
-
10
- .g4-size-60 {
11
- width: 60%;
12
- }
13
-
14
- .g4-size-50 {
15
- width: 50%;
16
- }
17
-
18
- .g4-size-40 {
19
- width: 40%;
20
- }
21
-
22
- .g4-size-35 {
23
- width: 35%;
24
- }
25
-
26
- .g4-size-30 {
27
- width: 30%;
28
- }
29
-
30
- .g4-size-25 {
31
- width: 25%;
32
- }
33
-
34
- .g4-size-20 {
35
- width: 20%;
36
- }
37
-
38
- .g4-size-15 {
39
- width: 15%;
40
- }
41
-
42
- .g4-size-13 {
43
- width: 13%;
44
- }
45
-
46
- #g4-hidden {
47
- display: none;
48
- }
49
-
50
- #g4-logo {
51
- position:relative;
52
- float:right;
53
- margin: 0 0 0 0;
54
- width: 160px;
55
- height: 48px;
56
- overflow:hidden;
57
-
58
- span {
59
- display:block;
60
- position:absolute;
61
- top: 9px;
62
- right : 23px;
63
- width: 120px;
64
- height: 32px;
65
- background: url(images/g4-logo-small.png);
66
- }
67
- }
68
-
69
- .g4-tabs {
70
- display:block;
71
- height: 50px;
72
- }
73
- .g4-actions {
74
- float: right;
75
- }
76
- .g4-tabs, .g4-actions {
77
- > li {
78
- float: left;
79
- vertical-align: middle;
80
- }
81
- }
82
-
83
- .width-100pc {
84
- width: 100%;
85
- }
86
-
87
-
88
-
89
- // Style
90
-
91
-
92
- #g4-toolbar {
93
- #gradient > .vertical(#fff, #ededed);
94
- padding: 30px 0;
95
- width: 100%;
96
- .box-shadow(~"0 -1px 0 0 #cbcbcb inset, 0 -2px 0 0 #fff inset");
97
- h1 {
98
- padding: 0 15px;
99
- }
100
- .rok-button {
101
- margin-left: 5px;
102
- font-size: 13px;
103
- }
104
- .rok-buttons-group {
105
- .rok-button:last-child {
106
- margin-left: -3px;;
107
- }
108
-
109
- .caret {
110
- height: 4px
111
- }
112
- }
113
- }
114
-
115
- #g4-details-wrapper {
116
- position: relative;
117
- }
118
-
119
- #g4-master {
120
- position:absolute;
121
- #gradient > .vertical(#f54221,#ca381c);
122
- top: -1px;
123
- bottom: 0px;
124
- right: 0;
125
- z-index: 1;
126
- border: 1px solid #b03018;
127
- .box-shadow(0 2px 8px 0 rgba(0,0,0,0.3) inset);
128
-
129
- &.g4-flag-override {
130
- #gradient > .vertical(#ccc,#999);
131
- border: 1px solid #999;
132
- }
133
-
134
- #g4-flag {
135
- text-align:center;
136
- position:relative;
137
- line-height: 50px;
138
- font-size: 17px;
139
- color: #fff;
140
- text-shadow: 0 -1px 0 rgba(0,0,0,0.5);
141
-
142
- > .arrow, > .arrow span {
143
- position: absolute;
144
- display: block;
145
- width: 5px;
146
- }
147
- > .arrow {
148
- //@arrowWidth: 5px, @arrowColor: @black, @arrowOffset: 0, @arrowPosition: 50%
149
- #CSSArrow > .left(7px, #ececec);
150
- left: -2px;
151
- top: 50%;
152
- z-index: 10;
153
-
154
-
155
- }
156
- }
157
- }
158
-
159
-
160
- #g4-details {
161
- border-top: 1px solid #fff;
162
- background: #ececec;
163
- height: 50px;
164
- position: relative;
165
-
166
-
167
-
168
- &.presets-showing {
169
- border-bottom: 1px solid #cbcbcb;
170
- }
171
- }
172
-
173
- #g4-presets {
174
- #gradient > .vertical(#ececec, #fff);
175
- .box-shadow(0 1px 0 0 #fff inset);
176
- }
177
-
178
- #g4-container {
179
- margin-top: -2px;
180
- padding-bottom: 1px;
181
- border-bottom: 1px solid #ccc;
182
- margin: 0;
183
- .border-radius(0 0 4px 4px);
184
-
185
- .g4-header {
186
- border-top: 1px solid #bcbcbc;
187
- background-color: #e6e6e6;
188
- .box-shadow(~"0 -1px 0 0 #fefefe inset, 0 -2px 0 0 #d1d1d1 inset, 0 5px 8px #cecece inset, 0 -3px 8px #dedede inset");
189
- }
190
-
191
- .g4-body {
192
- background: #fff;
193
- #gradient > .vertical-three-colors(#f3f3f3, #fff, 50%, #f0f0f0);
194
-
195
- }
196
- }
197
-
198
- .g4-tabs {
199
- li {
200
- color: #717077;
201
- padding: 15px 20px;
202
- margin: 0; // negative top/bottom margin like above -1px: .g4-header -> .g4-wrapper -> .g4-row -> .g4-column
203
- text-shadow: 0 1px 0 #fff;
204
- .box-shadow(~"-1px 0 0 0 #f1f1f1 inset, -2px 0 0 0 #d1d1d1 inset");
205
- cursor: pointer;
206
- &.active .arrow {
207
- display: none;
208
- }
209
-
210
- &:hover {
211
- color: @black;
212
- }
213
-
214
- &.active {
215
- margin-top: 1px;
216
- padding-top:14px;
217
- #gradient > .vertical(#efefef, #ddd);
218
- .box-shadow(~"-1px 0 0 0 #f1f1f1 inset, -2px 0 0 0 #d1d1d1 inset, 0 2px 2px -1px rgba(0, 0, 0, 0.1) inset");
219
- color: #2287c7;
220
- position: relative;
221
-
222
- .arrow, .arrow span {
223
- position: absolute;
224
- display: block;
225
- }
226
- .arrow {
227
- //@arrowWidth: 5px, @arrowColor: @black, @arrowOffset: 0, @arrowPosition: 50%
228
- #CSSArrow > .bottom(6px, #bbb);
229
- bottom: 0;
230
- top: inherit;
231
- span {
232
- #CSSArrow > .bottom(6px, #fff);
233
- margin-left: -6px;
234
- top: 1px;
235
-
236
- span {
237
- #CSSArrow > .bottom(6px, #f6f6f6);
238
- top: 1px;
239
- margin-left: -6px;
240
- }
241
- }
242
- }
243
- }
244
-
245
- .badge {
246
- padding: 0;
247
- .border-radius(0);
248
- }
249
- }
250
- }
251
-
252
- #g4-container {
253
- .presets-involved, .overrides-involved, .preset-info, .menuitems-involved {
254
- .border-radius(20px);
255
- #gradient > .vertical (#D23C12, #FC562F);
256
- .box-shadow(~"0 2px 2px 0 rgba(0,0,0,0.3) inset, 0 1px 0 0 #fff");
257
- float: right;
258
- height: 6px;
259
- line-height: 7px;
260
- margin-top:-3px;
261
- margin-bottom:-5px;
262
- margin-right:-10px;
263
- margin-left:10px;
264
- padding: 9px;
265
- color: @white;
266
- text-shadow: none;
267
- display: none;
268
- opacity: 0;
269
- visibility: hidden;
270
- }
271
- .preset-info {
272
- width: 4px;
273
- height: 4px;
274
- padding: 4px;
275
- line-height: 4px;
276
- .border-radius(30px);
277
- position: absolute;
278
- top: 17px;
279
- left: -5px;
280
- margin: 0;
281
- display: block;
282
- .opacity(100);
283
- visibility: visible;
284
- }
285
-
286
- .overrides-involved {
287
- #gradient > .vertical (#1d79b5, #2a9de6);
288
- }
289
- .menuitems-involved {
290
- display: block;
291
- opacity: 1;
292
- visibility: visible;
293
- #gradient > .vertical (#bbb, #999);
294
- }
295
- .double-badge {
296
- .presets-involved {
297
- .border-radius(0 8px 8px 0);
298
- }
299
- .overrides-involved {
300
- .border-radius(8px 0 0 8px);
301
- }
302
- }
303
- }
304
-
305
- .override-wrap {
306
- #g4-container {
307
- .preset-info {
308
- left: -15px;
309
- }
310
- }
311
- }
312
-
313
- #g4-actions {
314
- li {
315
- margin: 0 4px;
316
- }
317
- }
318
-
319
- #g4-panels {
320
- padding-top:20px;
321
- }
322
-
323
- .g4-panel {
324
- visibility: hidden;
325
- margin-bottom: 40px;
326
- top: -10000px;
327
- left: -10000px;
328
- width: 100%;
329
- border-bottom: 1px solid #ddd;
330
- .box-shadow(~"0 1px 1px 0 #fefefe");
331
-
332
- &.active-panel {
333
- visibility: visible;
334
- top: 0;
335
- left: 0;
336
- }
337
-
338
- &.panel-overview {
339
- border: 0;
340
- margin-bottom: 0;
341
-
342
- .panelform .g4-row {
343
- .g4-col2 {
344
- .box-shadow(none);
345
- background: inherit;
346
- }
347
- }
348
-
349
- .g4-col1 {
350
- display:none;
351
- }
352
-
353
- div.template-preview {
354
- float:left;
355
- margin-right: 35px;
356
- width: 40%;
357
- img {
358
- width:100%;
359
- margin-top: -10px;
360
- }
361
- }
362
-
363
- .template-description {
364
- margin-left: 45%;
365
- margin-right: 20px;
366
- }
367
-
368
- img.template-preview {
369
- float:left;
370
- margin-right: 30px;
371
- margin-bottom: 20px;
372
- }
373
- }
374
- }
375
-
376
- .g4-panel-left, .g4-panel-right {
377
- float: left;position:relative;
378
- }
379
-
380
- .g4-panel-left {
381
- width: 100%;
382
- }
383
-
384
- .panel-overview {
385
- .g4-panel-left {
386
- width: 70%;
387
- }
388
- .g4-panel-right {
389
- width: 30%;
390
- }
391
- }
392
-
393
- .g4-panel-hiddens {
394
- position:absolute;
395
- visibility:hidden;
396
- height:0;
397
- }
398
-
399
- .backgroundpicker {
400
- position: relative;
401
- }
402
-
403
- .updater-field, .tips-field, .html-field {
404
- background: #eaeaea;
405
- border: 1px solid #c8c8c8;
406
- .border-radius(4px);
407
- margin-right:20px;
408
- margin-bottom:20px;
409
- padding: 20px;
410
- .box-shadow(~"0 1px 0 0 #fff, 0 2px 6px 0 rgba(66,66,66,0.2) inset");
411
- .h2bar {
412
- display: block;
413
- min-height: 36px;
414
- margin-bottom: 5px;
415
- padding: 0;
416
- }
417
-
418
- }
419
-
420
- .updater-field {
421
- #gradient > .vertical(#2A9DE6, #1D79B5);
422
- &.update {
423
- #gradient > .vertical(#f54221,#ca381c);
424
- }
425
- }
426
-
427
- .tips-field {
428
- position: relative;
429
- padding-bottom: 50px;
430
- .gantrytips-controller {
431
- position: absolute;
432
- bottom: 20px;
433
- right: 10px;
434
- .rok-button {
435
- font-size: 10px;
436
- color: @gray !important;
437
- }
438
- }
439
- .gantrytips-count {
440
- position: absolute;
441
- bottom: 20px;
442
- left: 20px;
443
- color: @gray3 !important;
444
- }
445
- .gantrytips-wrapper {
446
- position: relative;
447
- .gantrytips-tip {
448
- display: none;
449
- &:first-child {
450
- display: block;
451
- }
452
- }
453
- }
454
- }
455
-
456
- .panelform {
457
- display: table;
458
- border-collapse: collapse;
459
- width: 100%;
460
-
461
- .selectedset-fields {
462
- display: table-row-group;
463
- }
464
-
465
- .selectedset-fields .g4-row:first-child .g4-cell.g4-col2 {
466
- .box-shadow(~"0 1px 0 0 #d1d1d1 inset, 0 2px 0 0 #fbfbfb inset, 2px 0 3px rgba(99,99,99,0.05) inset, 1px 0 0 0 #dddddd inset");
467
- }
468
-
469
- .g4-row {
470
- display: table-row;
471
-
472
- &:first-child .g4-col2{
473
- .box-shadow(~"0 1px 0 0 #d1d1d1 inset, 0 3px 3px rgba(99,99,99,0.1) inset, 2px 0 3px rgba(99,99,99,0.05) inset, 1px 0 0 0 #dddddd inset");
474
- }
475
-
476
- .g4-col1 {
477
- font-weight: bold;
478
- text-shadow: 1px 1px 1px #fff;
479
- color: @gray;
480
- padding: 0 20px;
481
-
482
- label {
483
- padding: 15px 10px 15px 20px;
484
- }
485
- }
486
-
487
- }
488
-
489
- .g4-cell {
490
- display: table-cell;
491
- padding: 10px 20px;
492
- vertical-align: middle;
493
-
494
- &.g4-col1 {
495
- width: 20%;
496
- background: #f6f6f6;
497
- .box-shadow(~"0 1px 0 0 #dddddd inset, 0 2px 0 0 #fff inset");
498
- }
499
-
500
- &.g4-col2 {
501
- display: table-cell;
502
- padding: 0;
503
- width: 80%;
504
- .box-shadow(~"0 1px 0 0 #d1d1d1 inset, 0 2px 0 0 #fbfbfb inset, 2px 0 3px rgba(99,99,99,0.05) inset, 1px 0 0 0 #dddddd inset");
505
- background: #eee;
506
-
507
-
508
- .g4-col2-wrap {
509
- padding: 10px 20px;
510
- position: relative;
511
- .clearfix();
512
-
513
- > .arrow, > .arrow span {
514
- position: absolute;
515
- display: block;
516
- width: 5px;
517
- }
518
- > .arrow {
519
- //@arrowWidth: 5px, @arrowColor: @black, @arrowOffset: 0, @arrowPosition: 50%
520
- #CSSArrow > .left(6px, #ccc);
521
- left: 0px;
522
- top: 50%;
523
- z-index: 10;
524
-
525
- .panel-overview & {
526
- display: none;
527
- }
528
-
529
- span {
530
- #CSSArrow > .left(6px, #f6f6f6);
531
- left: -1px;
532
- margin-left: -6px;
533
- }
534
- }
535
- }
536
- }
537
-
538
- .inherit-checkbox {
539
- position: relative;
540
- z-index: 5;
541
- float: left;
542
- margin-left: 0;
543
- margin-top: 15px;
544
- }
545
-
546
- .inherit-overlay {
547
- position: absolute;
548
- top: 1px;
549
- right: 1px;
550
- bottom: 1px;
551
- left: 1px;
552
- background: #efefef;
553
- z-index: 5;
554
- }
555
- }
556
- }
557
-
558
- .wrapper {
559
- .chain {
560
- display: inline-block;
561
- vertical-align: top;
562
- margin-right: 20px;
563
-
564
- &.chain-hidden {
565
- margin-right: 0;
566
- }
567
-
568
- }
569
- }
570
-
571
- .group {
572
- clear: both;
573
- height:32px;
574
- margin: 0 0 10px;
575
- .alias-label {
576
- float: left;
577
- width: 150px;
578
- padding-top: 5px;
579
- }
580
- }
581
- .group-left, .group-label, .group .wrapper {
582
- float:left;
583
- }
584
- .group-right {
585
- float:left;
586
- margin-left:25px;
587
- }
588
- .group-none {
589
- float:none;
590
- clear:both;
591
- }
592
- .g4-wrap {
593
- .group-label {
594
- display: block;
595
- position: relative;
596
- text-align:right;
597
- width: 75px;
598
- display: block;
599
- margin-right: 10px;
600
- label {
601
- display: inline-block;
602
- line-height: 12px;
603
- margin: 8px 5px 0 0;
604
- width: 100%;
605
- vertical-align: middle;
606
- }
607
- }
608
- }
609
-
610
-
611
- .group-right .selectbox-wrapper {
612
- margin-right: 24px;
613
- }
614
- .group-none .group-label {
615
- width:50%;
616
- }
617
- .group-gradient {
618
- border:1px solid #ccc;
619
- padding: 1px;
620
- height: 40px;
621
- margin-right: 20px;
622
- .border-radius(4px);
623
- .box-shadow(0 1px 0 0 #fff);
624
- }
625
-
626
- .assignments-field {
627
- .g4-cell.g4-col1 {
628
- vertical-align:top;
629
- }
630
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/mediaqueries.less DELETED
@@ -1,87 +0,0 @@
1
- @media (max-width: 979px) {
2
- .g4-tabs {
3
- li {
4
- padding: 15px 15px;
5
- }
6
- }
7
- }
8
-
9
- @media (min-width: 768px) {
10
-
11
- }
12
-
13
- @media (max-width: 767px) {
14
-
15
- .btn-subhead {
16
- display: none !important;
17
- }
18
-
19
- .container-fluid {
20
- margin: 0 -20px;
21
-
22
- #g4-master {
23
- width: 90px;
24
- height: 50px;
25
- }
26
-
27
- #g4-details {
28
- height: auto;
29
- padding-bottom: 15px;
30
-
31
- .g4-controlgroup {
32
- width: 100%;
33
- .g4-controls {
34
- margin-right: 130px;
35
- }
36
-
37
- select {max-width: 120px;}
38
- }
39
- }
40
-
41
- }
42
-
43
- #g4-toolbar {
44
- ul.g4-actions {
45
- float: none;
46
- display: block;
47
- margin-top: 15px;
48
- margin-bottom: -10px;
49
- margin-left: 15px;
50
- .clearfix();
51
-
52
- ul.rok-dropdown {
53
- right: inherit;
54
- left: -43px;
55
- }
56
-
57
- }
58
- }
59
- .g4-tabs {
60
- li {
61
- padding: 15px 10px;
62
- .menuitems-involved {
63
- margin-left: 5px !important;
64
- margin-right: -5px !important;
65
- }
66
- }
67
- }
68
-
69
- .panel-overview .g4-panel-left, .panel-overview .g4-panel-right,
70
- .g4-panel.panel-overview div.template-preview, .g4-panel.panel-overview .template-description {
71
- float: none;
72
- width: 100%;
73
-
74
- .updater-field, .tips-field, .html-field {
75
- margin: 10px 20px;
76
- }
77
- }
78
-
79
- .g4-panel.panel-overview div.template-preview, .g4-panel.panel-overview .template-description {
80
- margin: 0 0 20px;
81
-
82
- img {
83
- margin: -10px auto 0;
84
- display: block;
85
- }
86
- }
87
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/mixins/bootstrap/mixins.less DELETED
@@ -1,631 +0,0 @@
1
- // Mixins.less
2
- // Snippets of reusable CSS to develop faster and keep code readable
3
- // -----------------------------------------------------------------
4
-
5
-
6
- // UTILITY MIXINS
7
- // --------------------------------------------------
8
-
9
- // Clearfix
10
- // --------
11
- // For clearing floats like a boss h5bp.com/q
12
- .clearfix {
13
- *zoom: 1;
14
- &:before,
15
- &:after {
16
- display: table;
17
- content: "";
18
- }
19
- &:after {
20
- clear: both;
21
- }
22
- }
23
-
24
- // Webkit-style focus
25
- // ------------------
26
- .tab-focus() {
27
- // Default
28
- outline: thin dotted #333;
29
- // Webkit
30
- outline: 5px auto -webkit-focus-ring-color;
31
- outline-offset: -2px;
32
- }
33
-
34
- // Center-align a block level element
35
- // ----------------------------------
36
- .center-block() {
37
- display: block;
38
- margin-left: auto;
39
- margin-right: auto;
40
- }
41
-
42
- // IE7 inline-block
43
- // ----------------
44
- .ie7-inline-block() {
45
- *display: inline; /* IE7 inline-block hack */
46
- *zoom: 1;
47
- }
48
-
49
- // IE7 likes to collapse whitespace on either side of the inline-block elements.
50
- // Ems because we're attempting to match the width of a space character. Left
51
- // version is for form buttons, which typically come after other elements, and
52
- // right version is for icons, which come before. Applying both is ok, but it will
53
- // mean that space between those elements will be .6em (~2 space characters) in IE7,
54
- // instead of the 1 space in other browsers.
55
- .ie7-restore-left-whitespace() {
56
- *margin-left: .3em;
57
-
58
- &:first-child {
59
- *margin-left: 0;
60
- }
61
- }
62
-
63
- .ie7-restore-right-whitespace() {
64
- *margin-right: .3em;
65
-
66
- &:last-child {
67
- *margin-left: 0;
68
- }
69
- }
70
-
71
- // Sizing shortcuts
72
- // -------------------------
73
- .size(@height, @width) {
74
- width: @width;
75
- height: @height;
76
- }
77
- .square(@size) {
78
- .size(@size, @size);
79
- }
80
-
81
- // Placeholder text
82
- // -------------------------
83
- .placeholder(@color: @placeholderText) {
84
- :-moz-placeholder {
85
- color: @color;
86
- }
87
- ::-webkit-input-placeholder {
88
- color: @color;
89
- }
90
- }
91
-
92
- // Text overflow
93
- // -------------------------
94
- // Requires inline-block or block for proper styling
95
- .text-overflow() {
96
- overflow: hidden;
97
- text-overflow: ellipsis;
98
- white-space: nowrap;
99
- }
100
-
101
- // CSS image replacement
102
- // -------------------------
103
- // Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757
104
- .hide-text {
105
- font: 0/0 a;
106
- color: transparent;
107
- text-shadow: none;
108
- background-color: transparent;
109
- border: 0;
110
- }
111
-
112
-
113
- // FONTS
114
- // --------------------------------------------------
115
-
116
- #font {
117
- #family {
118
- .serif() {
119
- font-family: @serifFontFamily;
120
- }
121
- .sans-serif() {
122
- font-family: @sansFontFamily;
123
- }
124
- .monospace() {
125
- font-family: @monoFontFamily;
126
- }
127
- }
128
- .shorthand(@size: @baseFontSize, @weight: normal, @lineHeight: @baseLineHeight) {
129
- font-size: @size;
130
- font-weight: @weight;
131
- line-height: @lineHeight;
132
- }
133
- .serif(@size: @baseFontSize, @weight: normal, @lineHeight: @baseLineHeight) {
134
- #font > #family > .serif;
135
- #font > .shorthand(@size, @weight, @lineHeight);
136
- }
137
- .sans-serif(@size: @baseFontSize, @weight: normal, @lineHeight: @baseLineHeight) {
138
- #font > #family > .sans-serif;
139
- #font > .shorthand(@size, @weight, @lineHeight);
140
- }
141
- .monospace(@size: @baseFontSize, @weight: normal, @lineHeight: @baseLineHeight) {
142
- #font > #family > .monospace;
143
- #font > .shorthand(@size, @weight, @lineHeight);
144
- }
145
- }
146
-
147
-
148
- // FORMS
149
- // --------------------------------------------------
150
-
151
- // Block level inputs
152
- .input-block-level {
153
- display: block;
154
- width: 100%;
155
- min-height: 28px; // Make inputs at least the height of their button counterpart
156
- .box-sizing(border-box); // Makes inputs behave like true block-level elements
157
- }
158
-
159
-
160
- // Mixin for form field states
161
- .formFieldState(@textColor: #555, @borderColor: #ccc, @backgroundColor: #f5f5f5) {
162
- // Set the text color
163
- > label,
164
- .help-block,
165
- .help-inline {
166
- color: @textColor;
167
- }
168
- // Style inputs accordingly
169
- input,
170
- select,
171
- textarea {
172
- color: @textColor;
173
- border-color: @borderColor;
174
- &:focus {
175
- border-color: darken(@borderColor, 10%);
176
- .box-shadow(0 0 6px lighten(@borderColor, 20%));
177
- }
178
- }
179
- // Give a small background color for input-prepend/-append
180
- .input-prepend .add-on,
181
- .input-append .add-on {
182
- color: @textColor;
183
- background-color: @backgroundColor;
184
- border-color: @textColor;
185
- }
186
- }
187
-
188
-
189
-
190
- // CSS3 PROPERTIES
191
- // --------------------------------------------------
192
-
193
- // Border Radius
194
- .border-radius(@radius) {
195
- -webkit-border-radius: @radius;
196
- -moz-border-radius: @radius;
197
- border-radius: @radius;
198
- }
199
-
200
- // Drop shadows
201
- .box-shadow(@shadow) {
202
- -webkit-box-shadow: @shadow;
203
- -moz-box-shadow: @shadow;
204
- box-shadow: @shadow;
205
- }
206
-
207
- // Transitions
208
- .transition(@transition) {
209
- -webkit-transition: @transition;
210
- -moz-transition: @transition;
211
- -ms-transition: @transition;
212
- -o-transition: @transition;
213
- transition: @transition;
214
- }
215
-
216
- // Transformations
217
- .rotate(@degrees) {
218
- -webkit-transform: rotate(@degrees);
219
- -moz-transform: rotate(@degrees);
220
- -ms-transform: rotate(@degrees);
221
- -o-transform: rotate(@degrees);
222
- transform: rotate(@degrees);
223
- }
224
- .scale(@ratio) {
225
- -webkit-transform: scale(@ratio);
226
- -moz-transform: scale(@ratio);
227
- -ms-transform: scale(@ratio);
228
- -o-transform: scale(@ratio);
229
- transform: scale(@ratio);
230
- }
231
- .translate(@x, @y) {
232
- -webkit-transform: translate(@x, @y);
233
- -moz-transform: translate(@x, @y);
234
- -ms-transform: translate(@x, @y);
235
- -o-transform: translate(@x, @y);
236
- transform: translate(@x, @y);
237
- }
238
- .skew(@x, @y) {
239
- -webkit-transform: skew(@x, @y);
240
- -moz-transform: skew(@x, @y);
241
- -ms-transform: skew(@x, @y);
242
- -o-transform: skew(@x, @y);
243
- transform: skew(@x, @y);
244
- }
245
- .translate3d(@x, @y, @z) {
246
- -webkit-transform: translate(@x, @y, @z);
247
- -moz-transform: translate(@x, @y, @z);
248
- -ms-transform: translate(@x, @y, @z);
249
- -o-transform: translate(@x, @y, @z);
250
- transform: translate(@x, @y, @z);
251
- }
252
-
253
- // Backface visibility
254
- // Prevent browsers from flickering when using CSS 3D transforms.
255
- // Default value is `visible`, but can be changed to `hidden
256
- // See git pull https://github.com/dannykeane/bootstrap.git backface-visibility for examples
257
- .backface-visibility(@visibility){
258
- -webkit-backface-visibility: @visibility;
259
- -moz-backface-visibility: @visibility;
260
- -ms-backface-visibility: @visibility;
261
- backface-visibility: @visibility;
262
- }
263
-
264
- // Background clipping
265
- // Heads up: FF 3.6 and under need "padding" instead of "padding-box"
266
- .background-clip(@clip) {
267
- -webkit-background-clip: @clip;
268
- -moz-background-clip: @clip;
269
- background-clip: @clip;
270
- }
271
-
272
- // Background sizing
273
- .background-size(@size){
274
- -webkit-background-size: @size;
275
- -moz-background-size: @size;
276
- -o-background-size: @size;
277
- background-size: @size;
278
- }
279
-
280
-
281
- // Box sizing
282
- .box-sizing(@boxmodel) {
283
- -webkit-box-sizing: @boxmodel;
284
- -moz-box-sizing: @boxmodel;
285
- -ms-box-sizing: @boxmodel;
286
- box-sizing: @boxmodel;
287
- }
288
-
289
- // User select
290
- // For selecting text on the page
291
- .user-select(@select) {
292
- -webkit-user-select: @select;
293
- -moz-user-select: @select;
294
- -ms-user-select: @select;
295
- -o-user-select: @select;
296
- user-select: @select;
297
- }
298
-
299
- // Resize anything
300
- .resizable(@direction) {
301
- resize: @direction; // Options: horizontal, vertical, both
302
- overflow: auto; // Safari fix
303
- }
304
-
305
- // CSS3 Content Columns
306
- .content-columns(@columnCount, @columnGap: @gridGutterWidth) {
307
- -webkit-column-count: @columnCount;
308
- -moz-column-count: @columnCount;
309
- column-count: @columnCount;
310
- -webkit-column-gap: @columnGap;
311
- -moz-column-gap: @columnGap;
312
- column-gap: @columnGap;
313
- }
314
-
315
- // Opacity
316
- .opacity(@opacity) {
317
- opacity: @opacity / 100;
318
- filter: ~"alpha(opacity=@{opacity})";
319
- }
320
-
321
-
322
-
323
- // BACKGROUNDS
324
- // --------------------------------------------------
325
-
326
- // Add an alphatransparency value to any background or border color (via Elyse Holladay)
327
- #translucent {
328
- .background(@color: @white, @alpha: 1) {
329
- background-color: hsla(hue(@color), saturation(@color), lightness(@color), @alpha);
330
- }
331
- .border(@color: @white, @alpha: 1) {
332
- border-color: hsla(hue(@color), saturation(@color), lightness(@color), @alpha);
333
- .background-clip(padding-box);
334
- }
335
- }
336
-
337
- // Gradient Bar Colors for buttons and alerts
338
- .gradientBar(@primaryColor, @secondaryColor) {
339
- #gradient > .vertical(@primaryColor, @secondaryColor);
340
- border-color: @secondaryColor @secondaryColor darken(@secondaryColor, 15%);
341
- border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) fadein(rgba(0,0,0,.1), 15%);
342
- }
343
-
344
- // Gradients
345
- #gradient {
346
- .horizontal(@startColor: #555, @endColor: #333) {
347
- background-color: @endColor;
348
- background-image: -moz-linear-gradient(left, @startColor, @endColor); // FF 3.6+
349
- background-image: -ms-linear-gradient(left, @startColor, @endColor); // IE10
350
- background-image: -webkit-gradient(linear, 0 0, 100% 0, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+
351
- background-image: -webkit-linear-gradient(left, @startColor, @endColor); // Safari 5.1+, Chrome 10+
352
- background-image: -o-linear-gradient(left, @startColor, @endColor); // Opera 11.10
353
- background-image: linear-gradient(left, @startColor, @endColor); // Le standard
354
- background-repeat: repeat-x;
355
- filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",@startColor,@endColor)); // IE9 and down
356
- }
357
- .vertical(@startColor: #555, @endColor: #333) {
358
- background-color: mix(@startColor, @endColor, 60%);
359
- background-image: -moz-linear-gradient(top, @startColor, @endColor); // FF 3.6+
360
- background-image: -ms-linear-gradient(top, @startColor, @endColor); // IE10
361
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+
362
- background-image: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+
363
- background-image: -o-linear-gradient(top, @startColor, @endColor); // Opera 11.10
364
- background-image: linear-gradient(top, @startColor, @endColor); // The standard
365
- background-repeat: repeat-x;
366
- filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@startColor,@endColor)); // IE9 and down
367
- }
368
- .directional(@startColor: #555, @endColor: #333, @deg: 45deg) {
369
- background-color: @endColor;
370
- background-repeat: repeat-x;
371
- background-image: -moz-linear-gradient(@deg, @startColor, @endColor); // FF 3.6+
372
- background-image: -ms-linear-gradient(@deg, @startColor, @endColor); // IE10
373
- background-image: -webkit-linear-gradient(@deg, @startColor, @endColor); // Safari 5.1+, Chrome 10+
374
- background-image: -o-linear-gradient(@deg, @startColor, @endColor); // Opera 11.10
375
- background-image: linear-gradient(@deg, @startColor, @endColor); // The standard
376
- }
377
- .vertical-three-colors(@startColor: #00b3ee, @midColor: #7a43b6, @colorStop: 50%, @endColor: #c3325f) {
378
- background-color: mix(@midColor, @endColor, 80%);
379
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor));
380
- background-image: -webkit-linear-gradient(@startColor, @midColor @colorStop, @endColor);
381
- background-image: -moz-linear-gradient(top, @startColor, @midColor @colorStop, @endColor);
382
- background-image: -ms-linear-gradient(@startColor, @midColor @colorStop, @endColor);
383
- background-image: -o-linear-gradient(@startColor, @midColor @colorStop, @endColor);
384
- background-image: linear-gradient(@startColor, @midColor @colorStop, @endColor);
385
- background-repeat: no-repeat;
386
- filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@startColor,@endColor)); // IE9 and down, gets no color-stop at all for proper fallback
387
- }
388
- .radial(@innerColor: #555, @outerColor: #333) {
389
- background-color: @outerColor;
390
- background-image: -webkit-gradient(radial, center center, 0, center center, 460, from(@innerColor), to(@outerColor));
391
- background-image: -webkit-radial-gradient(circle, @innerColor, @outerColor);
392
- background-image: -moz-radial-gradient(circle, @innerColor, @outerColor);
393
- background-image: -ms-radial-gradient(circle, @innerColor, @outerColor);
394
- background-image: -o-radial-gradient(circle, @innerColor, @outerColor);
395
- background-repeat: no-repeat;
396
- }
397
- .striped(@color, @angle: -45deg) {
398
- background-color: @color;
399
- background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(255,255,255,.15)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255,255,255,.15)), color-stop(.75, rgba(255,255,255,.15)), color-stop(.75, transparent), to(transparent));
400
- background-image: -webkit-linear-gradient(@angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
401
- background-image: -moz-linear-gradient(@angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
402
- background-image: -ms-linear-gradient(@angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
403
- background-image: -o-linear-gradient(@angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
404
- background-image: linear-gradient(@angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
405
- }
406
- }
407
- // Reset filters for IE
408
- .reset-filter() {
409
- filter: e(%("progid:DXImageTransform.Microsoft.gradient(enabled = false)"));
410
- }
411
-
412
-
413
-
414
- // COMPONENT MIXINS
415
- // --------------------------------------------------
416
-
417
- // Horizontal dividers
418
- // -------------------------
419
- // Dividers (basically an hr) within dropdowns and nav lists
420
- .nav-divider() {
421
- // IE7 needs a set width since we gave a height. Restricting just
422
- // to IE7 to keep the 1px left/right space in other browsers.
423
- // It is unclear where IE is getting the extra space that we need
424
- // to negative-margin away, but so it goes.
425
- *width: 100%;
426
- height: 1px;
427
- margin: ((@baseLineHeight / 2) - 1) 1px; // 8px 1px
428
- *margin: -5px 0 5px;
429
- overflow: hidden;
430
- background-color: #e5e5e5;
431
- border-bottom: 1px solid @white;
432
- }
433
-
434
- // Button backgrounds
435
- // ------------------
436
- .buttonBackground(@startColor, @endColor) {
437
- // gradientBar will set the background to a pleasing blend of these, to support IE<=9
438
- .gradientBar(@startColor, @endColor);
439
- *background-color: @endColor; /* Darken IE7 buttons by default so they stand out more given they won't have borders */
440
- .reset-filter();
441
-
442
- // in these cases the gradient won't cover the background, so we override
443
- &:hover, &:active, &.active, &.disabled, &[disabled] {
444
- background-color: @endColor;
445
- *background-color: darken(@endColor, 5%);
446
- }
447
-
448
- // IE 7 + 8 can't handle box-shadow to show active, so we darken a bit ourselves
449
- &:active,
450
- &.active {
451
- background-color: darken(@endColor, 10%) e("\9");
452
- }
453
- }
454
-
455
- // Navbar vertical align
456
- // -------------------------
457
- // Vertically center elements in the navbar.
458
- // Example: an element has a height of 30px, so write out `.navbarVerticalAlign(30px);` to calculate the appropriate top margin.
459
- .navbarVerticalAlign(@elementHeight) {
460
- margin-top: (@navbarHeight - @elementHeight) / 2;
461
- }
462
-
463
- // Popover arrows
464
- // -------------------------
465
- // For tipsies and popovers
466
- #popoverArrow {
467
- .top(@arrowWidth: 5px, @color: @black) {
468
- bottom: 0;
469
- left: 50%;
470
- margin-left: -@arrowWidth;
471
- border-left: @arrowWidth solid transparent;
472
- border-right: @arrowWidth solid transparent;
473
- border-top: @arrowWidth solid @color;
474
- }
475
- .left(@arrowWidth: 5px, @color: @black) {
476
- top: 50%;
477
- right: 0;
478
- margin-top: -@arrowWidth;
479
- border-top: @arrowWidth solid transparent;
480
- border-bottom: @arrowWidth solid transparent;
481
- border-left: @arrowWidth solid @color;
482
- }
483
- .bottom(@arrowWidth: 5px, @color: @black) {
484
- top: 0;
485
- left: 50%;
486
- margin-left: -@arrowWidth;
487
- border-left: @arrowWidth solid transparent;
488
- border-right: @arrowWidth solid transparent;
489
- border-bottom: @arrowWidth solid @color;
490
- }
491
- .right(@arrowWidth: 5px, @color: @black) {
492
- top: 50%;
493
- left: 0;
494
- margin-top: -@arrowWidth;
495
- border-top: @arrowWidth solid transparent;
496
- border-bottom: @arrowWidth solid transparent;
497
- border-right: @arrowWidth solid @color;
498
- }
499
- }
500
-
501
- // Grid System
502
- // -----------
503
-
504
- // Centered container element
505
- .container-fixed() {
506
- margin-right: auto;
507
- margin-left: auto;
508
- .clearfix();
509
- }
510
-
511
- // Table columns
512
- .tableColumns(@columnSpan: 1) {
513
- float: none; // undo default grid column styles
514
- width: ((@gridColumnWidth) * @columnSpan) + (@gridGutterWidth * (@columnSpan - 1)) - 16; // 16 is total padding on left and right of table cells
515
- margin-left: 0; // undo default grid column styles
516
- }
517
-
518
- // Make a Grid
519
- // Use .makeRow and .makeColumn to assign semantic layouts grid system behavior
520
- .makeRow() {
521
- margin-left: @gridGutterWidth * -1;
522
- .clearfix();
523
- }
524
- .makeColumn(@columns: 1, @offset: 0) {
525
- float: left;
526
- margin-left: (@gridColumnWidth * @offset) + (@gridGutterWidth * (@offset - 1)) + (@gridGutterWidth * 2);
527
- width: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1));
528
- }
529
-
530
- // The Grid
531
- #grid {
532
-
533
- .core (@gridColumnWidth, @gridGutterWidth) {
534
-
535
- .spanX (@index) when (@index > 0) {
536
- (~".span@{index}") { .span(@index); }
537
- .spanX(@index - 1);
538
- }
539
- .spanX (0) {}
540
-
541
- .offsetX (@index) when (@index > 0) {
542
- (~".offset@{index}") { .offset(@index); }
543
- .offsetX(@index - 1);
544
- }
545
- .offsetX (0) {}
546
-
547
- .offset (@columns) {
548
- margin-left: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns + 1));
549
- }
550
-
551
- .span (@columns) {
552
- width: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1));
553
- }
554
-
555
- .row {
556
- margin-left: @gridGutterWidth * -1;
557
- .clearfix();
558
- }
559
-
560
- [class*="span"] {
561
- float: left;
562
- margin-left: @gridGutterWidth;
563
- }
564
-
565
- // Set the container width, and override it for fixed navbars in media queries
566
- .container,
567
- .navbar-fixed-top .container,
568
- .navbar-fixed-bottom .container { .span(@gridColumns); }
569
-
570
- // generate .spanX and .offsetX
571
- .spanX (@gridColumns);
572
- .offsetX (@gridColumns);
573
-
574
- }
575
-
576
- .fluid (@fluidGridColumnWidth, @fluidGridGutterWidth) {
577
-
578
- .spanX (@index) when (@index > 0) {
579
- (~".span@{index}") { .span(@index); }
580
- .spanX(@index - 1);
581
- }
582
- .spanX (0) {}
583
-
584
- .span (@columns) {
585
- width: (@fluidGridColumnWidth * @columns) + (@fluidGridGutterWidth * (@columns - 1));
586
- *width: (@fluidGridColumnWidth * @columns) + (@fluidGridGutterWidth * (@columns - 1)) - (.5 / @gridRowWidth * 100 * 1%);
587
- }
588
-
589
- .row-fluid {
590
- width: 100%;
591
- .clearfix();
592
- [class*="span"] {
593
- .input-block-level();
594
- float: left;
595
- margin-left: @fluidGridGutterWidth;
596
- *margin-left: @fluidGridGutterWidth - (.5 / @gridRowWidth * 100 * 1%);
597
- }
598
- [class*="span"]:first-child {
599
- margin-left: 0;
600
- }
601
-
602
- // generate .spanX
603
- .spanX (@gridColumns);
604
- }
605
-
606
- }
607
-
608
- .input(@gridColumnWidth, @gridGutterWidth) {
609
-
610
- .spanX (@index) when (@index > 0) {
611
- (~"input.span@{index}, textarea.span@{index}, .uneditable-input.span@{index}") { .span(@index); }
612
- .spanX(@index - 1);
613
- }
614
- .spanX (0) {}
615
-
616
- .span(@columns) {
617
- width: ((@gridColumnWidth) * @columns) + (@gridGutterWidth * (@columns - 1)) - 10;
618
- }
619
-
620
- input,
621
- textarea,
622
- .uneditable-input {
623
- margin-left: 0; // override margin-left from core grid system
624
- }
625
-
626
- // generate .spanX
627
- .spanX (@gridColumns);
628
-
629
- }
630
-
631
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/mixins/index.less DELETED
@@ -1,9 +0,0 @@
1
- /**
2
- * @version $Id: index.less 58849 2013-01-16 05:47:28Z btowles $
3
- * @author RocketTheme http://www.rockettheme.com
4
- * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
5
- * @license http://www.rockettheme.com/legal/license.php RocketTheme Proprietary Use License
6
- */
7
-
8
- @import "bootstrap/mixins.less";
9
- @import "rockettheme/mixins.less";
 
 
 
 
 
 
 
 
 
admin/assets/less/mixins/rockettheme/buttons.less DELETED
@@ -1,106 +0,0 @@
1
- /**
2
- * @version $Id: buttons.less 58849 2013-01-16 05:47:28Z btowles $
3
- * @author RocketTheme http://www.rockettheme.com
4
- * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
5
- * @license http://www.rockettheme.com/legal/license.php RocketTheme Proprietary Use License
6
- */
7
-
8
- /* global button styling */
9
- .buttonStyle(@startColor: #f0f0f0, @endColor: #ebebeb){
10
- vertical-align: middle;
11
- text-align: center;
12
- cursor: pointer;
13
- .user-select(none);
14
- .ie7-restore-left-whitespace();
15
-
16
- #gradient > .vertical(@startColor, @endColor);
17
- }
18
-
19
- /* light button */
20
- .button(@startColor: #f0f0f0, @endColor: #ebebeb) when (lightness(@endColor) >= 50%){
21
- color: #65646A;
22
- border-width: 1px;
23
- border-style: solid;
24
- border-color: fade(@light, 85%) fade(@light, 85%) darken(@endColor, 2%);
25
- text-shadow: 0 1px 0 lighten(@startColor, 6%);
26
- @shadowCalc: darken(@endColor, 21%);
27
- .box-shadow(~"0 0 0 1px @{shadowCalc}, 0 3px 5px #c6c6c6");
28
- .buttonStyle(@startColor, @endColor);
29
-
30
- .caret { .caret(#65646A); }
31
-
32
- &:hover, &.rok-button-hover {
33
- color: #484848;
34
-
35
- .caret { .caret(#484848); }
36
- #gradient > .vertical(lighten(@startColor, 4%), lighten(@endColor, 4%));
37
- }
38
-
39
- &:active, &.rok-button-active {
40
- color: #464646;
41
- border: 0;
42
-
43
- .caret { .caret(#464646); }
44
- @shadowCalc: darken(@endColor, 29%); // workaround: temp var so we can escape it next line
45
- .box-shadow(~"0 0 0 1px @{shadowCalc}, 0 1px 1px #fff");
46
- #gradient > .vertical(darken(@startColor, 1%), darken(@endColor, 1%));
47
- }
48
-
49
- &.rok-button-disabled {
50
- &, &:hover, &:active {
51
- cursor: default;
52
- color: #929292;
53
- border: 0;
54
-
55
- .caret { .caret(#464646); }
56
- @shadowCalc: darken(@endColor, 19%); // workaround: temp var so we can escape it next line
57
- .box-shadow(~"0 0 0 1px @{shadowCalc}, 0 1px 1px #fff");
58
- #gradient > .vertical(darken(@startColor, 1%), darken(@endColor, 1%));
59
-
60
- i {
61
- .opacity(50);
62
- }
63
- }
64
- }
65
- }
66
-
67
- /* dark button */
68
- .button(@startColor: #f0f0f0, @endColor: #ebebeb) when (lightness(@endColor) < 50%){
69
- color: #fff;
70
- border-width: 1px;
71
- border-style: solid;
72
- border-color: fade(@light, 45%) fade(@light, 15%) darken(@endColor, 2%);
73
- box-shadow: 0 0 0 1px darken(@startColor, 15%), 0 3px 5px #c6c6c6;
74
- text-shadow: 0 -1px 0 darken(@endColor, 7%);
75
- .buttonStyle(@startColor, @endColor);
76
-
77
- .caret {
78
- .caret(#fff);
79
- }
80
-
81
- &:hover, &.rok-button-hover {
82
- color: #fff;
83
- #gradient > .vertical(lighten(@startColor, 6%), lighten(@endColor, 1%));
84
- }
85
-
86
- &:active, &.rok-button-active {
87
- color: #fff;
88
- border: 0;
89
-
90
- @shadowCalc: darken(@endColor, 5%); // workaround: temp var so we can escape it next line
91
- .box-shadow(~"0 0 0 1px @{shadowCalc}, 0 1px 1px #fff");
92
- #gradient > .vertical(darken(@startColor, 1%), darken(@endColor, 1%));
93
-
94
- }
95
- }
96
-
97
- .caret(@color: @dark) {
98
- display: inline-block;
99
- width: 0;
100
- height: 0;
101
- vertical-align: top;
102
- border-top: 4px solid @color;
103
- border-right: 4px solid transparent;
104
- border-left: 4px solid transparent;
105
- content: "";
106
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/mixins/rockettheme/dropdowns.less DELETED
@@ -1,50 +0,0 @@
1
- /**
2
- * @version $Id: dropdowns.less 58849 2013-01-16 05:47:28Z btowles $
3
- * @author RocketTheme http://www.rockettheme.com
4
- * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
5
- * @license http://www.rockettheme.com/legal/license.php RocketTheme Proprietary Use License
6
- */
7
-
8
- .rok-dropdown-group, .rok-dropdown {
9
- position: relative;
10
- }
11
-
12
- .rok-dropdown-open .rok-dropdown {
13
- display: block;
14
- }
15
-
16
- .dropdown() {
17
- position: absolute;
18
- top: 100%;
19
- left: 0;
20
- display: none; // none by default, but block on "open" of the menu
21
- float: left;
22
- list-style: none;
23
- -webkit-background-clip: padding-box;
24
- -moz-background-clip: padding;
25
- background-clip: padding-box;
26
- z-index: 5;
27
-
28
- // Dividers (basically an hr) within the dropdown
29
- .divider {
30
- .nav-divider();
31
- }
32
-
33
- > li {
34
- display: block; // reset to blocks the dropdowns children
35
- }
36
-
37
- // Links within the dropdown menu
38
- a {
39
- display: block;
40
- clear: both;
41
- font-weight: normal;
42
- white-space: nowrap;
43
- }
44
-
45
- // hover states
46
- // in your custom dropdowns.less you would edit this for different colors
47
- > li > a:hover, .active > a, .active > a:hover {
48
- text-decoration: none;
49
- }
50
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/mixins/rockettheme/icons.less DELETED
@@ -1,17 +0,0 @@
1
- /**
2
- * @version $Id: icons.less 58849 2013-01-16 05:47:28Z btowles $
3
- * @author RocketTheme http://www.rockettheme.com
4
- * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
5
- * @license http://www.rockettheme.com/legal/license.php RocketTheme Proprietary Use License
6
- */
7
-
8
- i {
9
- background-image: url("@{iconSpritePath}") !important;
10
- background-repeat: no-repeat;
11
- background-position: 16px 16px; // reset of default position from 0 0 to a transparent location, out of the sprite
12
- vertical-align: text-top;
13
- font-style: normal;
14
- display: inline-block;
15
- .square(16px);
16
- .ie7-restore-right-whitespace();
17
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/mixins/rockettheme/mixins.less DELETED
@@ -1,74 +0,0 @@
1
- /**
2
- * @version $Id: mixins.less 58849 2013-01-16 05:47:28Z btowles $
3
- * @author RocketTheme http://www.rockettheme.com
4
- * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
5
- * @license http://www.rockettheme.com/legal/license.php RocketTheme Proprietary Use License
6
- */
7
-
8
- @import "utilities.less";
9
- @import "dropdowns.less";
10
- @import "popover.less";
11
- @import "buttons.less";
12
- @import "icons.less";
13
-
14
- /* Ellipsis */
15
- .ellipsis() {
16
- white-space: nowrap;
17
- overflow: hidden;
18
- text-overflow: ellipsis;
19
- -webkit-text-overflow: ellipsis;
20
- -moz-text-overflow: ellipsis;
21
- -o-text-overflow: ellipsis;
22
- -ms-text-overflow: ellipsis;
23
- }
24
-
25
- /* Gradient */
26
- #rt-gradient {
27
- .horizontal-three-colors(@startColor: #00b3ee, @midColor: #7a43b6, @colorStop: 50%, @endColor: #c3325f) {
28
- background-color: mix(@midColor, @endColor, 80%);
29
- background-image: -webkit-gradient(linear, left top, right top, 0 0, 0 100%, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor));
30
- background-image: -webkit-linear-gradient(left, @startColor, @midColor @colorStop, @endColor);
31
- background-image: -moz-linear-gradient(left, @startColor, @midColor @colorStop, @endColor);
32
- background-image: -ms-linear-gradient(left, @startColor, @midColor @colorStop, @endColor);
33
- background-image: -o-linear-gradient(left, @startColor, @midColor @colorStop, @endColor);
34
- background-image: linear-gradient(left, @startColor, @midColor @colorStop, @endColor);
35
- background-repeat: no-repeat;
36
- filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",@startColor,@endColor)); // IE9 and down, gets no color-stop at all for proper fallback
37
- }
38
- }
39
-
40
- /* CSS Arrows */
41
- #CSSArrow {
42
- .top(@arrowWidth: 5px, @arrowColor: @black, @arrowOffset: 0, @arrowPosition: 50%) {
43
- bottom: @arrowOffset;
44
- left: @arrowPosition;
45
- margin-left: -@arrowWidth;
46
- border-left: @arrowWidth solid transparent;
47
- border-right: @arrowWidth solid transparent;
48
- border-top: @arrowWidth solid @arrowColor;
49
- }
50
- .left(@arrowWidth: 5px, @arrowColor: @black, @arrowOffset: 0, @arrowPosition: 50%) {
51
- top: @arrowPosition;
52
- right: @arrowOffset;
53
- margin-top: -@arrowWidth;
54
- border-top: @arrowWidth solid transparent;
55
- border-bottom: @arrowWidth solid transparent;
56
- border-left: @arrowWidth solid @arrowColor;
57
- }
58
- .bottom(@arrowWidth: 5px, @arrowColor: @black, @arrowOffset: 0, @arrowPosition: 50%) {
59
- top: -@arrowOffset;
60
- left: @arrowPosition;
61
- margin-left: -@arrowWidth - 1;
62
- border-left: @arrowWidth solid transparent;
63
- border-right: @arrowWidth solid transparent;
64
- border-bottom: @arrowWidth solid @arrowColor;
65
- }
66
- .right(@arrowWidth: 5px, @arrowColor: @black, @arrowOffset: 0, @arrowPosition: 50%) {
67
- top: @arrowPosition;
68
- left: @arrowOffset;
69
- margin-top: -@arrowWidth;
70
- border-top: @arrowWidth solid transparent;
71
- border-bottom: @arrowWidth solid transparent;
72
- border-right: @arrowWidth solid @arrowColor;
73
- }
74
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/mixins/rockettheme/popover.less DELETED
@@ -1,25 +0,0 @@
1
- /**
2
- * @version $Id: popover.less 58849 2013-01-16 05:47:28Z btowles $
3
- * @author RocketTheme http://www.rockettheme.com
4
- * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
5
- * @license http://www.rockettheme.com/legal/license.php RocketTheme Proprietary Use License
6
- */
7
-
8
- .rok-popover-group, .rok-popover {
9
- position: relative;
10
- }
11
-
12
- .rok-popover-open .rok-popover {
13
- display: block;
14
- }
15
-
16
- .popover() {
17
- position: absolute;
18
- top: 0;
19
- left: -100%;
20
- display: none; // none by default, but block on "open" of the menu
21
- -webkit-background-clip: padding-box;
22
- -moz-background-clip: padding;
23
- background-clip: padding-box;
24
- z-index: 5;
25
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/mixins/rockettheme/utilities.less DELETED
@@ -1,13 +0,0 @@
1
- /**
2
- * @version $Id: utilities.less 58849 2013-01-16 05:47:28Z btowles $
3
- * @author RocketTheme http://www.rockettheme.com
4
- * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
5
- * @license http://www.rockettheme.com/legal/license.php RocketTheme Proprietary Use License
6
- */
7
-
8
- .rok-left {
9
- float: left;
10
- }
11
- .rok-right {
12
- float: right;
13
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/presets.less DELETED
@@ -1,247 +0,0 @@
1
- /* Snapshots Panel */
2
- .presets {
3
- position: relative;
4
- width: 1000px;
5
- margin: 0 auto;
6
-
7
- .scroller {
8
- margin-bottom: 30px;
9
- .inner {
10
- overflow: hidden;
11
- width: 100%;
12
- }
13
- }
14
-
15
- .presets-scrollbar {
16
- background: #dedede;
17
- .box-shadow(~"0 2px 3px rgba(0, 0, 0, 0.2) inset, 0 1px 0 0 #fff");
18
- position: absolute;
19
- width: 100%;
20
- height: 16px;
21
- .border-radius(4px);
22
-
23
- .bar {
24
- position: absolute;
25
- top: -1px;
26
- left: -1px;
27
- height: 16px;
28
- width: 0;
29
- border: 1px solid #bbb;
30
- .box-shadow(~"1px 1px 0 0 #fff inset");
31
- .border-radius(2px);
32
- background: #fafafa url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAALBAMAAAC5XnFsAAAAA3NCSVQICAjb4U/gAAAAElBMVEX////+/v7Ozs7Nzc3Ly8uMRgCgvID5AAAABnRSTlP//////wCzv6S/AAAACXBIWXMAAAsSAAALEgHS3X78AAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABR0RVh0Q3JlYXRpb24gVGltZQA4LzMvMTLfrdy9AAAAKUlEQVQImWMIYAVBBigVbAqCDKFgwBAoCpUDMYByQapBqhhyYCrEFQQBMiQPAwBHVdkAAAAASUVORK5CYII=) 50% 2px no-repeat;
33
-
34
- }
35
- }
36
-
37
- .presets-scrollbar {
38
- position: absolute;
39
- left: 0;
40
- bottom: -15px;
41
- }
42
-
43
- .wrapper {
44
- font-size: 0;
45
- margin: 0 auto;
46
-
47
- .block {
48
- font-size: @baseFontSize;
49
- display: inline-block;
50
- cursor: pointer;
51
- position: relative;
52
- margin: 20px 8px 10px;
53
- .box-shadow(0 1px 5px rgba(33, 33, 33, 0.1));
54
- .border-radius(4px);
55
- border: 1px solid #d9d9d9;
56
- padding: 1px;
57
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAABGCAMAAAAZ4Z3/AAAAA3NCSVQICAjb4U/gAAAAilBMVEX////+/v79/f38/Pz7+/v39/f29vbz8/Py8vLw8PDv7+/u7u7t7e3s7Ozr6+vq6urp6eno6Ojn5+fi4uLh4eHg4ODf39/b29vY2NjX19fW1tbV1dXU1NTT09PS0tLR0dHQ0NDPz8/Ozs7Nzc3MzMzDw8O5ubmxsbGkpKSampqQkJCLi4uIiIiMRgBq/iXiAAAALnRSTlP///////////////////////////////////////////////////////////8Ago9zVQAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAAUdEVYdENyZWF0aW9uIFRpbWUAOC80LzEyQnrkBAAAA5lJREFUaIHtmYt2mzAMhrvFpFcv7Vg2uqVd69YBjP3+rzdJtoEQyDBdgJ3Df1rAMogP3yTChZmlLqYGaNeCFaIFK0QLVogWrBA5rM93N0a8k4TxR+MfNrBuX79fjd8kR1ptn2/tEWE9PK+npKlp/bwhItzcvawmpqm0ernBHWCx2bQVar1jhrDut1OjHGi7MYT143JqkgNdPhrC2kwN0tDOzHI5/WII625qjhYBlvj7WU5SZ7jTsmFFZdHJS5lkfe/y1WK9BWDpuA2Lcx6r4uSlXPO+d3kbgFV4rESK0orbWEdRZCTHGmQ3kZREQkUmtDjdnB/CEnpvsZTOtY5qWFzzHIwJ1aRAo5XyJ6bU0fn5sOAuEWKliOT6jbCY0ibX3JgUjJFOTK5g1GZlkWPd+bAirRAL2wMaJLJWUkwkUAMjTWVgTRNWFc+MZfbQkdIOL3crGvJ4lGM3WUY4EtDL+7J4bixTaGAqcKUQmpVW47EKGHwGBj9nWBOVxWCsb2FYMWLB4Ic75ZW1xIK2gxoAV4Tli/AfOBP7ywJk2IP7amodYkG1xpHHsfNEWYT50HcmuuV0WPBhvOvpGbcLOo23qhikoOAzjoKDzzgKnonjaMEK0X+G5YKcluWK1KLOOqhwdc4PPwnBj+q7sBjnkB5xzgZhcVlhcRcth2C1BR97MrgXmMsxLEBggz8hMLHjVR0ZKbAwIRN6qArLu7M5Y92NDUVCxp1Y3c8gtcoLyFjIP4SWvChyXShVQFSBOsjzIBDDGXRSpKFSHXai8+ZyxsqNvYJB/CrUEdaJ4OOx4CGLvPIHvhOMiGSDfQo5BBrRkBUYxvkBVg5Kypyx7oauwH1+hGVMZ/DxWNZP6S93Nd7GgJsCNG14kjWwpMSE3ueMdTe4IXvc1VptC0RPLEwH/U0gec/SBpZ15nPGI6xaLlnTiXWrDxbD1koOnp23YvmcsYlVpGQfjJXQO0ITS2EyxSqsDMdaG5bPGeturAssD8eCqQTzromVwlKZmFonajS1zUSfM9bc0IZSxBCspqLmtSjGG0WGS1KbfM7YdNPwEIw1puaN1f/NZxwFv/mMow+9+ZxXM3zzuTeE9To1R0PuJ92f8/oB/AqTNsB6mNnnAvdLM9vN6uPKL/wAhQvEzaw+RdGQQqxPm6e5tNf6yX5QtMvp9WbAryr/Xqt4d22PqlX+8c19m12Z3+8THZaaYfBBLVghWrBCtGCFaKZYfwCcAfb/ENSCxAAAAABJRU5ErkJggg==) 50% 60% no-repeat;
58
- .transition(all 0.25s ease-in-out);
59
-
60
- &.pulsing {
61
- outline: 0;
62
- border-color: rgba(82, 168, 236, 0.8);
63
- .box-shadow(0 0 8px rgba(82, 168, 236, 0.6));
64
- .transition(all 0.25s ease-in-out);
65
- }
66
-
67
- div.presets-bg {
68
- width: 180px;
69
- height: 100px;
70
- .border-radius( 0 0 4px 4px);
71
-
72
- }
73
-
74
- span {
75
- display: block;
76
- .border-radius( 4px 4px 0 0);
77
- border-top: 1px solid #fff;
78
- border-bottom: 1px solid #d9d9d9;
79
- background: #f5f5f5;
80
- color: #666;
81
- text-align:center;
82
- font-weight: bold;
83
- padding: 4px;
84
- font-size: @baseFontSize + 2;
85
- line-height: @baseFontSize + 2;
86
- text-shadow: 1px 1px 0 #fff;
87
- }
88
-
89
- .delete-preset {
90
- position: absolute;
91
- right: 4px;
92
- top: 4px;
93
- background: #ddd;
94
- border: 1px solid #ccc;
95
- .border-radius(20px);
96
- padding: 1px 4px;
97
- cursor: pointer;
98
-
99
- &:hover {
100
- background: #e83f1f;
101
- border: 1px solid #cb2417;
102
- span {
103
- color: #fff;
104
- text-shadow: 1px 1px 0 #2373bd;
105
- }
106
-
107
-
108
-
109
- }
110
-
111
- span {
112
- border: 0;
113
- padding: 0;
114
- .border-radius(0);
115
- background: transparent;
116
- }
117
- }
118
- }
119
- }
120
- }
121
-
122
-
123
- /* Overlay */
124
- #gantry-layer {
125
- position: absolute;
126
- top: 0; left: 0; right: 0; bottom: 0;
127
- background: #000;
128
- z-index: 900;
129
- }
130
-
131
- /* Presets Saver */
132
- .presets-wrapper-table {
133
- display: table;
134
- width: 100%;
135
- height:100%;
136
- position: absolute;
137
- left: 0; top: 0; right: 0; bottom: 0;
138
- .presets-wrapper-row {
139
- display: table-row;
140
- .presets-wrapper-cell {
141
- display: table-cell;
142
- vertical-align: middle;
143
- }
144
- }
145
- }
146
-
147
- #presets-namer {
148
- position: relative;
149
- margin: 0 auto;
150
- background: #fff;
151
- padding: 15px;
152
- width: 80%;
153
- max-width: 500px;
154
- z-index: 1500;
155
- font-size: 13px;
156
- .border-radius(4px);
157
-
158
- .preset-bottom {
159
- text-align: right;
160
- }
161
-
162
- .rok-button {
163
- display: inline-block;
164
- margin-left: 5px;
165
- }
166
-
167
- h2, h3 {
168
- margin-top:0;
169
- margin-bottom: 5px;
170
- color: #D73D12;
171
- font-family: "Oxygen", Arial, sans-serif;
172
- }
173
-
174
- h3 {
175
- color: #000;
176
- text-transform: uppercase;
177
- padding-bottom: 5px;
178
- margin-bottom: 10px;
179
- position: relative;
180
-
181
- span {
182
- text-transform: uppercase;
183
- color: #C13201;
184
- }
185
- }
186
-
187
- p {
188
- margin: 10px 0;
189
- }
190
-
191
- input, input:focus {
192
- .border-radius(4px);
193
- padding: 4px;
194
- margin: 0;
195
- .box-shadow(~"0 2px 2px 0 rgba(0,0,0,0.1) inset, 0 1px 0 0 #fff");
196
- border: 1px solid @inputBorder;
197
- border-top-color: @inputBorderTop;
198
- .border-radius(3px);
199
- width: 100%;
200
-
201
- &.example {
202
- color: #999;
203
- font-style: italic;
204
- }
205
- }
206
-
207
- button {
208
- font-size: 90%;
209
- margin-right: 10px;
210
- }
211
-
212
- label span {
213
- text-align: right;
214
- padding-right: 10px;
215
- float: left;
216
- display: block;
217
- width: 85px;
218
- color:#666;
219
- text-transform: uppercase;
220
- font-size:80%;
221
- line-height: 25px;
222
- }
223
-
224
- .preset-namer {
225
- background: #e9e9e9;
226
- padding: 15px;
227
- .border-radius(4px);
228
- margin-bottom: 15px;
229
- border: 1px solid #ccc;
230
- }
231
- }
232
-
233
- /*.gantry-layer-wrapper {padding:20px;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;}*/
234
- .gantry-layer-wrapper .preset-namer div {margin: 5px 10px;}
235
- .gantry-layer-close {color:#f64a4a;font-weight:bold;position:absolute;height: 20px;width:20px;line-height:20px;top:2px;right:2px;}
236
-
237
- /* Presets Saver */
238
- /*#presets-namer {position:absolute;top: 0;left: 0;background: #fff;width:500px;z-index:1500;font-size:13px;}
239
- #presets-namer p {margin: 15px 0 20px;}
240
- #presets-namer h2, #presets-namer h3 {margin-top:0;border-bottom: 2px solid #ddd;margin-bottom: 5px;color:#C13201;}
241
- #presets-namer h3 {color: #000;text-transform:uppercase;border-bottom:1px solid #CCCCCC;padding-bottom:5px;margin-bottom:10px;position:relative;}
242
- #presets-namer h3 span {text-transform:none;color:#C13201;}
243
- #presets-namer input.example {color:#999;font-style:italic;}
244
- #presets-namer label span {text-align: right;padding-right: 10px;float: left;display:block; width: 85px;color:#666;text-transform: uppercase;font-size:80%;line-height:24px;}
245
- .preset-namer {background:#e9e9e9;padding:15px;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;margin-bottom:15px;}
246
- .preset-bottom {padding: 15px 0;}
247
- .preset-bottom button {margin-right: 5px;}*/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/reset.less DELETED
@@ -1,9 +0,0 @@
1
- #g4-toolbar {
2
- ul {
3
- list-style: none;
4
- margin-right:10px;
5
- margin-top: -25px;
6
- padding: 0;
7
- }
8
- }
9
-
 
 
 
 
 
 
 
 
 
admin/assets/less/typography-fonts.less DELETED
@@ -1,48 +0,0 @@
1
- @font-face {
2
- font-family: 'OxygenRegular';
3
- src: url('../fonts/Oxygen-webfont.eot');
4
- src: url('../fonts/Oxygen-webfont.eot?#iefix') format('embedded-opentype'),
5
- url('../fonts/Oxygen-webfont.woff') format('woff'),
6
- url('../fonts/Oxygen-webfont.ttf') format('truetype'),
7
- url('../fonts/Oxygen-webfont.svg#OxygenRegular') format('svg');
8
- font-weight: normal;
9
- font-style: normal;
10
-
11
- }
12
-
13
- @font-face {
14
- font-family: 'OxygenItalic';
15
- src: url('../fonts/Oxygen-Italic-webfont.eot');
16
- src: url('../fonts/Oxygen-Italic-webfont.eot?#iefix') format('embedded-opentype'),
17
- url('../fonts/Oxygen-Italic-webfont.woff') format('woff'),
18
- url('../fonts/Oxygen-Italic-webfont.ttf') format('truetype'),
19
- url('../fonts/Oxygen-Italic-webfont.svg#OxygenItalic') format('svg');
20
- font-weight: normal;
21
- font-style: normal;
22
-
23
- }
24
-
25
- @font-face {
26
- font-family: 'OxygenBold';
27
- src: url('../fonts/Oxygen-Bold-webfont.eot');
28
- src: url('../fonts/Oxygen-Bold-webfont.eot?#iefix') format('embedded-opentype'),
29
- url('../fonts/Oxygen-Bold-webfont.woff') format('woff'),
30
- url('../fonts/Oxygen-Bold-webfont.ttf') format('truetype'),
31
- url('../fonts/Oxygen-Bold-webfont.svg#OxygenBold') format('svg');
32
- font-weight: normal;
33
- font-style: normal;
34
-
35
- }
36
-
37
- @font-face {
38
- font-family: 'OxygenBoldItalic';
39
- src: url('../fonts/Oxygen-BoldItalic-webfont.eot');
40
- src: url('../fonts/Oxygen-BoldItalic-webfont.eot?#iefix') format('embedded-opentype'),
41
- url('../fonts/Oxygen-BoldItalic-webfont.woff') format('woff'),
42
- url('../fonts/Oxygen-BoldItalic-webfont.ttf') format('truetype'),
43
- url('../fonts/Oxygen-BoldItalic-webfont.svg#OxygenBoldItalic') format('svg');
44
- font-weight: normal;
45
- font-style: normal;
46
-
47
- }
48
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/typography.less DELETED
@@ -1,174 +0,0 @@
1
- @import "typography-fonts.less";
2
-
3
- #g4-logo {
4
- font-size: 200px;
5
- line-height: 0px;
6
- color: rgba(00,00,00,0.05);
7
- text-indent: 40px;
8
- font-weight: bold;
9
- }
10
-
11
- .g4-wrap {
12
- font-size: @baseFontSize;
13
- line-height: @baseLineHeight;
14
-
15
- ul {
16
- margin: 0;
17
- padding: 0;
18
- list-style: none;
19
-
20
- }
21
-
22
- p {
23
- margin: 20px 0;
24
- font-size: @baseFontSize+1;
25
- color: @gray;
26
- }
27
-
28
-
29
- }
30
-
31
- h1 {
32
- #html > h1;
33
- small {
34
- color: #9b9b9b;
35
- font-size: 16px;
36
- }
37
- }
38
-
39
-
40
-
41
- .g4-tabs {
42
- li {
43
- font-size: 14px;
44
- }
45
- }
46
-
47
- #g4-sidebar {
48
- .g4-content {
49
- h2 {
50
- font-size: 16px;
51
- color: #3e3e3e;
52
- margin: 0;
53
- padding: 15px 15px 5px;
54
- }
55
- }
56
- }
57
-
58
- .g4-tabs {
59
- .presets-involved, overrides-involved, .preset-info, .menuitems-involved {
60
- font-size: 13px;
61
- font-weight: bold;
62
- }
63
- }
64
-
65
- #g4-panels {
66
- h1 {
67
- font-size: 38px;
68
- line-height: 38px;
69
- font-weight: bold;
70
-
71
- .g4-version, > span {
72
- color: @blue;
73
- font-weight: normal;
74
- }
75
- }
76
- h1+h2 {
77
- margin-top: 10px;
78
- color: @gray;
79
- font-weight: normal;
80
- }
81
- }
82
-
83
- div.template-preview {
84
- h2, ul {
85
- margin: 10px 0 10px 10px;
86
-
87
- }
88
- ul {
89
- list-style: disc;
90
- li {
91
- margin-left:20px;
92
- margin-bottom: 3px;
93
- }
94
- }
95
- }
96
-
97
- .gantrytips-tip {
98
- ul {
99
- list-style: disc;
100
- margin: 10px 0 10px 10px;
101
- li {
102
- margin-left: 10px;
103
- margin-bottom: 3px;
104
- }
105
- }
106
- }
107
-
108
- .tips-field, .html-field {
109
- font-size: @baseFontSize+1;
110
- color: @black2;
111
- text-shadow: 1px 1px 1px #fff;
112
- .h2bar {
113
- line-height: 26px;
114
- font-size: 22px;
115
- font-weight: bold;
116
- color: @gray;
117
- }
118
- }
119
-
120
- #updater {
121
-
122
- #updater-bar {
123
- color: #eee;
124
- font-size: @baseFontSize+1;
125
- line-height: 26px;
126
- font-size: 22px;
127
- font-weight: bold;
128
- text-shadow: 0px -1px 0 #1d5792;
129
-
130
- span {
131
- color: #fff;
132
- }
133
-
134
-
135
- }
136
-
137
- #updater-desc {
138
-
139
- color: #eee;
140
- text-shadow: 0px -1px 0 #1d5792;
141
-
142
- a {
143
- color: #fff;
144
- }
145
- }
146
-
147
- &.update #updater-bar, &.update #updater-desc {
148
- text-shadow: 0px -1px 0 #a71f14;
149
- }
150
- }
151
-
152
- .g4-cell {
153
- &.g4-col1 {
154
- font-weight: bold;
155
- text-shadow: 1px 1px 0 #fff;
156
- color: @gray;
157
-
158
- label, h2 {
159
- padding-left: 20px;
160
- font-size:13px;
161
- }
162
-
163
- h2 {
164
- padding-top: 45px;
165
- }
166
- }
167
- }
168
-
169
- .chain-label > label, .group-label > label,
170
- .inner-panels label {
171
- font-size: @baseFontSize - 1;
172
- color: @gray2;
173
- text-shadow: 1px 1px 0px #fff;
174
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/variables.less DELETED
@@ -1,25 +0,0 @@
1
- @white: #fff;
2
- @black: #000;
3
- @black2: #333;
4
- @gray: #555;
5
- @gray2: #777;
6
- @gray3: #999;
7
- @lightGray: #f3f3f3;
8
- @blue: #3680be;
9
-
10
- @dark: #000;
11
- @light: #fff;
12
-
13
- @inputBorderTop: #c6c6c6;
14
- @inputBorder: #cfcfcf;
15
-
16
- @baseFontSize: 12px;
17
- @baseLineHeight: 18px;
18
-
19
- @wrapperWidth: 100%; // sum of sidebar and main
20
- @sidebarWidth: 30%; // must be 100%.
21
- @mainWidth: 70%; // The wrapperWidth can be any % or px size
22
-
23
- @dropdownBackground: #fefefe;
24
-
25
- //@iconSpritePath: "../images/sprite.png";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/less/wordpress.less DELETED
@@ -1,129 +0,0 @@
1
- @import 'assignments.less';
2
-
3
- .g4-wrap {
4
- width: 100%;
5
- }
6
-
7
- #wpcontent {
8
- margin-left: 147px;
9
- }
10
-
11
- @media only screen and (max-width: 900px) {
12
- #wpcontent {
13
- margin-left: 34px;
14
- }
15
- }
16
-
17
- body .html-field {
18
- background: transparent;
19
- .border-radius(0);
20
- border: none;
21
- .box-shadow(none);
22
- }
23
-
24
- body #icon-themes {
25
- margin: -10px 10px 0;
26
- }
27
-
28
- .g4-wrap {
29
- input, textarea {
30
- .box-sizing(inherit) !important;
31
- }
32
- }
33
-
34
- .g4-notice {
35
- position: relative;
36
- .close {
37
- position: absolute;
38
- top: 6px;
39
- right:9px;
40
- cursor: pointer;
41
- }
42
- }
43
-
44
- .g4-actions {
45
- .spinner {
46
- float: left;
47
- display: inline-block;
48
- display: none;
49
- }
50
- }
51
-
52
- .inner-tabs {
53
- .box-shadow(~'0 1px 0 0 #DDD inset, 0 2px 0 0 #FFF inset');
54
- li {
55
- cursor: pointer;
56
- display: inline-block;
57
- margin-bottom: -6px;
58
- border-right: 1px solid #d1d1d1;
59
- border-left: 1px solid #f1f1f1;
60
-
61
- label {
62
- font-weight: normal;
63
- }
64
-
65
- &.first {
66
- border-left: 0;
67
- }
68
-
69
- &.hover label {
70
- color: #000;
71
- }
72
-
73
- &.active label {
74
- color: #2287C7;
75
- font-weight: bold;
76
- }
77
-
78
- .g4-cell.g4-col1 {
79
- background: transparent;
80
- .box-shadow(none);
81
- width: auto;
82
-
83
- label {
84
- padding-left: 0;
85
- }
86
- }
87
- }
88
- }
89
-
90
- .inner-panel > .wrapper {
91
- display: table;
92
- width: 100%;
93
- }
94
-
95
-
96
- /* Gantry Overrides */
97
- #overrides-actions {float:left;margin:12px 0 0 8px;min-width:180px;position:relative;z-index:100;}
98
- #overrides-actions .add-edit-input {position: absolute;width:85%;height:9px;top:3px;font-size:90%;padding: 3px 0;}
99
- #overrides-first {padding:3px 30px 4px 12px;line-height:15px;border: 1px solid #c0c0c0;.border-radius(12px);background: -moz-linear-gradient(bottom, #e7e7e7, #fff);background: -webkit-gradient(linear, left bottom, left top, from(#e7e7e7), to(#fff));}
100
- #overrides-first.slide-down {border-bottom: none;.border-radius(12px 12px 0 0);}
101
-
102
- #overrides-actions a {color: #464646;display:block;font-size:11px;text-decoration:none;padding:3px 5px 3px 10px}
103
- body #overrides-first a {background: url(images/overrides-default.png) 0 50% no-repeat;padding: 0 0 0 18px;}
104
- #overrides-actions a:hover {color:#000;text-decoration:underline;}
105
- #overrides-first a:hover {text-decoration:none;}
106
- #overrides-toggle {background:url(images/overrides-arrow.gif) 0 -4px no-repeat;height: 22px;position:absolute;right:0px;top:1px; width:28px;cursor:pointer;}
107
- #overrides-toggle.hidden {display:none;}
108
- #overrides-inside {background-color:#FFFFFF;border-color:#C0C0C0;margin:0;padding:2px 1px;border-width:1px;border-style:solid;position:absolute;z-index:11;display:none;.border-radius(0 0 12px 12px);}
109
-
110
- #overrides-toolbar {float:left;margin:12px 0 0 5px;position:relative;}
111
- #overrides-toolbar .overrides-button {float: left;width:29px; height:24px;background:url(images/overrides-toolbar.png);cursor:pointer;}
112
- #overrides-toolbar .overrides-button span {display:none;}
113
- #overrides-toolbar .button-del {background-position:-29px 0;width:28px;}
114
- #overrides-toolbar .button-edit {background-position:-57px 0;}
115
- #overrides-toolbar .button-add:hover {background-position: 0 -24px;}
116
- #overrides-toolbar .button-del:hover {background-position: -29px -24px;}
117
- #overrides-toolbar .button-edit:hover {background-position: -57px -24px;}
118
-
119
- .text-button {display: inline-block;height: 24px;background: url(images/overrides-buttons-l.png) 0 0 no-repeat;text-decoration:none;}
120
- .text-button span {font-size:11px;font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;color:#333;display: inline-block;background: url(images/overrides-buttons-r.png) 100% 0 no-repeat;margin-left: 20px;padding:0 10px 0 5px;line-height:24px;height:24px;}
121
- .text-button:hover span {color:#000;background-position: 100% -24px;}
122
-
123
- .text-button.button-widget { background-position: 0 -48px;}
124
- .text-button.button-widget:hover { background-position: 0 -72px;}
125
-
126
- #overrides-switch {float:left;margin:12px 0 0 5px;position:relative;}
127
-
128
-
129
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/forms/fields/imagepicker.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * @version 4.0.2 March 21, 2013
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
1
  <?php
2
  /**
3
+ * @version 4.0.3 March 22, 2013
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
admin/forms/fields/updater.php CHANGED
@@ -27,7 +27,7 @@ class GantryFormFieldUpdater extends GantryFormField
27
 
28
  $currentVersion = GANTRY_VERSION;
29
 
30
- if ($currentVersion == "\4.0.2") $currentVersion = "[DEV]";
31
 
32
  // curl check
33
  if (!function_exists('curl_version')) {
27
 
28
  $currentVersion = GANTRY_VERSION;
29
 
30
+ if ($currentVersion == "\4.0.3") $currentVersion = "[DEV]";
31
 
32
  // curl check
33
  if (!function_exists('curl_version')) {
admin/widgets/colorchooser/css/mooRainbow-2.0.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * @version 4.0.2 March 21, 2013
3
  * @author RocketTheme http://www.rockettheme.com
4
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
5
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
1
  /**
2
+ * @version 4.0.3 March 22, 2013
3
  * @author RocketTheme http://www.rockettheme.com
4
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
5
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
core/gantry.class.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * @version $Id: gantry.class.php 59361 2013-03-13 23:10:27Z btowles $
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
@@ -258,7 +258,7 @@ class Gantry
258
  global $gantry_path;
259
  // load the base gantry path
260
  $this->gantryPath = $gantry_path;
261
- $this->gantryUrl = WP_PLUGIN_URL . '/' . basename($this->gantryPath);
262
 
263
  // set the base class vars
264
  $this->basePath = Gantry_Uri_Util::cleanFilesystemPath(ABSPATH);
@@ -268,10 +268,15 @@ class Gantry
268
  $this->custom_menuitemparams_dir = $this->custom_dir . DS . 'menuitemparams';
269
  $this->custom_presets_file = $this->custom_dir . DS . 'presets.ini';
270
 
271
- $urlinfo = parse_url(get_option('siteurl'));
272
- $this->baseUrl = $urlinfo["path"] . "/";
 
 
 
273
  $urlinfo = parse_url(get_bloginfo('template_url'));
274
  $this->templateUrl = $urlinfo["path"];
 
 
275
 
276
  $this->uriutil = new Gantry_Uri_Util(Gantry_Uri_Util::cleanFilesystemPath(ABSPATH),get_option('siteurl'));
277
 
@@ -361,10 +366,15 @@ class Gantry
361
  $this->language = get_bloginfo('language');
362
 
363
  // Set the call specific URL vars
364
- $urlinfo = parse_url(get_option('siteurl'));
365
- $this->baseUrl = $urlinfo["path"] . "/";
 
 
 
366
  $urlinfo = parse_url(get_bloginfo('template_url'));
367
  $this->templateUrl = $urlinfo["path"];
 
 
368
 
369
 
370
  $this->_initContentTypePaths();
@@ -1035,7 +1045,7 @@ class Gantry
1035
  $path = '/' . preg_replace('#^' . quotemeta($this->baseUrl) . '#', "", $path);
1036
  }
1037
  $filename = strtolower(basename($path, '.css')) . rand(0, 1000);
1038
- wp_enqueue_style($filename, $path, array(), '4.0.2');
1039
  $deps[] = $path;
1040
  }
1041
  }
@@ -1048,11 +1058,11 @@ class Gantry
1048
  if ($this->baseUrl != "/") {
1049
  $path = '/' . preg_replace('#^' . quotemeta($this->baseUrl) . '#', "", $path);
1050
  }
1051
- wp_enqueue_script($path, $path, $deps, '4.0.2');
1052
  $deps[] = $path;
1053
  }
1054
  foreach ($this->_full_scripts as $strSrc) {
1055
- wp_enqueue_script($strSrc, $strSrc, $deps, '4.0.2');
1056
  $deps[] = $strSrc;
1057
  }
1058
 
@@ -1327,7 +1337,16 @@ class Gantry
1327
  $css_append = '-' . $options_md5;
1328
  }
1329
 
1330
- $default_compiled_css_dir = $this->templatePath . '/css-compiled';
 
 
 
 
 
 
 
 
 
1331
  if (!file_exists($default_compiled_css_dir)) {
1332
  @mkdir($default_compiled_css_dir, 0775,true);
1333
  if (!file_exists($default_compiled_css_dir)) {
@@ -1530,11 +1549,15 @@ class Gantry
1530
  }
1531
 
1532
  // set up the full path checks
1533
- $css_search_paths = array(
1534
- $this->gantryUrl . '/css/' => $this->gantryPath . '/css/',
1535
- $this->templateUrl . '/css-compiled/' => $this->templatePath . '/css-compiled/'
1536
- );
1537
-
 
 
 
 
1538
  $css_search_paths = array_merge($css_search_paths, $template_css_search_paths);
1539
 
1540
 
@@ -1607,7 +1630,7 @@ class Gantry
1607
  if (!defined('GANTRY_FINALIZED')) {
1608
  $this->_styles[$priority][] = $link;
1609
  } else {
1610
- wp_enqueue_style($link->getUrl(), $link->getUrl(), array(), '4.0.2');
1611
  }
1612
  }
1613
  }
@@ -1711,7 +1734,7 @@ class Gantry
1711
  if (!defined('GANTRY_FINALIZED')) {
1712
  $this->_scripts[$full_path] = $check_url_path . $query_string;
1713
  } else {
1714
- wp_enqueue_script($check_url_path, $check_url_path, array(), '4.0.2');
1715
  }
1716
  break;
1717
  }
@@ -1745,7 +1768,7 @@ class Gantry
1745
  if (!defined('GANTRY_FINALIZED')) {
1746
  $this->_scripts[$check_path] = $check_url_path . $query_string;
1747
  } else {
1748
- wp_enqueue_script($check_url_path, $check_url_path, array(), '4.0.2');
1749
  }
1750
  break(2);
1751
  }
1
  <?php
2
  /**
3
+ * @version $Id: gantry.class.php 59439 2013-03-22 21:16:00Z btowles $
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
258
  global $gantry_path;
259
  // load the base gantry path
260
  $this->gantryPath = $gantry_path;
261
+ $this->gantryUrl = rtrim(WP_PLUGIN_URL,'/') . '/' . basename($this->gantryPath);
262
 
263
  // set the base class vars
264
  $this->basePath = Gantry_Uri_Util::cleanFilesystemPath(ABSPATH);
268
  $this->custom_menuitemparams_dir = $this->custom_dir . DS . 'menuitemparams';
269
  $this->custom_presets_file = $this->custom_dir . DS . 'presets.ini';
270
 
271
+ // Set the call specific URL vars
272
+ $urlinfo = parse_url(get_option('siteurl'));
273
+ $this->baseUrl = isset($urlinfo["path"]) ? rtrim($urlinfo["path"],'/') : '';
274
+ $this->baseUrl .= "/";
275
+
276
  $urlinfo = parse_url(get_bloginfo('template_url'));
277
  $this->templateUrl = $urlinfo["path"];
278
+ $this->templateUrl = isset($urlinfo["path"]) ? rtrim($urlinfo["path"],'/') : '';
279
+ $this->templateUrl .= "/";
280
 
281
  $this->uriutil = new Gantry_Uri_Util(Gantry_Uri_Util::cleanFilesystemPath(ABSPATH),get_option('siteurl'));
282
 
366
  $this->language = get_bloginfo('language');
367
 
368
  // Set the call specific URL vars
369
+ // Set the call specific URL vars
370
+ $urlinfo = parse_url(get_option('siteurl'));
371
+ $this->baseUrl = isset($urlinfo["path"]) ? rtrim($urlinfo["path"],'/') : '';
372
+ $this->baseUrl .= "/";
373
+
374
  $urlinfo = parse_url(get_bloginfo('template_url'));
375
  $this->templateUrl = $urlinfo["path"];
376
+ $this->templateUrl = isset($urlinfo["path"]) ? rtrim($urlinfo["path"],'/') : '';
377
+ $this->templateUrl .= "/";
378
 
379
 
380
  $this->_initContentTypePaths();
1045
  $path = '/' . preg_replace('#^' . quotemeta($this->baseUrl) . '#', "", $path);
1046
  }
1047
  $filename = strtolower(basename($path, '.css')) . rand(0, 1000);
1048
+ wp_enqueue_style($filename, $path, array(), '4.0.3');
1049
  $deps[] = $path;
1050
  }
1051
  }
1058
  if ($this->baseUrl != "/") {
1059
  $path = '/' . preg_replace('#^' . quotemeta($this->baseUrl) . '#', "", $path);
1060
  }
1061
+ wp_enqueue_script($path, $path, $deps, '4.0.3');
1062
  $deps[] = $path;
1063
  }
1064
  foreach ($this->_full_scripts as $strSrc) {
1065
+ wp_enqueue_script($strSrc, $strSrc, $deps, '4.0.3');
1066
  $deps[] = $strSrc;
1067
  }
1068
 
1337
  $css_append = '-' . $options_md5;
1338
  }
1339
 
1340
+
1341
+ if (is_multisite())
1342
+ {
1343
+ $uploads = wp_upload_dir();
1344
+ $default_compiled_css_dir = rtrim($uploads['basedir'],'/\\').'/css-compiled';
1345
+ }
1346
+ else {
1347
+ $default_compiled_css_dir = $this->templatePath . '/css-compiled';
1348
+ }
1349
+
1350
  if (!file_exists($default_compiled_css_dir)) {
1351
  @mkdir($default_compiled_css_dir, 0775,true);
1352
  if (!file_exists($default_compiled_css_dir)) {
1549
  }
1550
 
1551
  // set up the full path checks
1552
+ $css_search_paths = array();
1553
+ $css_search_paths[$this->gantryUrl . '/css/'] = $this->gantryPath . '/css/';
1554
+ if (is_multisite()){
1555
+ $uploads = wp_upload_dir();
1556
+ $css_search_paths[rtrim($uploads['baseurl'],'/\\').'/css-compiled/'] = rtrim($uploads['basedir'],'/\\') . '/css-compiled/';
1557
+ }
1558
+ else {
1559
+ $css_search_paths[$this->templateUrl . '/css-compiled/'] = $this->templatePath . '/css-compiled/';
1560
+ }
1561
  $css_search_paths = array_merge($css_search_paths, $template_css_search_paths);
1562
 
1563
 
1630
  if (!defined('GANTRY_FINALIZED')) {
1631
  $this->_styles[$priority][] = $link;
1632
  } else {
1633
+ wp_enqueue_style($link->getUrl(), $link->getUrl(), array(), '4.0.3');
1634
  }
1635
  }
1636
  }
1734
  if (!defined('GANTRY_FINALIZED')) {
1735
  $this->_scripts[$full_path] = $check_url_path . $query_string;
1736
  } else {
1737
+ wp_enqueue_script($check_url_path, $check_url_path, array(), '4.0.3');
1738
  }
1739
  break;
1740
  }
1768
  if (!defined('GANTRY_FINALIZED')) {
1769
  $this->_scripts[$check_path] = $check_url_path . $query_string;
1770
  } else {
1771
+ wp_enqueue_script($check_url_path, $check_url_path, array(), '4.0.3');
1772
  }
1773
  break(2);
1774
  }
core/utilities/gantrycache.class.php CHANGED
@@ -26,7 +26,7 @@ class GantryCache
26
  /**
27
  *
28
  */
29
- const ADMIN_GROUP_NAME = 'GantryAdmin-4.0.2';
30
 
31
  const ADMIN_LIFETIME = 86400;
32
 
@@ -122,7 +122,7 @@ class GantryCache
122
  $this->cache->addDriver('frontend', new WpTransientCacheDriver($this->group, $this->lifetime));
123
  } elseif (is_admin()) {
124
  // TODO get lifetime for backend cache
125
- $this->group = self::ADMIN_GROUP_NAME . '-4.0.2';
126
  $this->cache->addDriver('admin', new WpTransientCacheDriver($this->group, self::ADMIN_LIFETIME));
127
  }
128
  }
26
  /**
27
  *
28
  */
29
+ const ADMIN_GROUP_NAME = 'GantryAdmin-4.0.3';
30
 
31
  const ADMIN_LIFETIME = 86400;
32
 
122
  $this->cache->addDriver('frontend', new WpTransientCacheDriver($this->group, $this->lifetime));
123
  } elseif (is_admin()) {
124
  // TODO get lifetime for backend cache
125
+ $this->group = self::ADMIN_GROUP_NAME . '-4.0.3';
126
  $this->cache->addDriver('admin', new WpTransientCacheDriver($this->group, self::ADMIN_LIFETIME));
127
  }
128
  }
functions.php CHANGED
@@ -168,7 +168,7 @@ function gantry_construct()
168
  /**
169
  * @name GANTRY_VERSION
170
  */
171
- define('GANTRY_VERSION', '4.0.2');
172
 
173
 
174
  if (!defined('DS')) {
168
  /**
169
  * @name GANTRY_VERSION
170
  */
171
+ define('GANTRY_VERSION', '4.0.3');
172
 
173
 
174
  if (!defined('DS')) {
gantry.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * @version $Id: gantry.php 59376 2013-03-14 19:43:34Z btowles $
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
@@ -10,7 +10,7 @@
10
  Plugin Name: Gantry Template Framework
11
  Plugin URI: http://www.gantry-framework.org/
12
  Description: This is a Framework to support easily modifiable themes that are very extensible.
13
- Version: 4.0.2
14
  Author: RocketTheme
15
  Author URI: http://www.rockettheme.com/wordpress
16
  License: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
@@ -25,7 +25,7 @@ global $gantry_path;
25
  if (!is_multisite()) {
26
  $gantry_path = dirname($plugin);
27
  } else {
28
- $gantry_path = ABSPATH . "/wp-content/plugins/gantry";
29
  }
30
  require_once( dirname(__FILE__) . '/autoload.php');
31
 
1
  <?php
2
  /**
3
+ * @version $Id: gantry.php 59437 2013-03-22 19:23:38Z btowles $
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
10
  Plugin Name: Gantry Template Framework
11
  Plugin URI: http://www.gantry-framework.org/
12
  Description: This is a Framework to support easily modifiable themes that are very extensible.
13
+ Version: 4.0.3
14
  Author: RocketTheme
15
  Author URI: http://www.rockettheme.com/wordpress
16
  License: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
25
  if (!is_multisite()) {
26
  $gantry_path = dirname($plugin);
27
  } else {
28
+ $gantry_path = rtrim(ABSPATH,'/\\') . "/wp-content/plugins/gantry";
29
  }
30
  require_once( dirname(__FILE__) . '/autoload.php');
31
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Author URI: http://gantry-framework.org
4
  Tags: gantry, framework, template, theme, widgets, flexible, extensible, configurable, 960px, grid, columns, powerful
5
  Requires at least: 3.2
6
  Tested up to: 3.5.1
7
- Stable tag: 4.0.2
8
 
9
  Gantry is a comprehensive set of building blocks to enable the rapid development and realization of a design into a flexible and powerful web platform
10
 
@@ -84,6 +84,10 @@ Once you downloaded and installed Gantry Framework plugin, please download also
84
 
85
  == Changelog ==
86
 
 
 
 
 
87
  = 4.0.2 =
88
  * Reverted some CSS changes in gantry.css which could cause some bad color appearance in couple themes
89
 
@@ -306,6 +310,9 @@ Once you downloaded and installed Gantry Framework plugin, please download also
306
 
307
  == Upgrade Notice ==
308
 
 
 
 
309
  = 4.0.2 =
310
  Please remember to create a full site backup (files + database) before performing update.
311
 
4
  Tags: gantry, framework, template, theme, widgets, flexible, extensible, configurable, 960px, grid, columns, powerful
5
  Requires at least: 3.2
6
  Tested up to: 3.5.1
7
+ Stable tag: 4.0.3
8
 
9
  Gantry is a comprehensive set of building blocks to enable the rapid development and realization of a design into a flexible and powerful web platform
10
 
84
 
85
  == Changelog ==
86
 
87
+ = 4.0.3 =
88
+ * Fixed compatibility with WordPress Multi Site installations
89
+ * Fixed a notice where siteurl option didn't had path set
90
+
91
  = 4.0.2 =
92
  * Reverted some CSS changes in gantry.css which could cause some bad color appearance in couple themes
93
 
310
 
311
  == Upgrade Notice ==
312
 
313
+ = 4.0.3 =
314
+ Please remember to create a full site backup (files + database) before performing update.
315
+
316
  = 4.0.2 =
317
  Please remember to create a full site backup (files + database) before performing update.
318
 
widgets/breadcrumbs.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * @version 4.0.2 March 21, 2013
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
1
  <?php
2
  /**
3
+ * @version 4.0.3 March 22, 2013
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
widgets/loginbutton.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * @version 4.0.2 March 21, 2013
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
1
  <?php
2
  /**
3
+ * @version 4.0.3 March 22, 2013
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
widgets/loginform.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * @version 4.0.2 March 21, 2013
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
1
  <?php
2
  /**
3
+ * @version 4.0.3 March 22, 2013
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only