alchemy_cms 4.1.0.beta → 4.1.0.rc1

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.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/.github/ISSUE_TEMPLATE/Bug_report.md +27 -0
  3. data/.github/ISSUE_TEMPLATE/Feature_request.md +17 -0
  4. data/CHANGELOG.md +228 -170
  5. data/PULL_REQUEST_TEMPLATE.md +14 -0
  6. data/README.md +10 -0
  7. data/alchemy_cms.gemspec +1 -1
  8. data/app/assets/images/alchemy/icon-white.svg +1 -0
  9. data/app/assets/javascripts/alchemy/admin.js +4 -4
  10. data/app/assets/javascripts/alchemy/alchemy.buttons.js.coffee +5 -1
  11. data/app/assets/javascripts/alchemy/alchemy.dragndrop.js.coffee +2 -2
  12. data/app/assets/javascripts/alchemy/alchemy.element_editors.js.coffee +0 -2
  13. data/app/assets/javascripts/alchemy/alchemy.link_dialog.js.coffee +3 -2
  14. data/app/assets/stylesheets/alchemy/_extends.scss +3 -18
  15. data/app/assets/stylesheets/alchemy/_mixins.scss +32 -16
  16. data/app/assets/stylesheets/alchemy/_variables.scss +19 -14
  17. data/app/assets/stylesheets/alchemy/admin.scss +1 -0
  18. data/app/assets/stylesheets/alchemy/archive.scss +49 -162
  19. data/app/assets/stylesheets/alchemy/base.scss +4 -4
  20. data/app/assets/stylesheets/alchemy/buttons.scss +14 -40
  21. data/app/assets/stylesheets/alchemy/dialogs.scss +1 -2
  22. data/app/assets/stylesheets/alchemy/elements.scss +49 -33
  23. data/app/assets/stylesheets/alchemy/form_fields.scss +11 -2
  24. data/app/assets/stylesheets/alchemy/forms.scss +1 -1
  25. data/app/assets/stylesheets/alchemy/frame.scss +3 -2
  26. data/app/assets/stylesheets/alchemy/image_library.scss +19 -13
  27. data/app/assets/stylesheets/alchemy/jquery.datetimepicker.scss +10 -13
  28. data/app/assets/stylesheets/alchemy/menubar.scss +8 -6
  29. data/app/assets/stylesheets/alchemy/navigation.scss +18 -0
  30. data/app/assets/stylesheets/alchemy/preview_window.scss +1 -1
  31. data/app/assets/stylesheets/alchemy/search.scss +6 -57
  32. data/app/assets/stylesheets/alchemy/selects.scss +6 -20
  33. data/app/assets/stylesheets/alchemy/sitemap.scss +2 -2
  34. data/app/assets/stylesheets/alchemy/spinner.scss +1 -1
  35. data/app/assets/stylesheets/alchemy/tables.scss +19 -2
  36. data/app/assets/stylesheets/alchemy/tags.scss +183 -0
  37. data/app/assets/stylesheets/alchemy/toolbar.scss +0 -2
  38. data/app/assets/stylesheets/alchemy/upload.scss +1 -1
  39. data/app/assets/stylesheets/alchemy/welcome.sass +11 -11
  40. data/app/assets/stylesheets/tinymce/skins/alchemy/skin.min.css.scss +9 -3
  41. data/app/controllers/alchemy/admin/dashboard_controller.rb +1 -1
  42. data/app/controllers/alchemy/admin/elements_controller.rb +4 -1
  43. data/app/controllers/alchemy/admin/pictures_controller.rb +1 -1
  44. data/app/controllers/alchemy/pages_controller.rb +1 -1
  45. data/app/helpers/alchemy/admin/base_helper.rb +1 -1
  46. data/app/models/alchemy/cell.rb +1 -1
  47. data/app/models/alchemy/content.rb +2 -2
  48. data/app/models/alchemy/element.rb +3 -3
  49. data/app/models/alchemy/essence_file.rb +1 -1
  50. data/app/models/alchemy/essence_picture.rb +1 -1
  51. data/app/models/alchemy/folded_page.rb +2 -3
  52. data/app/models/alchemy/language.rb +1 -1
  53. data/app/models/alchemy/page.rb +1 -1
  54. data/app/models/alchemy/picture/transformations.rb +4 -1
  55. data/app/views/alchemy/admin/elements/index.html.erb +4 -2
  56. data/app/views/alchemy/admin/elements/new.html.erb +2 -1
  57. data/app/views/alchemy/admin/pictures/_infos.html.erb +17 -6
  58. data/app/views/alchemy/admin/uploader/_button.html.erb +2 -2
  59. data/app/views/alchemy/essences/shared/_essence_picture_tools.html.erb +12 -7
  60. data/app/views/alchemy/essences/shared/_linkable_essence_tools.html.erb +1 -0
  61. data/app/views/alchemy/welcome.html.erb +0 -2
  62. data/config/initializers/assets.rb +1 -0
  63. data/config/locales/alchemy.en.yml +1 -0
  64. data/lib/alchemy/tinymce.rb +1 -1
  65. data/lib/alchemy/version.rb +1 -1
  66. data/vendor/assets/stylesheets/{jquery.Jcrop.min.css → jquery.Jcrop.min.scss} +1 -1
  67. metadata +10 -5
