refinerycms-core 3.0.2 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5b4a8adbdc868b1a05d524a24e5cfc6b6742004c
4
- data.tar.gz: ed062b6ec449a4c2e27e14c6fe52299740d04411
3
+ metadata.gz: 8cfeccfe7c982914de37055f1d395281d606928e
4
+ data.tar.gz: 640d01d3135651beff7a231eb0312b4095213bee
5
5
  SHA512:
6
- metadata.gz: 094c812cf2973fb866be1a7bfad33a813da1d95cb3ff0882e56a4e8b40f1b4d6510f44e5a408f791dca9960f43f3f52fc28fe3c509eaa3afce71e948289c4c50
7
- data.tar.gz: 23e55f338fe65c9469d0b617ef52344305ddc01a17371ab2b0f65cc91dca2d814f4bf861e5565aab2f5fd937bc668f1145411cfbb4e984a652ad111e572fd2ce
6
+ metadata.gz: c190927ef64bcfa73d7c5b647bb15a2442852c4c4ebbded6ff3f0c07cf57f5c95f1c33899d87c6402a390b1af5e19cfcde68d6da9e3ed32e08c558716a51ce4e
7
+ data.tar.gz: 20f898b43e26b8f10991547cd6428596bee477fe4e35812dd257efb5e605c5d520468e433027718d7c0ee9cf978026c96f29955eb8a4c9469daf4aee6b1e3865
@@ -0,0 +1,209 @@
1
+ /* dialog stuff */
2
+
3
+ #dialog_container #content .field,
4
+ .dialog_container .field {
5
+ width: auto;
6
+ margin: 5px 0;
7
+ }
8
+ #dialog-form-actions .pagination {
9
+ margin: -4px 6px -4px 0px;
10
+ float: right;
11
+ width: auto;
12
+ a,
13
+ .current,
14
+ .disabled{
15
+ line-height: 15px;
16
+ }
17
+ }
18
+ #dialog_frame {
19
+ width:952px;
20
+ height:460px;
21
+ padding: 0px;
22
+ border: 0px solid #F2F1ED;
23
+ }
24
+ .visual_editor_hideables {
25
+ display: none;
26
+ }
27
+ #content .form-actions,
28
+ .wym_dialog .form-actions,
29
+ .ui-dialog .form-actions {
30
+ @include form-actions;
31
+ }
32
+ .dialog {
33
+ form {
34
+ margin-bottom: 45px;
35
+ }
36
+ .dialog_area > div > .field label:first-child,
37
+ .dialog_area > div > label:first-child {
38
+ margin-top: 0px;
39
+ }
40
+ }
41
+ .visual_editor_dialog .form-actions,
42
+ #content.form-actions.dialog-form-actions,
43
+ .ui-dialog .form-actions {
44
+ margin-top: 16px;
45
+ }
46
+ #content .form-actions .form-actions-left,
47
+ #content .form-actions .form-actions-right,
48
+ .visual_editor_dialog .form-actions .form-actions-left,
49
+ .visual_editor_dialog .form-actions .form-actions-right,
50
+ .ui-dialog .form-actions .form-actions-left,
51
+ .ui-dialog .form-actions .form-actions-right {
52
+ position: absolute;
53
+ top: 10px;
54
+ }
55
+ #content .form-actions .form-actions-left,
56
+ .visual_editor_dialog .form-actions .form-actions-left,
57
+ .ui-dialog .form-actions .form-actions-left {
58
+ left: 10px;
59
+ }
60
+ #content .form-actions .form-actions-right,
61
+ .visual_editor_dialog .form-actions .form-actions-right,
62
+ .ui-dialog .form-actions .form-actions-right {
63
+ right: 10px;
64
+ }
65
+ #content .form-actions .save-loader {
66
+ position: absolute;
67
+ right: -24px;
68
+ top: 4px;
69
+ }
70
+ .visual_editor_dialog .form-actions, .ui-dialog .form-actions {
71
+ border: 0px none;
72
+ border-top: 1px solid #E8E8E8;
73
+ }
74
+ #dialog_iframe {
75
+ position: relative;
76
+ }
77
+ #dialog_container #content .form-actions,
78
+ .ui-dialog .form-actions,
79
+ .dialog_container .form-actions {
80
+ position: absolute;
81
+ bottom: 0px;
82
+ left: 0px;
83
+ right: 0px;
84
+ border-right: 0px;
85
+ border-left: 0px;
86
+ border-bottom: 0px;
87
+ width: auto;
88
+ }
89
+ #dialog_container.dialog.iframed #content .form-actions {
90
+ position: fixed;
91
+ }
92
+ body.dialog #content .search_form {
93
+ float: right;
94
+ width: auto !important;
95
+ min-width: 300px;
96
+ margin-bottom: 0px;
97
+ }
98
+ .ui-dialog {
99
+ position: absolute;
100
+ background-color: #fff;
101
+ color: #000;
102
+ border: 4px solid #22A7F2;
103
+ width: auto;
104
+ z-index: 1;
105
+ #dialog_loading {
106
+ position: fixed;
107
+ top: 50%;
108
+ left: 50%;
109
+ width: 208px;
110
+ height: 13px;
111
+ margin: -6px 0 0 -104px;
112
+ }
113
+ .ui-dialog-titlebar {
114
+ position: relative;
115
+ width: 100%;
116
+ height: 33px;
117
+ background-color: #22A7F2;
118
+ }
119
+ .ui-dialog-title {
120
+ float: left;
121
+ height: 33px;
122
+ line-height: 33px;
123
+ font-size: 16px;
124
+ padding-left: 10px;
125
+ color: white;
126
+ }
127
+ .ui-dialog-titlebar-close {
128
+ background-color: #22A7F2;
129
+ padding-right:0;
130
+ padding-left:0;
131
+ padding-top: 5px;
132
+ position: absolute;
133
+ right: 10px;
134
+ width: 22px;
135
+ height: 33px;
136
+ line-height: 33px;
137
+ border: none;
138
+ span {
139
+ display: block;
140
+ margin: 1px;
141
+ background: transparent image_url('refinery/cross.png') top left no-repeat;
142
+ text-indent:-10000px;
143
+ }
144
+ }
145
+ .ui-dialog-titlebar-close:hover, .ui-dialog-titlebar-close:focus {
146
+ padding: 0;
147
+ }
148
+ iframe {
149
+ clear:both;
150
+ border: 0px none;
151
+ margin-bottom:-1px;
152
+ margin-top:1px;
153
+ width: 100% !important;
154
+ }
155
+ }
156
+ .ui-dialog[aria-describedby=editor_dialog],
157
+ .ui-dialog[aria-describedby=dialog_iframe] {
158
+ outline: none;
159
+
160
+ &.ui-dialog {
161
+ padding: 0;
162
+ }
163
+ &.ui-corner-all {
164
+ border: 4px solid #22A7F2;
165
+ border-radius: 0;
166
+ }
167
+ &.ui-widget {
168
+ font-family: inherit;
169
+ color: inherit;
170
+ }
171
+ .ui-widget-header {
172
+ background-image: none;
173
+ &.ui-corner-all {
174
+ border: none;
175
+ border-radius: 0;
176
+ }
177
+ }
178
+ .ui-dialog-titlebar {
179
+ padding: 0;
180
+ .ui-dialog-title {
181
+ font-weight: normal;
182
+ }
183
+ .ui-dialog-titlebar-close {
184
+ background-color: #22A7F2;
185
+ background-image: none;
186
+ border: none;
187
+ outline: none;
188
+ cursor: pointer;
189
+ right: 10px;
190
+ .ui-button-text {
191
+ display: none;
192
+ }
193
+ &.ui-button-icon-only .ui-icon {
194
+ position: static;
195
+ height: 20px;
196
+ }
197
+ }
198
+ }
199
+ .ui-dialog-content {
200
+ padding: 0;
201
+ overflow: visible;
202
+ }
203
+ .editor_dialog {
204
+ border: none;
205
+ }
206
+ iframe#dialog_frame, iframe#dialog_iframe {
207
+ display: block !important;
208
+ }
209
+ }
@@ -1,27 +1,3 @@
1
-
2
- // we use a content block in the basic icon mixin
3
- @mixin icon-base($colour, $size, $float:none) {
4
- @content;
5
- &:before {
6
- @extend .fa;
7
- font-size: $size;
8
- color: $colour;
9
- text-decoration: none;
10
- width: auto;
11
- height:auto;
12
- float:$float;
13
- }
14
- }
15
-
16
- // Any icon
17
- @mixin icon($icon-selector, $color: $icon_default_colour, $padding: 4px, $size: 1.2em, $float: none) {
18
- @include icon-base($color, $size, $float) {
19
- @extend .fa-#{$icon-selector};
20
- &:before {margin-right: 0.1em!important;}
21
- };
22
- }
23
-
24
-
25
1
  %icon-font { font-family: 'FontAwesome', Helvetica, Arial, sans-serif; }
