alchemy 1.0.3 → 8.4.4

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 (189) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +24 -17
  3. data/README.md +538 -4
  4. data/lib/alchemy.rb +3 -2
  5. metadata +61 -223
  6. data/Rakefile +0 -21
  7. data/app/assets/fonts/alchemy/LiberationSans-Bold-webfont.eot +0 -0
  8. data/app/assets/fonts/alchemy/LiberationSans-Bold-webfont.svg +0 -154
  9. data/app/assets/fonts/alchemy/LiberationSans-Bold-webfont.ttf +0 -0
  10. data/app/assets/fonts/alchemy/LiberationSans-Bold-webfont.woff +0 -0
  11. data/app/assets/fonts/alchemy/LiberationSans-BoldItalic-webfont.eot +0 -0
  12. data/app/assets/fonts/alchemy/LiberationSans-BoldItalic-webfont.svg +0 -154
  13. data/app/assets/fonts/alchemy/LiberationSans-BoldItalic-webfont.ttf +0 -0
  14. data/app/assets/fonts/alchemy/LiberationSans-BoldItalic-webfont.woff +0 -0
  15. data/app/assets/fonts/alchemy/LiberationSans-Italic-webfont.eot +0 -0
  16. data/app/assets/fonts/alchemy/LiberationSans-Italic-webfont.svg +0 -154
  17. data/app/assets/fonts/alchemy/LiberationSans-Italic-webfont.ttf +0 -0
  18. data/app/assets/fonts/alchemy/LiberationSans-Italic-webfont.woff +0 -0
  19. data/app/assets/fonts/alchemy/LiberationSans-Regular-webfont.eot +0 -0
  20. data/app/assets/fonts/alchemy/LiberationSans-Regular-webfont.svg +0 -154
  21. data/app/assets/fonts/alchemy/LiberationSans-Regular-webfont.ttf +0 -0
  22. data/app/assets/fonts/alchemy/LiberationSans-Regular-webfont.woff +0 -0
  23. data/app/assets/fonts/alchemy/Red Hat Liberation License.txt +0 -78
  24. data/app/assets/fonts/alchemy/overpass_bold-web.eot +0 -0
  25. data/app/assets/fonts/alchemy/overpass_bold-web.svg +0 -470
  26. data/app/assets/fonts/alchemy/overpass_bold-web.ttf +0 -0
  27. data/app/assets/fonts/alchemy/overpass_bold-web.woff +0 -0
  28. data/app/assets/fonts/alchemy/overpass_regular-web.eot +0 -0
  29. data/app/assets/fonts/alchemy/overpass_regular-web.svg +0 -470
  30. data/app/assets/fonts/alchemy/overpass_regular-web.ttf +0 -0
  31. data/app/assets/fonts/alchemy/overpass_regular-web.woff +0 -0
  32. data/app/assets/images/alchemy/icons/action-icons.png +0 -0
  33. data/app/assets/images/alchemy/icons/arrow_icon.png +0 -0
  34. data/app/assets/images/alchemy/icons/chosen-sprite.png +0 -0
  35. data/app/assets/images/alchemy/icons/error_icon.png +0 -0
  36. data/app/assets/images/alchemy/icons/objects.png +0 -0
  37. data/app/assets/images/alchemy/icons/spinner.gif +0 -0
  38. data/app/assets/images/alchemy/icons/spinner_head.gif +0 -0
  39. data/app/assets/images/alchemy/icons/success_icon.png +0 -0
  40. data/app/assets/images/alchemy/icons/warning_icon.png +0 -0
  41. data/app/assets/javascripts/alchemy/flash_messages.js +0 -12
  42. data/app/assets/javascripts/alchemy/forms.js +0 -25
  43. data/app/assets/javascripts/alchemy/i18n.js +0 -36
  44. data/app/assets/javascripts/alchemy/login.js +0 -130
  45. data/app/assets/javascripts/alchemy/password.js +0 -99
  46. data/app/assets/stylesheets/alchemy/components/_chosen.scss +0 -423
  47. data/app/assets/stylesheets/alchemy/components/_content.scss +0 -58
  48. data/app/assets/stylesheets/alchemy/components/_helpers.scss +0 -38
  49. data/app/assets/stylesheets/alchemy/components/_media.scss +0 -49
  50. data/app/assets/stylesheets/alchemy/components/_media_object.scss +0 -22
  51. data/app/assets/stylesheets/alchemy/components/_normalize.scss +0 -396
  52. data/app/assets/stylesheets/alchemy/components/_shared.scss +0 -18
  53. data/app/assets/stylesheets/alchemy/components/buttons/_buttons.scss +0 -278
  54. data/app/assets/stylesheets/alchemy/components/buttons/_buttons_vars.scss +0 -11
  55. data/app/assets/stylesheets/alchemy/components/flash_messages/_flash_messages.scss +0 -93
  56. data/app/assets/stylesheets/alchemy/components/flash_messages/_flash_messages_vars.scss +0 -3
  57. data/app/assets/stylesheets/alchemy/components/fonts/_liberation.scss +0 -44
  58. data/app/assets/stylesheets/alchemy/components/fonts/_overpass.scss +0 -24
  59. data/app/assets/stylesheets/alchemy/components/footer/_footer.scss +0 -53
  60. data/app/assets/stylesheets/alchemy/components/footer/_footer_vars.scss +0 -4
  61. data/app/assets/stylesheets/alchemy/components/forms/_forms.scss +0 -552
  62. data/app/assets/stylesheets/alchemy/components/forms/_forms_ie.scss +0 -45
  63. data/app/assets/stylesheets/alchemy/components/forms/_forms_mixins.scss +0 -18
  64. data/app/assets/stylesheets/alchemy/components/forms/_forms_responsive.scss +0 -167
  65. data/app/assets/stylesheets/alchemy/components/forms/_forms_vars.scss +0 -25
  66. data/app/assets/stylesheets/alchemy/components/header/_header.scss +0 -216
  67. data/app/assets/stylesheets/alchemy/components/header/_header_vars.scss +0 -11
  68. data/app/assets/stylesheets/alchemy/components/login/_login.scss +0 -173
  69. data/app/assets/stylesheets/alchemy/components/login/_login_mixins.scss +0 -7
  70. data/app/assets/stylesheets/alchemy/components/login/_login_vars.scss +0 -19
  71. data/app/assets/stylesheets/alchemy/components/sprites/_sprites.scss +0 -110
  72. data/app/assets/stylesheets/alchemy/components/sprites/_sprites_mixins.scss +0 -9
  73. data/app/assets/stylesheets/alchemy/components/text/_text.scss +0 -30
  74. data/app/assets/stylesheets/alchemy/components/text/_text_vars.scss +0 -1
  75. data/app/assets/stylesheets/alchemy/composites/content_elements.scss +0 -6
  76. data/app/assets/stylesheets/alchemy/composites/login.scss +0 -9
  77. data/app/assets/stylesheets/alchemy/composites/shell.scss +0 -4
  78. data/app/assets/stylesheets/alchemy/partials/_base.scss +0 -8
  79. data/app/assets/stylesheets/alchemy/partials/_colors.scss +0 -99
  80. data/app/assets/stylesheets/alchemy/partials/_mixins.scss +0 -24
  81. data/app/assets/stylesheets/alchemy/partials/_vars.scss +0 -31
  82. data/app/helpers/alchemy/gettext_translations.rb +0 -28
  83. data/app/helpers/alchemy/layout_helper.rb +0 -35
  84. data/app/helpers/alchemy/rails_translations.rb +0 -21
  85. data/app/helpers/alchemy/translation_helper.rb +0 -19
  86. data/app/views/alchemy/layouts/_change_password_layout.html.haml +0 -20
  87. data/app/views/alchemy/layouts/_common_i18n.haml +0 -4
  88. data/app/views/alchemy/layouts/_header_layout.haml +0 -13
  89. data/app/views/alchemy/layouts/_login_layout.html.haml +0 -58
  90. data/app/views/alchemy/layouts/_user_session_layout.haml +0 -17
  91. data/app/views/alchemy/layouts/base.html.haml +0 -20
  92. data/app/views/alchemy/layouts/shell_layout.haml +0 -10
  93. data/lib/alchemy/engine.rb +0 -8
  94. data/lib/alchemy/version.rb +0 -3
  95. data/test/alchemy_test.rb +0 -7
  96. data/test/test_helper.rb +0 -9
  97. data/vendor/assets/javascripts/alchemy/handlebars.js +0 -2201
  98. data/vendor/assets/javascripts/alchemy/html5shiv.js +0 -298
  99. data/vendor/assets/javascripts/alchemy/jquery/jquery-1.6.2.js +0 -8981
  100. data/vendor/assets/javascripts/alchemy/jquery/plugins/chosen.jquery.js +0 -1003
  101. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/excanvas.js +0 -1427
  102. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/excanvas.min.js +0 -1
  103. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.colorhelpers.js +0 -179
  104. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.colorhelpers.min.js +0 -1
  105. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.crosshair.js +0 -167
  106. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.crosshair.min.js +0 -1
  107. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.fillbetween.js +0 -183
  108. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.fillbetween.min.js +0 -1
  109. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.image.js +0 -238
  110. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.image.min.js +0 -1
  111. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.js +0 -2599
  112. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.min.js +0 -6
  113. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.navigate.js +0 -336
  114. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.navigate.min.js +0 -1
  115. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.pie.js +0 -750
  116. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.pie.min.js +0 -1
  117. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.resize.js +0 -60
  118. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.resize.min.js +0 -1
  119. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.selection.js +0 -344
  120. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.selection.min.js +0 -1
  121. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.stack.js +0 -184
  122. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.stack.min.js +0 -1
  123. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.symbol.js +0 -70
  124. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.symbol.min.js +0 -1
  125. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.threshold.js +0 -103
  126. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.threshold.min.js +0 -1
  127. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/blank.svg +0 -3
  128. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/custom_test.js +0 -67
  129. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svg.css +0 -9
  130. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svg.js +0 -1101
  131. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svg.min.js +0 -7
  132. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svg.pack.js +0 -7
  133. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svgfilter.js +0 -396
  134. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svgfilter.min.js +0 -7
  135. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svgfilter.pack.js +0 -7
  136. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svggraph.js +0 -1337
  137. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svggraph.min.js +0 -7
  138. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svggraph.pack.js +0 -7
  139. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/lion.svg +0 -161
  140. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/test.js +0 -714
  141. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.ajaxfileupload.js +0 -205
  142. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.ba-bbq.js +0 -1137
  143. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.ba-resize.js +0 -246
  144. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.cookie.js +0 -92
  145. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.easing.1.3.js +0 -205
  146. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.fancyqueries.js +0 -106
  147. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.flash.js +0 -288
  148. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.form.js +0 -964
  149. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.hoverIntent.js +0 -106
  150. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.jeditable.ajaxupload.js +0 -62
  151. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.jeditable.js +0 -556
  152. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.jnotify.js +0 -210
  153. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.jscrollpane.js +0 -1390
  154. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.jscrollpane.min.js +0 -11
  155. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.linkHover.js +0 -89
  156. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.loadmask.min.js +0 -10
  157. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.mousewheel.js +0 -78
  158. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.multiselect.filter.js +0 -176
  159. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.multiselect.js +0 -668
  160. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.pack.js +0 -11
  161. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.periodicalupdater.js +0 -175
  162. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.sortElements.js +0 -75
  163. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.sparkline.min.js +0 -94
  164. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.text-overflow.js +0 -60
  165. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.timepickr.js +0 -214
  166. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.timers.js +0 -142
  167. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.tipsy.js +0 -358
  168. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.treeTable.js +0 -226
  169. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.trunk8.js +0 -203
  170. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.ui.multiselect.js +0 -338
  171. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.ui.totop.js +0 -58
  172. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.uitablefilter.js +0 -95
  173. data/vendor/assets/javascripts/alchemy/jquery/plugins/ui.spinner.js +0 -683
  174. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  175. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  176. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_highlight-hard_75_dadada_1x100.png +0 -0
  177. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_highlight-hard_75_e6e6e6_1x100.png +0 -0
  178. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_highlight-hard_95_ffffff_1x100.png +0 -0
  179. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_highlight-soft_80_e0e0e0_1x100.png +0 -0
  180. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_inset-hard_65_ffffff_1x100.png +0 -0
  181. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_inset-soft_95_fef1ec_1x100.png +0 -0
  182. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-icons_8f8f8f_256x240.png +0 -0
  183. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-icons_97baed_256x240.png +0 -0
  184. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-icons_cd0a0a_256x240.png +0 -0
  185. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/jquery-ui-1.8.11.custom.css +0 -573
  186. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/js/jquery-1.5.1.min.js +0 -16
  187. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/js/jquery-ui-1.8.11.custom.min.js +0 -783
  188. data/vendor/assets/javascripts/alchemy/rails.js +0 -331
  189. data/vendor/assets/javascripts/alchemy/underscore-1.3.1.js +0 -999