@@ -6,6 +6,13 @@ button, input[type="submit"], a.button, input.button {
6
6
  background-color: $secondary-button-bg-color;
7
7
  color: $secondary-button-text-color;
8
8
  border-color: $secondary-button-border-color;
9
+
10
+ &:focus {
11
+ @include default-focus-style(
12
+ $border-color: $secondary-button-text-color,
13
+ $box-shadow: 0 0 2px $button-text-color
14
+ );
15
+ }
9
16
  }
10
17
 
11
18
  &.small {
@@ -18,25 +25,9 @@ button, input[type="submit"], a.button, input.button {
18
25
  &.with_icon .icon {
19
26
  position: relative;
20
27
  top: -1px;
21
- margin-right: $default-margin;
28
+ margin-right: 2 * $default-margin;
22
29
  color: inherit;
23
30
  }
24
-
25
- &.icon_only {
26
- margin: 0;
27
- padding: 0;
28
- border: 0 none;
29
- background: none;
30
-
31
- .icon {
32
- margin: 0;
33
- }
34
- }
35
-
36
- &.disabled {
37
- line-height: 13px;
38
- height: 29px;
39
- }
40
31
  }
41
32
 
42
33
  .icon_button {
@@ -100,7 +91,7 @@ button, input[type="submit"], a.button, input.button {
100
91
  }
101
92
 
102
93
  &:focus {
103
- @extend %blue-focus-style;
94
+ @include default-focus-style;
104
95
  }
105
96
  }
106
97
 
@@ -121,30 +112,13 @@ button.icon_button {
121
112
  .button_with_label {
122
113
  position: relative;
123
114
  display: inline-block;
124
- vertical-align: top;
125
115
  text-align: center;
126
116
  margin: 0 2*$default-margin;
127
- line-height: 0;
128
-
129
- &.active, &:active {
130
117
 
131
- .icon_button {
132
- background-color: darken($white, 10%);
133
- border: $default-border;
134
- padding: 2px;
135
- border-radius: $default-border-radius;
136
- }
137
- }
138
-
139
- &:hover .icon_button {
140
- border: $default-border;
141
- padding: 2px;
142
- border-radius: $default-border-radius;
143
- cursor: pointer;
144
-
145
- &:focus {
146
- border: 0;
147
- padding: 3px;
118
+ &.active, &:active, &:hover {
119
+ .icon_button {
120
+ background-color: $default-border-color;
121
+ cursor: pointer;
148
122
  }
149
123
  }
150
124
 
@@ -174,7 +148,7 @@ button.icon_button {
174
148
  .icon_button {
175
149
  width: 29px;
176
150
  height: 29px;
177
- line-height: 23px;
151
+ line-height: 27px;
178
152
  }
179
153
 
180
154
  label {
@@ -70,13 +70,13 @@ $dialog-transition-duration: 150ms;
70
70
  margin: 2*$default-margin;
71
71
  @include border-top-radius($default-border-radius);
72
72
  box-shadow: $dialog-box-shadow;
73
+ background-color: $dialog-background-color;
73
74
  transition: min-height $dialog-transition-duration ease-in-out;
74
75
 
75
76
  div#jscropper {
76
77
  padding: 2 * $default-padding;
77
78
 
78
79
  .thumbnail_background {
79
- @extend %thumbnail-background;
80
80
  width: 800px;
81
81
  height: 600px;
82
82
  position: relative;
@@ -167,7 +167,6 @@ $dialog-transition-duration: 150ms;
167
167
 
168
168
  .alchemy-dialog-body {
169
169
  position: relative;
170
- background-color: $dialog-background-color;
171
170
  color: $text-color;
172
171
 
173
172
  .message {
@@ -7,7 +7,7 @@
7
7
  height: calc(100vh - #{$top-menu-height});
8
8
  border-left: $default-border;
9
9
  background-color: $light-gray;
10
- transition: 200ms ease-in-out;
10
+ transition: $transition-duration ease-in-out;
11
11
  transform: translate3d($elements-window-width - $default-border-width, 0, 0);
12
12
 
13
13
  .elements-window-visible & {
@@ -138,7 +138,7 @@
138
138
  border-radius: $default-border-radius;
139
139
  background-color: $light-gray;
140
140
  margin-bottom: 2*$default-margin;
141
- transition: box-shadow 250ms;
141
+ transition: box-shadow $transition-duration;
142
142
 
143
143
  &.not-draggable {
144
144
  opacity: 0.5;
@@ -292,6 +292,11 @@
292
292
  }
293
293
  }
294
294
 
295
+ .element-content-editors {
296
+ display: flex;
297
+ flex-wrap: wrap;
298
+ }
299
+
295
300
  .picture_gallery_images {
296
301
  overflow: hidden;
297
302
  margin: $default-margin 0;
@@ -310,7 +315,6 @@
310
315
  }
311
316
 
312
317
  .picture_thumbnail .picture_image {
313
- height: 93px;
314
318
  overflow: hidden;
315
319
 
316
320
  img.img_paddingtop {
@@ -323,43 +327,54 @@
323
327
  }
324
328
 
325
329
  .linkable_essence_tools {
330
+ display: flex;
326
331
  position: absolute;
327
- bottom: 6px;
332
+ bottom: 2 * $default-margin;
328
333
  right: 0;
329
334
 
330
335
  .icon_button {
331
336
  @include button-defaults(
332
337
  $background-color: $medium-gray,
333
338
  $hover-color: darken($medium-gray, 5%),
334
- $border: $default-border);
335
- width: $form-field-height;
339
+ $border: 1px solid #c0c0c0,
340
+ $hover-border-color: #c0c0c0,
341
+ $line-height: 30px,
342
+ $padding: 0,
343
+ $margin: 0,
344
+ $border-radius: 0,
345
+ $focus-border-color: $focus-color,
346
+ $focus-box-shadow: 0 0 0 2px $focus-color);
347
+ width: 29px;
336
348
  height: $form-field-height;
337
- margin: 0 0 0 4px;
338
- padding: 2px;
339
- position: absolute;
340
- bottom: 2px;
341
- right: 28px;
342
- border-radius: 0;
343
349
 
344
350
  &.disabled, &.disabled:hover {
345
351
  background-color: $form-field-disabled-bg-color;
346
352
  }
347
353
 
348
- &.link-essence,
349
- &.unlink-essence {
350
- border: 1px solid #c0c0c0;
351
- }
352
-
353
354
  &.linked.link-essence {
354
- @include linked-button($border-radius: 0 0 0 0);
355
+ @include linked-button(
356
+ $border-radius: 0,
357
+ $line-height: 30px,
358
+ $padding: 0
359
+ );
360
+ &:focus {
361
+ border-radius: 0;
362
+ }
355
363
  }
356
364
 
357
365
  &.linked.unlink-essence {
358
- @include linked-button($border-radius: 0 $default-border-radius $default-border-radius 0);
366
+ @include linked-button(
367
+ $border-radius: 0 $default-border-radius $default-border-radius 0,
368
+ $line-height: 30px,
369
+ $padding: 0
370
+ );
371
+ &:focus {
372
+ border-radius: 0 $default-border-radius $default-border-radius 0;
373
+ }
359
374
  }
360
375
 
361
376
  &.unlink-essence {
362
- right: 0;
377
+ border-left-width: 0;
363
378
  @extend .right-rounded-border;
364
379
  }
365
380
  }
@@ -380,6 +395,7 @@
380
395
  left: 0;
381
396
  bottom: 0;
382
397
  z-index: 0;
398
+ width: 100%;
383
399
  padding: $default-padding $default-padding/2;
384
400
 
385
401
  a {
@@ -415,14 +431,9 @@
415
431
  }
416
432
 
417
433
  .picture_thumbnail {
418
- width: 121px;
419
- height: 125px;
434
+ width: 160px;
420
435
  margin: $default-margin 0;
421
-
422
- .thumbnail_background {
423
- width: 111px;
424
- height: 93px;
425
- }
436
+ padding-bottom: 28px;
426
437
  }
427
438
 
428
439
  &.validation_failed .picture_thumbnail {
@@ -538,6 +549,7 @@ select.long {
538
549
  }
539
550
 
540
551
  .content_editor {
552
+ width: 100%;
541
553
  padding: $default-padding 0;
542
554
  position: relative;
543
555
 
@@ -645,10 +657,14 @@ select.long {
645
657
  }
646
658
 
647
659
  &.essence_picture {
648
- float: none;
649
- height: auto;
650
- display: inline-block;
651
- vertical-align: middle;
660
+ width: 50%;
661
+ padding-left: 1px; // Compensate the box shadow
662
+ padding-right: $default-padding;
663
+
664
+ + .essence_picture {
665
+ padding-left: $default-padding;
666
+ padding-right: 1px; // Compensate the box shadow
667
+ }
652
668
  }
653
669
  }
654
670
 
@@ -741,6 +757,6 @@ textarea.has_tinymce {
741
757
 
742
758
  .essence_date--label {
743
759
  position: absolute;
744
- right: 5px;
745
- top: 35px;
760
+ right: 7px;
761
+ top: 37px;
746
762
  }
@@ -13,6 +13,17 @@ input[type="search"],
13
13
  }
14
14
  }
15
15
 
16
+ input[type="checkbox"] {
17
+ transition: $transition-duration;
18
+
19
+ &:focus {
20
+ @include default-focus-style($box-shadow: (
21
+ inset 0 0 0 1px $focus-color,
22
+ 0 0 0 1px $focus-color
23
+ ));
24
+ }
25
+ }
26
+
16
27
  input[type="search"] {
17
28
  -webkit-appearance: textfield;
18
29
  }
@@ -26,8 +37,6 @@ input[type="search"]::-webkit-search-results-decoration {
26
37
 
27
38
  textarea {
28
39
  height: auto;
29
- padding: 4px 8px;
30
- line-height: 19px;
31
40
  }
32
41
 
33
42
  .alchemy-char-counter {
@@ -164,7 +164,7 @@ form {
164
164
 
165
165
  .control_group {
166
166
  width: $form-right-width;
167
- padding-top: 6px;
167
+ padding-top: 0.6em;
168
168
  float: right;
169
169
  }
170
170
 
@@ -89,16 +89,17 @@ div#overlay_text_box {
89
89
  }
90
90
 
91
91
  #archive_all {
92
+ height: calc(100% - 4px);
92
93
  padding-bottom: 60px;
93
94
 
94
95
  &.with_tag_filter {
95
96
 
96
97
  table {
97
- padding-right: 230px;
98
+ padding-right: 242px;
98
99
  }
99
100
 
100
101
  > .info {
101
- margin-right: 230px;
102
+ margin-right: 242px;
102
103
  }
103
104
  }
104
105
 
@@ -1,6 +1,6 @@
1
- $picture-overlay-handle-width: 18px;
1
+ $picture-overlay-handle-width: 24px;
2
2
  $image-overlay-form-width: 350px - $picture-overlay-handle-width;
3
- $image-overlay-transition-duration: 200ms;
3
+ $image-overlay-transition-duration: $transition-duration;
4
4
  $image-overlay-transition-easing: ease-in;
5
5
 
6
6
  .alchemy-image-overlay {
@@ -96,12 +96,7 @@ $image-overlay-transition-easing: ease-in;
96
96
 
97
97
  form .control-label,
98
98
  .resource_info .value label {
99
- width: 100%;
100
99
  text-align: left;
101
- float: none;
102
- display: block;
103
- padding: 0;
104
- margin: $default-margin 0 0;
105
100
  }
106
101
 
107
102
  form .input .hint {
@@ -178,28 +173,39 @@ $image-overlay-transition-easing: ease-in;
178
173
  }
179
174
 
180
175
  #pictures_page_list {
181
-
182
176
  h3 {
183
- padding: $default-padding 0 0;
177
+ display: flex;
178
+ padding: 4px 8px 0;
184
179
  margin: 0;
185
180
  }
186
181
 
187
- ol {
182
+ ul {
188
183
  padding-left: 0;
189
- list-style-position: inside;
184
+ list-style-type: none;
190
185
  }
191
186
 
192
187
  .list {
193
188
  margin: 2*$default-margin 0;
194
189
 
195
190
  li {
191
+ display: flex;
196
192
  padding: 2*$default-padding;
197
193
  border-radius: $default-border-radius;
198
194
  white-space: normal;
199
-
200
- &.even { background: #F7F7F7 }
195
+ margin-bottom: 1em;
201
196
  }
202
197
  }
198
+
199
+ .icon {
200
+ padding-top: 3px;
201
+ text-align: left;
202
+ width: 7%;
203
+ }
204
+
205
+ p {
206
+ width: 93%;
207
+ margin: 0;
208
+ }
203
209
  }
204
210
 
205
211
  .picture-overlay-navigation {
@@ -92,11 +92,6 @@
92
92
  margin-left: 0;
93
93
  }
94
94
 
95
- .xdsoft_datetimepicker .xdsoft_datepicker.active+.xdsoft_timepicker {
96
- margin-top: 8px;
97
- margin-bottom: 3px;
98
- }
99
-
100
95
  .xdsoft_datetimepicker .xdsoft_mounthpicker {
101
96
  position: relative;
102
97
  text-align: center;
@@ -143,6 +138,10 @@
143
138
  }
144
139
  }
145
140
 
141
+ .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_prev:before {
142
+ content: fa-content($fa-var-caret-up);
143
+ }
144
+
146
145
  .xdsoft_datetimepicker .xdsoft_today_button {
147
146
  float: left;
148
147
  margin: 0 5px;
@@ -163,6 +162,10 @@
163
162
  }
164
163
  }
165
164
 
165
+ .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_next:before {
166
+ content: fa-content($fa-var-caret-down);
167
+ }
168
+
166
169
  .xdsoft_datetimepicker .xdsoft_next,
167
170
  .xdsoft_datetimepicker .xdsoft_prev ,
168
171
  .xdsoft_datetimepicker .xdsoft_today_button {
@@ -187,12 +190,8 @@
187
190
 
188
191
  .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_prev,
189
192
  .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_next {
190
- float: none;
191
- height: 15px;
192
- width: 30px;
193
- display: block;
194
- margin-left: 14px;
195
- margin-top: 7px;
193
+ width: 100%;
194
+ text-align: center;
196
195
  }
197
196
 
198
197
  .xdsoft_datetimepicker.xdsoft_rtl .xdsoft_timepicker .xdsoft_prev,
@@ -203,8 +202,6 @@
203
202
  }
204
203
 
205
204
  .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_prev {
206
- margin-bottom: 8px;
207
- margin-top: 0;
208
205
 
209
206
  &:before {
210
207
  border-width: 0 8px 8px 8px;
@@ -11,14 +11,15 @@
11
11
  left: -358px;
12
12
  width: 400px;
13
13
  z-index: 10000;
14
- background: $blue;
15
- transition: left 0.15s ease-in;
14
+ background: $main-menu-bg-color;
15
+ transition: left 0.25s cubic-bezier(0.23, 1, 0.32, 1);
16
16
  box-shadow: 0 0 0 1px $white;
17
17
  box-sizing: border-box;
18
18
  height: auto;
19
19
  padding: 8px 40px 8px 8px;
20
20
  overflow: hidden;
21
- font: $default-font-style;
21
+ font-family: $default-font-family;
22
+ font-size: $base-font-size;
22
23
 
23
24
  * {
24
25
  box-sizing: border-box;
@@ -37,7 +38,7 @@
37
38
  position: absolute;
38
39
  right: 10px;
39
40
  top: 50%;
40
- background: image-url('alchemy/icon.svg') 0 0 no-repeat;
41
+ background: image-url('alchemy/icon-white.svg') 1px 1px no-repeat;
41
42
  background-size: 24px 24px;
42
43
  transform: translateY(-50%);
43
44
  }
@@ -58,11 +59,12 @@
58
59
 
59
60
  a, button {
60
61
  @include button-defaults(
61
- $background-color: $blue,
62
- $hover-color: rgba($white, 0.15),
62
+ $background-color: $main-menu-bg-color,
63
+ $hover-color: $blue,
63
64
  $hover-border-color: $white,
64
65
  $border: 1px solid $white,
65
66
  $padding: 0.5em 0,
67
+ $margin: 0,
66
68
  $color: $white
67
69
  );
68
70
  width: 100%;
@@ -113,6 +113,13 @@
113
113
  color: $main-menu-active-text-color;
114
114
  text-decoration: none;
115
115
  text-shadow: none;
116
+
117
+ &:focus {
118
+ @include default-focus-style(
119
+ $box-shadow: inset 0 0 0 2px $main-menu-active-text-color,
120
+ $border-radius: 0
121
+ );
122
+ }
116
123
  }
117
124
  }
118
125
 
@@ -123,6 +130,13 @@
123
130
  color: $main-menu-text-color;
124
131
  transition: color $transition-duration $transition-easing;
125
132
  @include antialiased-font-smoothing;
133
+
134
+ &:focus {
135
+ @include default-focus-style(
136
+ $box-shadow: inset 0 0 0 2px $focus-color,
137
+ $border-radius: 0
138
+ );
139
+ }
126
140
  }
127
141
  }
128
142
 
@@ -208,6 +222,10 @@ body:not(.collapsed-menu) {
208
222
  > a {
209
223
  cursor: pointer;
210
224
  padding: 0px 8px;
225
+
226
+ &:focus {
227
+ @include default-focus-style($box-shadow: inset 0 0 0 2px $focus-color);
228
+ }
211
229
  }
212
230
 
213
231
  .icon.close {
@@ -7,7 +7,7 @@
7
7
  border: 0 none;
8
8
  background: #fff;
9
9
  border-right: $default-border;
10
- transition: 200ms ease-in-out;
10
+ transition: $transition-duration ease-in-out;
11
11
 
12
12
  .collapsed-menu & {
13
13
  left: $collapsed-main-menu-width;
@@ -47,62 +47,6 @@
47
47
  text-align: center;
48
48
  }
49
49
 
50
- #tags_tag_list {
51
- text-align: left;
52
- padding-top: 5px;
53
-
54
- ul.tags {
55
- max-height: 10em;
56
- padding: 1px;
57
- margin: 0;
58
- margin-top: 2px;
59
- overflow: auto;
60
- text-align: left;
61
- list-style-type: none;
62
-
63
- li {
64
- background-color: $medium-gray;
65
- padding: 4px;
66
- margin: 0 0 4px 0;
67
- position: relative;
68
- border-radius: $default-border-radius;
69
-
70
- &.odd { background-color: #eaf3f9 }
71
-
72
- input {
73
- position: absolute;
74
- top: 3px;
75
- left: 4px;
76
- }
77
-
78
- label {
79
- display: inline-block;
80
- margin-left: 2em;
81
- line-height: 1.6em;
82
- }
83
- }
84
- }
85
-
86
- .js_filter_field_box {
87
- position: relative;
88
- top: 0;
89
- right: 0;
90
- margin: 0;
91
-
92
- .js_filter_field {
93
- width: 100%;
94
- }
95
-
96
- label {
97
- display: none
98
- }
99
- }
100
-
101
- .js_filter_field_clear {
102
- right: 4px;
103
- }
104
- }
105
-
106
50
  #toolbar,
107
51
  #overlay_toolbar {
108
52
 
@@ -136,6 +80,11 @@
136
80
  &:focus {
137
81
  width: 250px;
138
82
  background-color: $form-field-background-color;
83
+
84
+ @include default-focus-style(
85
+ $box-shadow: inset 0 0 0 2px $focus-color,
86
+ $border-radius: 0
87
+ );
139
88
  }
140
89
  }
141
90
 
@@ -143,6 +92,6 @@
143
92
  .js_filter_field_box .icon,
144
93
  .search_field_clear,
145
94
  .js_filter_field_clear {
146
- top: 16px;
95
+ top: 18px;
147
96
  }
148
97
  }
@@ -68,7 +68,7 @@ select {
68
68
  &.select2-container-active {
69
69
 
70
70
  .select2-choice, .select2-choices {
71
- @extend %blue-focus-style;
71
+ @include default-focus-style($box-shadow: 0 0 0 1px $focus-color);
72
72
  }
73
73
  }
74
74
 
@@ -107,7 +107,7 @@ select {
107
107
  &.select2-container-active {
108
108
 
109
109
  .select2-choices {
110
- @extend %blue-focus-style;
110
+ @include default-focus-style($box-shadow: 0 0 0 1px $focus-color);
111
111
  }
112
112
  }
113
113
 
@@ -150,29 +150,15 @@ select {
150
150
  height: 29px;
151
151
 
152
152
  input {
153
- color: $text-color;
154
- padding: $default-padding 6px;
153
+ color: $form-field-text-color;
154
+ padding: 3px 6px;
155
+ margin: 0;
155
156
  }
156
157
  }
157
158
  }
158
159
  }
159
160
  }
160
161
 
161
- .tag_list, .autocomplete_tag_list {
162
- .select2-container.select2-container-multi {
163
- .select2-search-choice {
164
- padding: 0;
165
-
166
- div {
167
- @include tag-base(
168
- $padding: $default-padding 6*$default-padding $default-padding 3*$default-padding,
169
- $margin: 0
170
- );
171
- }
172
- }
173
- }
174
- }
175
-
176
162
  .select2-drop {
177
163
 
178
164
  .select2-search {
@@ -205,7 +191,7 @@ select {
205
191
 
206
192
  &.select2-highlighted {
207
193
  background: $button-hover-bg-color;
208
- color: $white;
194
+ color: $button-text-color;
209
195
  }
210
196
 
211
197
  &.select2-result-with-children {