26
2
 
27
3
  /* icons */
@@ -29,7 +5,10 @@
29
5
  .add_icon {@include icon('plus-circle');}
30
6
  .back_icon {@include icon('arrow-left');}
31
7
  .close_icon {@include icon('times-circle')}
32
- .delete_icon, .delete_section_icon {@include icon('minus-circle', $icon_delete_colour);}
8
+
9
+ .delete_icon,
10
+ .delete_section_icon {@include icon('minus-circle', $icon_delete_colour);}
11
+
33
12
  .download_icon {@include icon('download');}
34
13
  .edit_email_icon {@include icon('envelope-o');}
35
14
  .edit_icon {@include icon('edit', $icon_edit_colour);}
@@ -39,10 +18,7 @@
39
18
  .folder_icon {@include icon('folder',$icon_folder_colour)}
40
19
  .go_icon {@include icon('caret-square-o-right');}
41
20
  .info_icon {@include icon('info-circle');}
42
- .loading_icon {
43
- @include icon('spinner');
44
- @extend .fa-spin
45
- }
21
+ .loading_icon {@include icon('spinner'); @extend .fa-spin}
46
22
  .page_icon {@include icon('file-o',$icon_page_colour)}
47
23
  .preview_icon {@include icon('eye', $icon_preview_colour)}
48
24
  .remove_icon {@include icon('unlink', $icon_delete_colour);}
