formagic 0.2.6 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +9 -1
  3. data/app/assets/javascripts/formagic/form.coffee +1 -1
  4. data/app/assets/javascripts/formagic/inputs/checkbox.coffee +1 -1
  5. data/app/assets/javascripts/formagic/inputs/document.coffee +1 -1
  6. data/app/assets/javascripts/formagic/inputs/documents.coffee +1 -1
  7. data/app/assets/javascripts/formagic/inputs/file.coffee +1 -1
  8. data/app/assets/javascripts/formagic/inputs/select.coffee +1 -1
  9. data/app/assets/javascripts/formagic/inputs/string.coffee +2 -3
  10. data/app/assets/stylesheets/formagic/checkbox.scss +14 -6
  11. data/app/assets/stylesheets/formagic/color.scss +10 -8
  12. data/app/assets/stylesheets/formagic/date.scss +38 -17
  13. data/app/assets/stylesheets/formagic/file.scss +62 -21
  14. data/app/assets/stylesheets/formagic/form.scss +70 -24
  15. data/app/assets/stylesheets/formagic/group.scss +20 -10
  16. data/app/assets/stylesheets/formagic/image.scss +14 -13
  17. data/app/assets/stylesheets/formagic/list.scss +71 -27
  18. data/app/assets/stylesheets/formagic/nested-form.scss +73 -18
  19. data/app/assets/stylesheets/formagic/redactor-character.scss +42 -18
  20. data/app/assets/stylesheets/formagic/select.scss +113 -3
  21. data/app/assets/stylesheets/formagic/string.scss +22 -9
  22. data/app/assets/stylesheets/formagic/switch.scss +52 -48
  23. data/app/assets/stylesheets/formagic/text.scss +8 -5
  24. data/app/assets/stylesheets/formagic.scss +64 -3
  25. data/formagic.gemspec +3 -0
  26. data/lib/formagic/version.rb +1 -1
  27. data/lib/formagic.rb +3 -0
  28. metadata +30 -4
  29. data/app/assets/stylesheets/formagic/label.scss +0 -27
  30. data/app/assets/stylesheets/formagic/select2.scss +0 -113
@@ -1,113 +0,0 @@
1
- // select2
2
-
3
- @import "vendor/select2";
4
-
5
- .input-stacked.input-select2 {
6
- padding-bottom: .3em;
7
- }
8
-
9
- .select2-dropdown,
10
- .select2-container--default .select2-selection--single {
11
- border-color: $neutralColor;
12
- border-radius: 0;
13
- }
14
-
15
- .select2-container--default .select2-selection--single {
16
- border: 0;
17
- }
18
-
19
- .select2-container--open .select2-dropdown--above {
20
- border: 1px solid $neutralColor; border-top: none;
21
- }
22
-
23
- .select2-container--default .select2-selection--single .select2-selection__rendered {
24
- line-height: 1.4em;
25
- color: $black;
26
- }
27
-
28
- .select2-container--default .select2-selection--single .select2-selection__arrow b {
29
- border-color: $positiveColor transparent transparent transparent;
30
- }
31
-
32
- .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
33
- border-color: transparent transparent $positiveColor transparent;
34
- }
35
-
36
- .select2-container--default .select2-search--dropdown .select2-search__field {
37
- border-color: $contrastColor;
38
- &:focus {
39
- border-color: $stableColor;
40
- }
41
- }
42
-
43
- .select2-container--default * {
44
- &:focus {
45
- outline: none;
46
- }
47
- }
48
-
49
- .select2-container--default .select2-results__option[aria-selected=true] {
50
- background-color: $neutralColor;
51
- color: $black;
52
- }
53
-
54
- .select2-results__option {
55
- font-weight: 300;
56
- }
57
-
58
- .select2-container--default .select2-results__option--highlighted[aria-selected] {
59
- background-color: $positiveColor;
60
- color: $white;
61
- }
62
-
63
- .select2-container--default .select2-results__option[aria-selected=true] {
64
- &:hover {
65
- background-color: $positiveColor;
66
- color: $white;
67
- }
68
- }
69
-
70
- .select2-container--default .select2-results > .select2-results__options {
71
- @include custom-scrollbar();
72
- }
73
-
74
- .select2-dropdown--below {
75
- top: -4px;
76
- }
77
-
78
- .select2-container--default .select2-selection--single .select2-selection__arrow {
79
- left: 1px;
80
- }
81
-
82
- .select2-container .select2-selection--single .select2-selection__rendered {
83
- padding-left: 20px;
84
- padding-right: 8px;
85
- padding-top: 2px;
86
- }
87
-
88
- .select2-search--dropdown {
89
- padding: 0;
90
- margin: 0 -1px;
91
- }
92
-
93
- .select2-container .select2-search--inline {
94
- padding-left: .5em;
95
- }
96
-
97
- .select2-container--default .select2-selection--multiple {
98
- border-radius: 0;
99
- }
100
-
101
- .select2-container .select2-selection--multiple {
102
- min-height: 28px;
103
- }
104
-
105
- .select2-container--default .select2-search--inline .select2-search__field,
106
- .select2-container--default .select2-selection--multiple .select2-selection__choice {
107
- margin-top: 3px;
108
- }
109
-
110
-
111
-
112
-
113
-