@@ -1,552 +0,0 @@
1
- @import "alchemy/partials/base";
2
- @import "alchemy/components/forms/forms_vars";
3
- @import "alchemy/components/forms/forms_mixins";
4
-
5
- /*
6
- =======================================
7
- FORMS
8
- =======================================
9
- */
10
-
11
- .form {
12
- width: 100%;
13
- display: block;
14
- line-height: 1;
15
- color: $text_color;
16
-
17
- .control_group,
18
- .control-group {
19
- padding: 5px 8px;
20
- position: relative;
21
- white-space: nowrap;
22
-
23
- .label,
24
- .control-label {
25
- width: $left_column_width;
26
- float: left;
27
- text-align: right;
28
- position: relative;
29
- padding: 0;
30
- }
31
-
32
- .input {
33
- margin-left: $left_column_width;
34
- position: relative;
35
- min-height: 2.5em;
36
- }
37
- }
38
-
39
- fieldset {
40
- border: 1px solid $fieldset_border_color;
41
- @include border-radius(5px);
42
- padding: 0;
43
- margin: 0 0 10px;
44
- background: $fieldset_background_color;
45
-
46
- legend {
47
- width: auto;
48
- margin-left: 10px;
49
- padding: 3px 5px;
50
- color: $fieldset_text_color;
51
- @include background(linear-gradient(rgba(white, 1), rgba(white, 0) 90%));
52
- }
53
- }
54
- }
55
-
56
- /*
57
- =======================================
58
- INPUTS
59
- =======================================
60
- */
61
-
62
-
63
- /* general */
64
- .form {
65
- .label,
66
- .control-label {
67
- label {
68
- line-height: 2.5;
69
- display: inline-block;
70
- padding: 0 20px 0 3px;
71
- }
72
- }
73
-
74
- // font for inputs (is not inherited)
75
- input,
76
- select,
77
- textarea {
78
- font-family: $screenfont;
79
- }
80
-
81
- /* general styling of fields */
82
- input {
83
- line-height: 1.3;
84
- }
85
-
86
- input[type="text"],
87
- input[type="password"],
88
- input[type="email"],
89
- input[type="url"],
90
- input[type="search"],
91
- input[type="date"],
92
- input[type="number"],
93
- select,
94
- textarea {
95
- width: $input_width;
96
- padding: 6px $input_padding;
97
- color: inherit;
98
- font-size: 100%;
99
- height: 16px;
100
- outline: none;
101
- border: 1px solid $border_color;
102
- margin-bottom: 7px;
103
- @include box-shadow(0 1px 2px 0 darken($shadow_color, 15%) inset);
104
- @include border-radius($border_radius);
105
-
106
- &:hover {
107
- border-color: darken($border_color, 18%);
108
- }
109
-
110
- &:focus {
111
- border-color: lighten($primary_color, 10%);
112
- @include box-shadow(0 0 2px lighten($primary_color, 10%));
113
- @include transition(all 0.17s linear);
114
- }
115
- }
116
-
117
- input[type="file"],
118
- input[type="range"] {
119
- width: auto;
120
- max-width: $input_width + $input_padding;
121
- padding: 6px 0;
122
- margin-bottom: 7px;
123
- }
124
-
125
- input[type="range"] {
126
- width: $input_width + $input_padding;
127
- padding-top: 4px;
128
- }
129
-
130
- input[type="number"] {
131
- width: 50px;
132
- text-align: left;
133
- padding: 4px $input_padding;
134
- }
135
-
136
- select {
137
- min-width: $input_width/1.5;
138
- width: auto;
139
- max-width: $input_width - $input_padding; //has one more for right padding
140
- padding: 4px 0 4px $input_padding;
141
- height: 30px;
142
- line-height: 30px;
143
- background-color: white;
144
-
145
- &[multiple="multiple"] {
146
- background: $white_color;
147
- height: auto;
148
- line-height: 1.5;
149
- border: 1px solid $border_color;
150
- }
151
- }
152
-
153
- textarea {
154
- height: auto;
155
- resize: none;
156
- overflow: auto;
157
- }
158
-
159
- /* placeholder for various browsers
160
- (needs to be separate) */
161
- input::-webkit-input-placeholder {
162
- color: $placeholder_color;
163
- font-style: italic;
164
- }
165
-
166
- input:-moz-placeholder {
167
- color: $placeholder_color;
168
- font-style: italic;
169
- }
170
-
171
- /* remove placeholder on focus
172
- (needs to be separate) */
173
- input:focus::-webkit-input-placeholder {
174
- color: $transparent_white_color;
175
- }
176
-
177
- input:focus:-moz-placeholder {
178
- color: $transparent_white_color;
179
- }
180
-
181
- /* required field */
182
- .required {
183
- .label,
184
- .control-label {
185
- position: relative;
186
-
187
- &:after {
188
- display: inline-block;
189
- position: absolute;
190
- right: 11px;
191
- top: 4px;
192
- font-size: 125%;
193
- font-weight: bold;
194
- content: '*';
195
- color: $primary_color;
196
- }
197
- }
198
-
199
- &.warning {
200
- .label:after,
201
- .control-label:after {
202
- color: $warning_color;
203
- }
204
- }
205
-
206
- &.error {
207
- .label:after,
208
- .control-label:after {
209
- color: $error_color;
210
- }
211
- }
212
- }
213
-
214
- /* informative values */
215
- .value {
216
- display: inline-block;
217
- width: $input_width;
218
- padding: 8px 0;
219
- margin-bottom: 7px;
220
- line-height: 1.3;
221
- font-size: 100%;
222
- color: $readonly_text_color;
223
- }
224
-
225
- /* readonly field */
226
- .readonly input,
227
- input[readonly="readonly"],
228
- textarea[readonly="readonly"] {
229
- color: $readonly_text_color;
230
-
231
- &:hover,
232
- &:focus {
233
- border: 1px solid $border_color;
234
- @include box-shadow(0 1px 2px 0 darken($shadow_color, 15%) inset);
235
- }
236
- }
237
-
238
- /* disabled field */
239
- .disabled {
240
- label {
241
- color: $disabled_text_color;
242
- }
243
- }
244
-
245
- input[disabled="disabled"],
246
- textarea[disabled="disabled"] {
247
- color: $disabled_text_color;
248
- background: $disabled_color;
249
- border: 1px solid $border_color;
250
-
251
- &:hover,
252
- &:focus {
253
- border: 1px solid $border_color;
254
- @include box-shadow(0 1px 2px 0 darken($shadow_color, 15%) inset);
255
- }
256
- }
257
-
258
- select[disabled="disabled"] {
259
- color: $disabled_text_color;
260
- }
261
-
262
- input[type="file"][disabled="disabled"] {
263
- color: $disabled_text_color;
264
- border: 0 none;
265
- @include box-shadow(none);
266
- }
267
-
268
- /* warning field */
269
- .warning {
270
- @include input_field($warning_color);
271
- }
272
-
273
- /* error field */
274
- .error {
275
- @include input_field($error_color);
276
- }
277
-
278
- /* checking items */
279
- .checkbox,
280
- .radio {
281
- .control {
282
- display: block;
283
- padding: 1px 0 5px 0;
284
-
285
- label {
286
- padding-right: 15px;
287
- }
288
- }
289
-
290
- & > label + .control {
291
- display: inline-block;
292
- }
293
-
294
- &.horizontal .control {
295
- display: inline-block;
296
- margin: 0 5px 0 0;
297
- }
298
-
299
- &:not(.inline) {
300
- label {
301
- line-height: 2;
302
- }
303
- }
304
-
305
- input[type="radio"],
306
- input[type="checkbox"] {
307
- margin: 0 2px 0 0;
308
- position: relative;
309
- top: 1px;
310
- }
311
-
312
- &.inline {
313
- .control {
314
- display: inline-block;
315
- margin-left: 15px;
316
- }
317
- }
318
- }
319
- }
320
-
321
- /*
322
- =======================================
323
- MESSAGES
324
- =======================================
325
- */
326
-
327
- .form {
328
-
329
- // GENERAL SPAN
330
- // ============
331
- span {
332
- display: inline-block;
333
- max-width: $input_width;
334
- line-height: 1.1;
335
- vertical-align: middle;
336
- font-size: 90%;
337
- white-space: normal;
338
- }
339
-
340
- // LABEL HELP
341
- // ==========
342
-
343
- .help {
344
- i {
345
- display: inline-block;
346
- position: relative;
347
- height: 13px;
348
- width: 13px;
349
- padding-top: 1px;
350
- text-align: center;
351
- color: $note_text_color;
352
- @include text-shadow(0 1px 0 rgba($white_color, 0.8));
353
- @include border-radius(50%);
354
- border: 1px solid $light_border_color;
355
- @include background(
356
- $light_box_color
357
- linear-gradient($light_box_gradient, darken($light_box_color, 4%)));
358
- cursor: default;
359
-
360
- &:hover {
361
- color: $white_color;
362
- @include text-shadow(0 1px 1px rgba($black_color, 0.3));
363
- border-color: $dark_box_color;
364
- @include background(
365
- $dark_box_color
366
- linear-gradient($dark_box_gradient, lighten($dark_box_color, 3%)));
367
- }
368
-
369
- // triangle for box
370
- &:after {
371
- display: none;
372
- @include opacity(0.97);
373
- content: "";
374
- height: 0;
375
- width: 0;
376
- border-style: solid;
377
- border-width: 0 9px 8px 9px;
378
- border-color: $transparent_white_color $transparent_white_color $dark_box_gradient;
379
- position: absolute;
380
- bottom: -11px;
381
- left: -2px;
382
- z-index: 2;
383
- }
384
- }
385
-
386
- span {
387
- display: none;
388
- @include opacity(0.97);
389
- position: absolute;
390
- left: 5px;
391
- top: 33px;
392
- z-index: 1;
393
- width: $left_column_width - 40px;
394
- padding: 7px 10px 9px 10px;
395
- margin: 0;
396
- @include border-radius($border_radius);
397
- @include linear_gradient($dark_box_color, $dark_box_gradient, $dark_box_color, 20%);
398
- @include filter-gradient($dark_box_gradient, $dark_box_color);
399
- color: lighten($rh_cream, 30%);
400
- border-color: $dark_box_color;
401
- text-align: left;
402
- line-height: 1.2;
403
- @include text-shadow(0 1px 1px rgba($black_color, 0.2));
404
- @include box-shadow(0 1px 3px $shadow_color);
405
- }
406
-
407
- i:hover {
408
- &:after {
409
- display: block;
410
- }
411
-
412
- & ~ span {
413
- display: block;
414
- }
415
- }
416
- }
417
-
418
- // ALWAYS VISIBLE INFORMATION
419
- // ==========================
420
- .note {
421
- display: block;
422
- font-size: 85%;
423
- color: $note_text_color;
424
- margin: 0 0 5px 10px;
425
-
426
- strong {
427
- font-weight: bold;
428
- font-size: 110%;
429
- }
430
- }
431
-
432
- // HINT AND VALIDATION MESSAGES
433
- // ============================
434
- .hint,
435
- .message {
436
- position: relative;
437
- left: 0;
438
- color: $message_text_color;
439
- padding: 9px $input_padding 7px $input_padding;
440
- margin-left: 10px;
441
- @include linear_gradient($light_box_color, $light_box_gradient, $light_box_color, 30%);
442
- @include filter-gradient($light_box_gradient, $light_box_color);
443
- @include border-radius($border_radius);
444
- border: 1px solid $light_border_color;
445
- @include box-shadow($shadow_color 0 1px 3px);
446
- vertical-align: top;
447
-
448
- &:before, // triangle left
449
- &:after { // border of left triangle
450
- content: "";
451
- display: block;
452
- height: 0;
453
- width: 0;
454
- border-style: solid;
455
- border-width: 8px 8px 8px 0;
456
- border-color: $transparent_white_color $light_box_color $transparent_white_color;
457
- position: absolute;
458
- top: 14px;
459
- left: -8px;
460
- margin-top: -8px; // half size of triangle
461
- z-index: 2;
462
- }
463
-
464
- &:after {
465
- border-right-color: $light_border_color;
466
- left: -9px; // 1 more pixel than arrow width
467
- z-index: 1;
468
- }
469
- }
470
-
471
- .hint {
472
- @include opacity(0);
473
- position: absolute;
474
- top: 0;
475
- left: $input_width + $input_padding + 30px;
476
-
477
- &.always_visible {
478
- @include opacity(1);
479
- position: relative;
480
- left: 0;
481
- }
482
- }
483
-
484
- .message ~ .hint {
485
- display: none;
486
- }
487
-
488
- .control_group,
489
- .control-group {
490
- input:focus ~ .hint {
491
- @include transition(all 0.29s ease);
492
- @include opacity(1);
493
- left: $input_width + $input_padding + 15px;
494
-
495
- &.always_visible {
496
- left: 0;
497
- }
498
- }
499
- }
500
-
501
- /* field validations */
502
- .success,
503
- .warning,
504
- .error {
505
- .message {
506
- padding-left: 29px;
507
- max-width: $input_width - 19px; // because of bigger left-padding
508
- }
509
- }
510
-
511
- /* success message */
512
- .success .message {
513
- background: $light_box_color image-url("alchemy/icons/success_icon.png") no-repeat 8px 6px; // for IE6-9
514
- @include background(
515
- image-url("alchemy/icons/success_icon.png") no-repeat 8px 6px,
516
- linear-gradient($light_box_gradient, $light_box_color 30%));
517
- @include filter-gradient($transparent_white_color, $transparent_white_color);
518
- }
519
-
520
- /* warning message */
521
- .warning .message {
522
- background: $light_box_color image-url("alchemy/icons/warning_icon.png") no-repeat 7px 6px; // for IE6-9
523
- @include background(
524
- image-url("alchemy/icons/warning_icon.png") no-repeat 7px 6px,
525
- linear-gradient($light_box_gradient, $light_box_color 30%));
526
- @include filter-gradient($transparent_white_color, $transparent_white_color);
527
- }
528
-
529
- /* error message */
530
- .error .message {
531
- background: $light_box_color image-url("alchemy/icons/error_icon.png") no-repeat 7px 6px; // for IE6-9
532
- @include background(
533
- image-url("alchemy/icons/error_icon.png") no-repeat 7px 6px,
534
- linear-gradient($light_box_gradient, $light_box_color 30%));
535
- @include filter-gradient($transparent_white_color, $transparent_white_color);
536
- }
537
- }
538
-
539
- /*
540
- =======================================
541
- RESPONSIVE
542
- =======================================
543
- */
544
- @import "alchemy/components/forms/forms_responsive";
545
-
546
-
547
- /*
548
- =======================================
549
- IE tweaks
550
- =======================================
551
- */
552
- @import "alchemy/components/forms/forms_ie";
@@ -1,45 +0,0 @@
1
- .ie8 {
2
- .form {
3
- .help {
4
- i:hover:after {
5
- display: none;
6
- }
7
-
8
- span {
9
- top: 25px;
10
- }
11
- }
12
-
13
- &.labels_top {
14
- .help {
15
- span {
16
- top: 20px;
17
- }
18
- }
19
- }
20
-
21
- .hint,
22
- .message {
23
- &:before,
24
- &:after {
25
- display: none;
26
- }
27
- }
28
-
29
- .hint {
30
- display: none;
31
-
32
- &.always_visible {
33
- display: inline-block;
34
- }
35
- }
36
-
37
- .control_group input:focus ~ .hint {
38
- display: block;
39
-
40
- &.always_visible {
41
- display: inline-block;
42
- }
43
- }
44
- }
45
- }
@@ -1,18 +0,0 @@
1
- @mixin input_field($color) {
2
- .label {
3
- color: $color;
4
- }
5
-
6
- input {
7
- border-color: $color;
8
-
9
- &:hover {
10
- border-color: darken($color, 12%);
11
- }
12
-
13
- &:focus {
14
- border-color: $color;
15
- @include box-shadow(0 0 2px $color);
16
- }
17
- }
18
- }