@@ -0,0 +1,39 @@
1
+ /* Internet Explorer to follow: */
2
+ /* IE 7 */
3
+ .ie7 #content .form-actions .form-actions-left a.button {
4
+ height: 19px;
5
+ line-height: 19px;
6
+ padding-top: 3px;
7
+ padding-bottom: 3px;
8
+ }
9
+ .ie7 .search_form input.button {
10
+ padding-left: 8px;
11
+ padding-right: 8px;
12
+ }
13
+ .ie7 body.login .field input.larger,
14
+ .ie7 body.login .field input.larger:focus {
15
+ background-image: none !important;
16
+ padding: 0px;
17
+ line-height: 30px;
18
+ }
19
+ .ie7 .pagination a, .ie7 #content .pagination a,
20
+ .ie7 .pagination .current,
21
+ .ie7 .disabled, .ie7 .pagination em {
22
+ padding-bottom: 6px;
23
+ }
24
+ .ie7 .pt-BR #search {
25
+ width: 97px;
26
+ }
27
+ .ie7 .en #search {
28
+ width: 170px;
29
+ }
30
+ /* IE 8 */
31
+ .ie8 body.login .field input.larger,
32
+ .ie8 body.login .field input.larger:focus {
33
+ line-height: 30px;
34
+ }
35
+ .ie8 .pagination a, .ie8 #content .pagination a,
36
+ .ie8 .pagination .current, .ie8 .disabled,
37
+ .ie8 .pagination em {
38
+ padding-bottom: 6px;
39
+ }
@@ -0,0 +1,80 @@
1
+ /* Tooltips CSS definitions */
2
+ .tooltip {
3
+ position: absolute!important;
4
+ overflow:hidden;
5
+ font-size: 13px;
6
+ font-family: inherit;
7
+ z-index: 10000!important;
8
+ text-align: center;
9
+ background: #22a7f2;
10
+ border: 1px solid #1b82bd;
11
+ word-wrap:break-word;
12
+ position: relative;
13
+ color: white;
14
+ * {
15
+ color: white;
16
+ }
17
+ span {
18
+ display: block;
19
+ padding: 10px;
20
+ border: 1px solid #62c1f6;
21
+ }
22
+ .xtop,
23
+ .tooltip .xbottom {
24
+ display: block;
25
+ background: transparent;
26
+ font-size: 1px;
27
+ }
28
+ .xb1,
29
+ .tooltip .xb2,
30
+ .tooltip .xb3,
31
+ .tooltip .xb4 {
32
+ display: block;
33
+ overflow: hidden;
34
+ }
35
+ .xb1,
36
+ .tooltip .xb2,
37
+ .tooltip .xb3 {
38
+ height: 1px;
39
+ }
40
+ .xb2,
41
+ .tooltip .xb3,
42
+ .tooltip .xb4 {
43
+ background: #606060;
44
+ border-left: 1px solid #606060;
45
+ border-right: 1px solid #606060;
46
+ }
47
+ .xbottom .xb2,
48
+ .tooltip .xbottom .xb3,
49
+ .tooltip .xbottom .xb4 {
50
+ background: #606060;
51
+ }
52
+ .xb1 { margin: 0 5px; background: #606060; }
53
+ .xb2 { margin: 0 3px; border-width: 0 2px; }
54
+ .xb3 { margin: 0 2px; }
55
+ .xb4 { height: 2px; margin: 0 1px; }
56
+ .xboxcontent {
57
+ margin: 0;
58
+ color: #000;
59
+ word-wrap:break-word;
60
+ border-width: 4px 4px;
61
+ border-style: solid;
62
+ border-color: #606060;
63
+ background-color: white;
64
+ padding: 6px;
65
+ }
66
+ .xb1,
67
+ .xb2,
68
+ .xb3,
69
+ .xb4 {
70
+ border-color: #606060;
71
+ }
72
+ }
73
+ .tooltip-square .xtop,
74
+ .tooltip-square .xbottom {
75
+ display: none;
76
+ }
77
+ .tooltip-nib {
78
+ position: absolute;
79
+ z-index: 10001;
80
+ }
@@ -1,18 +1,21 @@
1
1
  $icon_default_colour: #404650;
2
- $icon_page_colour: #86cffa; //
3
- $icon_folder_colour: #e6cb47; // dark yellow
4
- $icon_add_colour: $icon_default_colour;
5
- // $icon_add_colour: #7fff00; // chartreuse
6
2
  $icon_delete_colour: #ff707f; // rose
7
- $icon_edit_colour: $icon_default_colour;
8
- // $icon_edit_colour: #007fff; // azure
3
+ $icon_done_colour: #00a017; //
9
4
  $icon_error_colour: #ff0; //RED
10
- $icon_preview_colour: $icon_default_colour;
11
- // $icon_preview_colour: #7f00ff; // violet
5
+ $icon_folder_colour: #e6cb47; // dark yellow
12
6
  $icon_locale_colour: #b7e3fc; // pale blue
13
- $icon_done_colour: #00a017; //
7
+ $icon_page_colour: #86cffa; //
8
+ $icon_warning_colour: #FF6600; // orange
9
+
14
10
  $info_icon_blue: #316CC8;
15
- $icon_warning_colour: #FF6600; // orange
11
+
12
+ $icon_preview_colour: $icon_default_colour;
13
+ $icon_edit_colour: $icon_default_colour;
14
+ $icon_add_colour: $icon_default_colour;
16
15
 
17
16
  $action_background_colour: lighten($icon_locale_colour,10%);
18
17
  $action_border_colour: $icon_locale_colour;
18
+
19
+ // $icon_preview_colour: #7f00ff; // violet
20
+ // $icon_edit_colour: #007fff; // azure
21
+ // $icon_add_colour: #7fff00; // chartreuse
@@ -0,0 +1,5 @@
1
+ @mixin box-sizing($box-model) {
2
+ -webkit-box-sizing: $box-model; // Safari <= 5
3
+ -moz-box-sizing: $box-model; // Firefox <= 19
4
+ box-sizing: $box-model;
5
+ }
@@ -0,0 +1,39 @@
1
+ @mixin faux_columns_2($col1_width, $col1_bg, $col2_bg) {
2
+ background-image: -webkit-gradient(
3
+ linear,
4
+ left top,
5
+ right top,
6
+ color-stop(0, $col1_bg),
7
+ color-stop($col1_width, $col1_bg),
8
+ color-stop($col1_width, $col2_bg),
9
+ color-stop(100%, $col2_bg)
10
+ );
11
+ background-image: -webkit-linear-gradient(
12
+ left,
13
+ $col1_bg,
14
+ $col1_bg $col1_width,
15
+ $col2_bg $col1_width,
16
+ $col2_bg 100%
17
+ );
18
+ background-image: -moz-linear-gradient(
19
+ left,
20
+ $col1_bg,
21
+ $col1_bg $col1_width,
22
+ $col2_bg $col1_width,
23
+ $col2_bg 100%
24
+ );
25
+ background-image: -ms-linear-gradient(
26
+ left,
27
+ $col1_bg,
28
+ $col1_bg $col1_width,
29
+ $col2_bg $col1_width,
30
+ $col2_bg 100%
31
+ );
32
+ background-image: -o-linear-gradient(
33
+ left,
34
+ $col1_bg,
35
+ $col1_bg $col1_width,
36
+ $col2_bg $col1_width,
37
+ $col2_bg 100%
38
+ );
39
+ }
@@ -0,0 +1,7 @@
1
+ @mixin form_actions() {
2
+ position: relative;
3
+ background-color: #F2F2F2;
4
+ border: 1px solid #CCCCCC;
5
+ margin-top: 10px;
6
+ height: 45px;
7
+ }
@@ -0,0 +1,7 @@
1
+ // Any icon
2
+ @mixin icon($icon-selector, $color: $icon_default_colour, $padding: 4px, $size: 1.2em, $float: none) {
3
+ @include icon-base($color, $size, $float) {
4
+ @extend .fa-#{$icon-selector};
5
+ &:before {margin-right: 0.1em!important;}
6
+ };
7
+ }
@@ -0,0 +1,13 @@
1
+ // we use a content block in the basic icon mixin
2
+ @mixin icon-base($colour, $size, $float:none) {
3
+ @content;
4
+ &:before {
5
+ @extend .fa;
6
+ font-size: $size;
7
+ color: $colour;
8
+ text-decoration: none;
9
+ width: auto;
10
+ height: auto;
11
+ float: $float;
12
+ }
13
+ }
@@ -0,0 +1,33 @@
1
+ @mixin rounded($radius) {
2
+ border-radius: $radius;
3
+ -moz-border-radius: $radius;
4
+ -webkit-border-radius: $radius;
5
+ }
6
+ @mixin top-rounded($radius) {
7
+ border-radius-top: $radius;
8
+ -moz-border-radius-topleft: $radius;
9
+ -moz-border-radius-topright: $radius;
10
+ -webkit-border-top-left-radius: $radius;
11
+ -webkit-border-top-right-radius: $radius;
12
+ }
13
+ @mixin right-rounded($radius) {
14
+ border-radius-right: $radius;
15
+ -moz-border-radius-topright: $radius;
16
+ -moz-border-radius-bottomright: $radius;
17
+ -webkit-border-top-right-radius: $radius;
18
+ -webkit-border-bottom-right-radius: $radius;
19
+ }
20
+ @mixin left-rounded($radius) {
21
+ border-radius-left: $radius;
22
+ -moz-border-radius-topleft: $radius;
23
+ -moz-border-radius-bottomleft: $radius;
24
+ -webkit-border-top-left-radius: $radius;
25
+ -webkit-border-bottom-left-radius: $radius;
26
+ }
27
+ @mixin bottom-rounded($radius) {
28
+ border-radius-bottom: $radius;
29
+ -moz-border-radius-bottomleft: $radius;
30
+ -moz-border-radius-bottomright: $radius;
31
+ -webkit-border-bottom-left-radius: $radius;
32
+ -webkit-border-bottom-right-radius: $radius;
33
+ }
@@ -1,10 +1,22 @@
1
- @import 'mixins';
2
- @import 'colours';
1
+ @import 'global/colours';
2
+
3
3
  @import 'font-awesome-sprockets', 'font-awesome';
4
- @import 'icons';
5
4
 
6
- @import 'layout';
7
- @import 'site_bar';
8
- @import 'submenu';
9
- @import 'tooltips';
10
- @import 'ui';
5
+ @import 'mixins/box_sizing';
6
+ @import 'mixins/faux_columns_2';
7
+ @import 'mixins/form_action';
8
+ @import 'mixins/icon_base';
9
+ @import 'mixins/icon';
10
+ @import 'mixins/rounded';
11
+
12
+ @import 'plugins/ui';
13
+
14
+ @import 'components/icons';
15
+ @import 'components/dialog';
16
+ @import 'components/submenu';
17
+ @import 'components/tooltips';
18
+ @import 'components/ie';
19
+
20
+ @import 'sections/layout';
21
+
22
+ @import 'site_bar';
@@ -25,25 +25,23 @@ acronym {
25
25
  label[for] {
26
26
  cursor: pointer;
27
27
  }
28
- #admin_container, #login_container {
28
+ #admin_container,
29
+ #login_container {
29
30
  font-size: 13px;
30
31
  margin: 0px auto 15px auto;
31
32
  text-align: left;
32
-
33
+ position: relative;
34
+ margin-top: 15px;
35
+ @include rounded($standard_rounding);
33
36
  a {
34
37
  color: #41403C;
35
38
  text-decoration: none;
36
39
  }
37
-
38
- @include rounded($standard_rounding);
39
- position: relative;
40
- margin-top: 15px;
41
40
  #menu {
42
41
  a:hover {
43
42
  border-bottom: 0px;
44
43
  }
45
44
  }
46
-
47
45
  .hidden {
48
46
  display: none;
49
47
  }
@@ -53,28 +51,26 @@ label[for] {
53
51
  width: 620px;
54
52
  }
55
53
  #admin_container {
56
- @include faux_columns_2($menu_width, transparent, white);
57
54
  width: $admin_width;
58
55
  margin: -5px auto 0px auto;
59
56
  height: 100%;
57
+ @include faux_columns_2($menu_width, transparent, white);
60
58
  }
61
59
  #page_container {
62
- @include box-sizing(border-box);
63
- @include right-rounded($standard_rounding);
64
60
  background-color: white;
65
61
  padding: 1.5em 1em;
66
62
  position: relative;
67
63
  float: left;
68
64
  width: $admin_width - $menu_width;
65
+ @include box-sizing(border-box);
66
+ @include right-rounded($standard_rounding);
69
67
  }
70
- #content .field, #content .form-actions {
68
+ #content .field,
69
+ #content .form-actions {
71
70
  position: relative;
72
71
  }
73
- #dialog_container #content .field, .dialog_container .field {
74
- width: auto;
75
- margin: 5px 0;
76
- }
77
- input.widest, textarea.widest {
72
+ input.widest,
73
+ textarea.widest {
78
74
  width: 99%;
79
75
  }
80
76
  select.widest {
@@ -132,32 +128,40 @@ hr {
132
128
  font-weight: normal;
133
129
  }
134
130
  }
135
- .fieldWithErrors input, .fieldWithErrors textarea {
131
+ .fieldWithErrors input,
132
+ .fieldWithErrors textarea {
136
133
  border: 1px solid red !important;
137
134
  background-color: #FFECF0 !important;
138
135
  }
139
- .fieldWithErrors iframe, .fieldWithErrors .visual_editor_box {
136
+ .fieldWithErrors iframe,
137
+ .fieldWithErrors .visual_editor_box {
140
138
  border-color: red !important;
141
139
  }
142
- #message, .flash {
140
+ #message,
141
+ .flash {
143
142
  padding: 8px 8px 8px 30px;
144
143
  margin-bottom: 15px;
145
144
  position: relative;
146
145
  }
147
- .flash_notice, .flash_message {
146
+ .flash_notice,
147
+ .flash_message {
148
148
  border: 1px solid #00A017;
149
149
  color: #00A017;
150
150
  @include icon('check-circle', green)
151
151
  }
152
- .flash_notice, .flash_notice * {
152
+ .flash_notice,
153
+ .flash_notice * {
153
154
  color: #00A017;
154
155
  }
155
- .flash_error, .flash_alert {
156
+ .flash_error,
157
+ .flash_alert {
156
158
  border: 1px solid #A00027;
157
159
  color: #A00027;
158
160
  @include icon('question-circle', red)
159
161
  }
160
- .flash.flash_notice #flash_close, .flash.flash_error #flash_close, .flash.flash_alert #flash_close {
162
+ .flash.flash_notice #flash_close,
163
+ .flash.flash_error #flash_close,
164
+ .flash.flash_alert #flash_close {
161
165
  text-transform: lowercase;
162
166
  @include icon('times-circle', $icon_done_colour, 1.2em)
163
167
  }
@@ -170,21 +174,26 @@ hr {
170
174
  margin-top: 12px;
171
175
  }
172
176
  }
173
- .flash.flash_message.flash_message, .flash_message * {
177
+ .flash.flash_message.flash_message,
178
+ .flash_message * {
174
179
  color: #262719;
175
180
  font-size: 14px;
176
181
  }
177
- .flash a, .flash a:hover {
182
+ .flash a,
183
+ .flash a:hover {
178
184
  color: #e20003;
179
185
  border-bottom-color: #e20003;
180
186
  }
181
- .flash.flash_error a, .flash.flash_error a:hover,
182
- .flash.flash_alert a, .flash.flash_alert a:hover {
187
+ .flash.flash_error a,
188
+ .flash.flash_error a:hover,
189
+ .flash.flash_alert a,
190
+ .flash.flash_alert a:hover {
183
191
  display: none;
184
192
  }
185
-
186
- noscript .flash.flash_error a, noscript .flash.flash_error a:hover,
187
- noscript .flash.flash_alert a, noscript .flash.flash_alert a:hover {
193
+ noscript .flash.flash_error a,
194
+ noscript .flash.flash_error a:hover,
195
+ noscript .flash.flash_alert a,
196
+ noscript .flash.flash_alert a:hover {
188
197
  display: inline;
189
198
  font-weight: bold;
190
199
  }
@@ -193,16 +202,18 @@ noscript .flash.flash_alert a, noscript .flash.flash_alert a:hover {
193
202
  right: 9px;
194
203
  top: 7px;
195
204
  }
196
-
197
- #content .visual_editor_box a, #content .ui-tabs a {
205
+ #content .visual_editor_box a,
206
+ #content .ui-tabs a {
198
207
  border-bottom: 0px none;
199
208
  }
200
- .index #content, .splash #content {
209
+ .index #content,
210
+ .splash #content {
201
211
  background-color: white;
202
212
  background-repeat: repeat-y;
203
213
  }
204
214
  #content {
205
215
  padding: 0px;
216
+ background-color: white;
206
217
  a {
207
218
  border-bottom: 1px dotted #727272;
208
219
  &.locale {
@@ -245,10 +256,9 @@ noscript .flash.flash_alert a, noscript .flash.flash_alert a:hover {
245
256
  .less-important {
246
257
  color: #727272;
247
258
  }
248
- #content {
249
- background-color: white;
250
- }
251
- header, footer, nav {
259
+ header,
260
+ footer,
261
+ nav {
252
262
  display: block;
253
263
  }
254
264
  #page_container .login #page h1 {
@@ -261,7 +271,8 @@ header, footer, nav {
261
271
  #page_container {
262
272
  background: transparent;
263
273
  width: 100%;
264
- div.remember_me label, label.inline {
274
+ div.remember_me label,
275
+ label.inline {
265
276
  display: inline;
266
277
  }
267
278
  div.actions {
@@ -296,12 +307,14 @@ header, footer, nav {
296
307
  label {
297
308
  margin-top: 0px;
298
309
  }
299
- label, a {
310
+ label,
311
+ a {
300
312
  font-size: 14px;
301
313
  }
302
314
  .field {
303
315
  margin-bottom: 20px;
304
- &.remember_me, &.forgot_password {
316
+ &.remember_me,
317
+ &.forgot_password {
305
318
  margin-bottom: 0px;
306
319
  margin-top: 0px;
307
320
  }
@@ -312,7 +325,8 @@ header, footer, nav {
312
325
  margin-top: 20px;
313
326
  }
314
327
  }
315
- #flash_container, .errorExplanation {
328
+ #flash_container,
329
+ .errorExplanation {
316
330
  margin-bottom: 12px;
317
331
  }
318
332
  /* Works in Firefox, Safari, Chrome, IE8+ */
@@ -582,14 +596,6 @@ pre {
582
596
  background: #A8B9C1;
583
597
  }
584
598
  }
585
- #dialog-form-actions .pagination {
586
- margin: -4px 6px -4px 0px;
587
- float: right;
588
- width: auto;
589
- }
590
- #dialog-form-actions .pagination a, #dialog-form-actions .pagination .current, #dialog-form-actions .pagination .disabled {
591
- line-height: 15px;
592
- }
593
599
  textarea {
594
600
  line-height: 20px;
595
601
  padding: 5px;
@@ -1146,17 +1152,17 @@ ul#image_grid, .pagination_container > ul#image_grid {
1146
1152
  ul#image_grid li, .pagination_container > ul#image_grid li {
1147
1153
  position: relative;
1148
1154
  float: left;
1149
- margin: 0px 7px 12px 0px;
1155
+ margin: 0px 12px 12px 0px;
1150
1156
  padding: 0px;
1151
- width: 124px;
1157
+ width: 149px;
1158
+ height: 186px;
1159
+ max-width: 149px;
1160
+ max-height: 186px;
1152
1161
  text-align: center;
1153
- height: 165px;
1154
1162
  overflow: hidden;
1155
- max-width: 124px;
1156
- max-height: 165px;
1157
1163
  }
1158
- ul#image_grid li.image_4 {
1159
- margin-left: 1px;
1164
+ ul#image_grid li.image_3 {
1165
+ margin-left: 0px;
1160
1166
  margin-right: 0px;
1161
1167
  }
1162
1168
  #records ul#image_grid li .actions {
@@ -1215,25 +1221,6 @@ ul.checkboxes li {
1215
1221
  display:inline-block;
1216
1222
  width:auto;
1217
1223
  }
1218
- /**** Tooltip Icons *****/
1219
- .tooltip {
1220
- background: #22a7f2;
1221
- border: 1px solid #1b82bd;
1222
- word-wrap:break-word;
1223
- position: relative;
1224
- span {
1225
- display: block;
1226
- padding: 10px;
1227
- border: 1px solid #62c1f6;
1228
- }
1229
- }
1230
- .tooltip-nib {
1231
- position: absolute;
1232
- z-index: 10001;
1233
- }
1234
- .tooltip, .tooltip * {
1235
- color: white;
1236
- }
1237
1224
  .visual_editor_dialog_paste .field textarea {
1238
1225
  width: 98%;
1239
1226
  }
@@ -1525,72 +1512,16 @@ a.information:hover {
1525
1512
  text-transform: uppercase;
1526
1513
  white-space: nowrap;
1527
1514
  background-color: #bfbfbf;
1528
- }
1529
- .label.important {
1530
- background-color: #c43c35;
1531
- }
1532
- .label.warning {
1533
- background-color: #f89406;
1534
- }
1535
- .label.success {
1536
- background-color: #46a546;
1537
- }
1538
- .label.notice {
1539
- background-color: #62cffc;
1540
- }
1541
-
1542
- .label {
1543
- padding: 1px 3px 2px;
1544
- font-size: 9.75px;
1545
- font-weight: bold;
1546
- color: #ffffff;
1547
- text-transform: uppercase;
1548
- white-space: nowrap;
1549
- background-color: #bfbfbf;
1550
- }
1551
- .label.important {
1552
- background-color: #c43c35;
1553
- }
1554
- .label.warning {
1555
- background-color: #f89406;
1556
- }
1557
- .label.success {
1558
- background-color: #46a546;
1559
- }
1560
- .label.notice {
1561
- background-color: #62cffc;
1562
- }
1563
-
1564
- /* Internet Explorer to follow: */
1565
- /* IE 7 */
1566
- .ie7 #content .form-actions .form-actions-left a.button {
1567
- height: 19px;
1568
- line-height: 19px;
1569
- padding-top: 3px;
1570
- padding-bottom: 3px;
1571
- }
1572
- .ie7 .search_form input.button {
1573
- padding-left: 8px;
1574
- padding-right: 8px;
1575
- }
1576
- .ie7 body.login .field input.larger, .ie7 body.login .field input.larger:focus {
1577
- background-image: none !important;
1578
- padding: 0px;
1579
- line-height: 30px;
1580
- }
1581
- .ie7 .pagination a, .ie7 #content .pagination a, .ie7 .pagination .current, .ie7 .disabled, .ie7 .pagination em {
1582
- padding-bottom: 6px;
1583
- }
1584
- .ie7 .pt-BR #search {
1585
- width: 97px;
1586
- }
1587
- .ie7 .en #search {
1588
- width: 170px;
1589
- }
1590
- /* IE 8 */
1591
- .ie8 body.login .field input.larger, .ie8 body.login .field input.larger:focus {
1592
- line-height: 30px;
1593
- }
1594
- .ie8 .pagination a, .ie8 #content .pagination a, .ie8 .pagination .current, .ie8 .disabled, .ie8 .pagination em {
1595
- padding-bottom: 6px;
1515
+ &.important{
1516
+ background-color: #c43c35;
1517
+ }
1518
+ &.warning{
1519
+ background-color: #f89406;
1520
+ }
1521
+ &.success{
1522
+ background-color: #46a546;
1523
+ }
1524
+ &.notice{
1525
+ background-color: #62cffc;
1526
+ }
1596
1527
  }
@@ -3,6 +3,7 @@
3
3
  <% site_bar = render('/refinery/site_bar', :head => true) -%>
4
4
  <head>
5
5
  <%= render "/refinery/head" %>
6
+ <%= render "/refinery/javascripts" %>
6
7
  </head>
7
8
  <body id="<%= canonical_id @page %>">
8
9
  <%= site_bar -%>
@@ -17,6 +18,5 @@
17
18
  <%= render "/refinery/footer" -%>
18
19
  </footer>
19
20
  </div>
20
- <%= render "/refinery/javascripts" %>
21
21
  </body>
22
22
  </html>
@@ -2,7 +2,7 @@ module Refinery
2
2
  class Version
3
3
  @major = 3
4
4
  @minor = 0
5
- @tiny = 2
5
+ @tiny = 3
6
6
  @build = nil
7
7
 
8
8
  class << self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Arndt
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-03-16 00:00:00.000000000 Z
13
+ date: 2016-04-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: refinerycms-i18n
@@ -348,15 +348,22 @@ files:
348
348
  - app/assets/javascripts/refinery/tree.js
349
349
  - app/assets/stylesheets/.gitkeep
350
350
  - app/assets/stylesheets/application.scss
351
- - app/assets/stylesheets/refinery/_colours.scss
352
- - app/assets/stylesheets/refinery/_icons.scss
353
- - app/assets/stylesheets/refinery/_layout.scss
354
- - app/assets/stylesheets/refinery/_mixins.scss
355
- - app/assets/stylesheets/refinery/_submenu.scss
356
- - app/assets/stylesheets/refinery/_tooltips.scss
357
- - app/assets/stylesheets/refinery/_ui.scss
351
+ - app/assets/stylesheets/refinery/components/_dialog.scss
352
+ - app/assets/stylesheets/refinery/components/_icons.scss
353
+ - app/assets/stylesheets/refinery/components/_ie.scss
354
+ - app/assets/stylesheets/refinery/components/_submenu.scss
355
+ - app/assets/stylesheets/refinery/components/_tooltips.scss
358
356
  - app/assets/stylesheets/refinery/formatting.scss
357
+ - app/assets/stylesheets/refinery/global/_colours.scss
358
+ - app/assets/stylesheets/refinery/mixins/_box_sizing.scss
359
+ - app/assets/stylesheets/refinery/mixins/_faux_columns_2.scss
360
+ - app/assets/stylesheets/refinery/mixins/_form_action.scss
361
+ - app/assets/stylesheets/refinery/mixins/_icon.scss
362
+ - app/assets/stylesheets/refinery/mixins/_icon_base.scss
363
+ - app/assets/stylesheets/refinery/mixins/_rounded.scss
364
+ - app/assets/stylesheets/refinery/plugins/_ui.scss
359
365
  - app/assets/stylesheets/refinery/refinery.scss
366
+ - app/assets/stylesheets/refinery/sections/_layout.scss
360
367
  - app/assets/stylesheets/refinery/site_bar.scss
361
368
  - app/assets/stylesheets/refinery/theme.scss
362
369
  - app/controllers/application_controller.rb
@@ -614,7 +621,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
614
621
  version: '0'
615
622
  requirements: []
616
623
  rubyforge_project: refinerycms
617
- rubygems_version: 2.5.1
624
+ rubygems_version: 2.6.4
618
625
  signing_key:
619
626
  specification_version: 4
620
627
  summary: Core extension for Refinery CMS
@@ -1,84 +0,0 @@
1
- @mixin rounded($radius) {
2
- border-radius: $radius;
3
- -moz-border-radius: $radius;
4
- -webkit-border-radius: $radius;
5
- }
6
- @mixin top-rounded($radius) {
7
- border-radius-top: $radius;
8
- -moz-border-radius-topleft: $radius;
9
- -moz-border-radius-topright: $radius;
10
- -webkit-border-top-left-radius: $radius;
11
- -webkit-border-top-right-radius: $radius;
12
- }
13
- @mixin right-rounded($radius) {
14
- border-radius-right: $radius;
15
- -moz-border-radius-topright: $radius;
16
- -moz-border-radius-bottomright: $radius;
17
- -webkit-border-top-right-radius: $radius;
18
- -webkit-border-bottom-right-radius: $radius;
19
- }
20
- @mixin left-rounded($radius) {
21
- border-radius-left: $radius;
22
- -moz-border-radius-topleft: $radius;
23
- -moz-border-radius-bottomleft: $radius;
24
- -webkit-border-top-left-radius: $radius;
25
- -webkit-border-bottom-left-radius: $radius;
26
- }
27
- @mixin bottom-rounded($radius) {
28
- border-radius-bottom: $radius;
29
- -moz-border-radius-bottomleft: $radius;
30
- -moz-border-radius-bottomright: $radius;
31
- -webkit-border-bottom-left-radius: $radius;
32
- -webkit-border-bottom-right-radius: $radius;
33
- }
34
- @mixin box-sizing($box-model) {
35
- -webkit-box-sizing: $box-model; // Safari <= 5
36
- -moz-box-sizing: $box-model; // Firefox <= 19
37
- box-sizing: $box-model;
38
- }
39
- @mixin faux_columns_2($col1_width, $col1_bg, $col2_bg) {
40
- background-image: -webkit-gradient(
41
- linear,
42
- left top,
43
- right top,
44
- color-stop(0, $col1_bg),
45
- color-stop($col1_width, $col1_bg),
46
- color-stop($col1_width, $col2_bg),
47
- color-stop(100%, $col2_bg)
48
- );
49
- background-image: -webkit-linear-gradient(
50
- left,
51
- $col1_bg,
52
- $col1_bg $col1_width,
53
- $col2_bg $col1_width,
54
- $col2_bg 100%
55
- );
56
- background-image: -moz-linear-gradient(
57
- left,
58
- $col1_bg,
59
- $col1_bg $col1_width,
60
- $col2_bg $col1_width,
61
- $col2_bg 100%
62
- );
63
- background-image: -ms-linear-gradient(
64
- left,
65
- $col1_bg,
66
- $col1_bg $col1_width,
67
- $col2_bg $col1_width,
68
- $col2_bg 100%
69
- );
70
- background-image: -o-linear-gradient(
71
- left,
72
- $col1_bg,
73
- $col1_bg $col1_width,
74
- $col2_bg $col1_width,
75
- $col2_bg 100%
76
- );
77
- }
78
- @mixin form_actions() {
79
- position: relative;
80
- background-color: #F2F2F2;
81
- border: 1px solid #CCCCCC;
82
- margin-top: 10px;
83
- height: 45px;
84
- }
@@ -1,34 +0,0 @@
1
- /* Tooltips CSS definitions */
2
- .tooltip {
3
- position: absolute!important;
4
- overflow:hidden;
5
- font-size: 13px;
6
- font-family: inherit;
7
- z-index: 10000!important;
8
- text-align: center;
9
- .xtop, .tooltip .xbottom { display: block; background: transparent; font-size: 1px; }
10
- .xb1, .tooltip .xb2, .tooltip .xb3, .tooltip .xb4 { display: block; overflow: hidden; }
11
- .xb1, .tooltip .xb2, .tooltip .xb3 { height: 1px; }
12
- .xb2, .tooltip .xb3, .tooltip .xb4 { background: #606060; border-left: 1px solid #606060; border-right: 1px solid #606060; }
13
- .xbottom .xb2, .tooltip .xbottom .xb3, .tooltip .xbottom .xb4 { background: #606060; }
14
- .xb1 { margin: 0 5px; background: #606060; }
15
- .xb2 { margin: 0 3px; border-width: 0 2px; }
16
- .xb3 { margin: 0 2px; }
17
- .xb4 { height: 2px; margin: 0 1px; }
18
- .xboxcontent {
19
- margin: 0;
20
- color: #000;
21
- word-wrap:break-word;
22
- border-width: 4px 4px;
23
- border-style: solid;
24
- border-color: #606060;
25
- background-color: white;
26
- padding: 6px;
27
- }
28
- .xb1, .xb2, .xb3, .xb4 {
29
- border-color: #606060;
30
- }
31
- }
32
- .tooltip-square .xtop, .tooltip-square .xbottom {
33
- display: none;
34
- }