express_admin 1.7.5 → 1.7.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/express_admin/components/command_button.js.coffee +25 -0
  3. data/app/assets/stylesheets/express_admin/components/_command_button.sass +6 -1
  4. data/app/assets/stylesheets/express_admin/globals/_variables.sass +2 -0
  5. data/app/assets/stylesheets/express_admin/plugins/_select2.sass +3 -0
  6. data/app/assets/stylesheets/express_admin/screen.sass +0 -2
  7. data/app/assets/stylesheets/express_admin/shared/_tables.sass +2 -0
  8. data/app/components/express_admin/command_button.rb +9 -3
  9. data/app/components/express_admin/definition_table.rb +1 -1
  10. data/app/components/express_admin/smart_table.rb +6 -0
  11. data/app/views/layouts/devise.html.erb +19 -0
  12. data/config/initializers/postgresql_trigram.rb +13 -0
  13. data/db/migrate/20150928044202_install_trigram.rb +18 -0
  14. data/lib/express_admin/engine.rb +4 -2
  15. data/lib/express_admin/search.rb +51 -0
  16. data/lib/express_admin/standard_actions.rb +18 -5
  17. data/lib/express_admin/version.rb +1 -1
  18. data/test/dummy/db/test.sqlite3 +0 -0
  19. data/test/dummy/test/components/command_button_test.rb +2 -2
  20. metadata +22 -160
  21. data/app/assets/stylesheets/express_admin/shared/_buttons.sass +0 -3
  22. data/app/assets/stylesheets/express_admin/shared/_tabs.sass +0 -25
  23. data/vendor/gems/express_templates/CHANGELOG.md +0 -12
  24. data/vendor/gems/express_templates/Gemfile +0 -16
  25. data/vendor/gems/express_templates/LICENSE +0 -21
  26. data/vendor/gems/express_templates/README.md +0 -133
  27. data/vendor/gems/express_templates/Rakefile +0 -32
  28. data/vendor/gems/express_templates/express_templates.gemspec +0 -32
  29. data/vendor/gems/express_templates/lib/arbre/patches.rb +0 -76
  30. data/vendor/gems/express_templates/lib/core_extensions/proc.rb +0 -103
  31. data/vendor/gems/express_templates/lib/core_extensions/string.rb +0 -25
  32. data/vendor/gems/express_templates/lib/express_templates/compiler.rb +0 -22
  33. data/vendor/gems/express_templates/lib/express_templates/components/all.rb +0 -28
  34. data/vendor/gems/express_templates/lib/express_templates/components/base.rb +0 -156
  35. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/resourceful.rb +0 -213
  36. data/vendor/gems/express_templates/lib/express_templates/components/configurable.rb +0 -181
  37. data/vendor/gems/express_templates/lib/express_templates/components/container.rb +0 -45
  38. data/vendor/gems/express_templates/lib/express_templates/components/forms/basic_fields.rb +0 -52
  39. data/vendor/gems/express_templates/lib/express_templates/components/forms/checkbox.rb +0 -37
  40. data/vendor/gems/express_templates/lib/express_templates/components/forms/express_form.rb +0 -48
  41. data/vendor/gems/express_templates/lib/express_templates/components/forms/form_component.rb +0 -88
  42. data/vendor/gems/express_templates/lib/express_templates/components/forms/option_support.rb +0 -69
  43. data/vendor/gems/express_templates/lib/express_templates/components/forms/radio.rb +0 -65
  44. data/vendor/gems/express_templates/lib/express_templates/components/forms/select.rb +0 -126
  45. data/vendor/gems/express_templates/lib/express_templates/components/forms/select_collection.rb +0 -45
  46. data/vendor/gems/express_templates/lib/express_templates/components/forms/submit.rb +0 -30
  47. data/vendor/gems/express_templates/lib/express_templates/components/forms.rb +0 -16
  48. data/vendor/gems/express_templates/lib/express_templates/components/tree_for.rb +0 -88
  49. data/vendor/gems/express_templates/lib/express_templates/components.rb +0 -11
  50. data/vendor/gems/express_templates/lib/express_templates/indenter.rb +0 -47
  51. data/vendor/gems/express_templates/lib/express_templates/interpolator.rb +0 -36
  52. data/vendor/gems/express_templates/lib/express_templates/renderer.rb +0 -9
  53. data/vendor/gems/express_templates/lib/express_templates/template/handler.rb +0 -32
  54. data/vendor/gems/express_templates/lib/express_templates/version.rb +0 -3
  55. data/vendor/gems/express_templates/lib/express_templates.rb +0 -18
  56. data/vendor/gems/express_templates/lib/tasks/express_templates.rake +0 -4
  57. data/vendor/gems/express_templates/test/compiler_test.rb +0 -9
  58. data/vendor/gems/express_templates/test/components/base_test.rb +0 -67
  59. data/vendor/gems/express_templates/test/components/capabilities/resourceful_test.rb +0 -63
  60. data/vendor/gems/express_templates/test/components/configurable_test.rb +0 -140
  61. data/vendor/gems/express_templates/test/components/forms/basic_fields_test.rb +0 -158
  62. data/vendor/gems/express_templates/test/components/forms/checkbox_test.rb +0 -51
  63. data/vendor/gems/express_templates/test/components/forms/express_form_test.rb +0 -62
  64. data/vendor/gems/express_templates/test/components/forms/radio_test.rb +0 -112
  65. data/vendor/gems/express_templates/test/components/forms/select_test.rb +0 -129
  66. data/vendor/gems/express_templates/test/components/forms/submit_test.rb +0 -36
  67. data/vendor/gems/express_templates/test/components/tree_for_test.rb +0 -70
  68. data/vendor/gems/express_templates/test/core_extensions/proc_test.rb +0 -90
  69. data/vendor/gems/express_templates/test/core_extensions/string_test.rb +0 -20
  70. data/vendor/gems/express_templates/test/dummy/Rakefile +0 -6
  71. data/vendor/gems/express_templates/test/dummy/app/assets/javascripts/application.js +0 -13
  72. data/vendor/gems/express_templates/test/dummy/app/assets/stylesheets/application.css +0 -15
  73. data/vendor/gems/express_templates/test/dummy/app/controllers/application_controller.rb +0 -5
  74. data/vendor/gems/express_templates/test/dummy/app/controllers/hello_controller.rb +0 -5
  75. data/vendor/gems/express_templates/test/dummy/app/helpers/application_helper.rb +0 -2
  76. data/vendor/gems/express_templates/test/dummy/app/views/hello/show.html.et +0 -6
  77. data/vendor/gems/express_templates/test/dummy/app/views/layouts/application.html.et +0 -15
  78. data/vendor/gems/express_templates/test/dummy/bin/bundle +0 -3
  79. data/vendor/gems/express_templates/test/dummy/bin/rails +0 -4
  80. data/vendor/gems/express_templates/test/dummy/bin/rake +0 -4
  81. data/vendor/gems/express_templates/test/dummy/config/application.rb +0 -26
  82. data/vendor/gems/express_templates/test/dummy/config/boot.rb +0 -5
  83. data/vendor/gems/express_templates/test/dummy/config/environment.rb +0 -5
  84. data/vendor/gems/express_templates/test/dummy/config/environments/development.rb +0 -37
  85. data/vendor/gems/express_templates/test/dummy/config/environments/production.rb +0 -82
  86. data/vendor/gems/express_templates/test/dummy/config/environments/test.rb +0 -40
  87. data/vendor/gems/express_templates/test/dummy/config/initializers/assets.rb +0 -8
  88. data/vendor/gems/express_templates/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  89. data/vendor/gems/express_templates/test/dummy/config/initializers/cookies_serializer.rb +0 -3
  90. data/vendor/gems/express_templates/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  91. data/vendor/gems/express_templates/test/dummy/config/initializers/inflections.rb +0 -16
  92. data/vendor/gems/express_templates/test/dummy/config/initializers/mime_types.rb +0 -4
  93. data/vendor/gems/express_templates/test/dummy/config/initializers/session_store.rb +0 -3
  94. data/vendor/gems/express_templates/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  95. data/vendor/gems/express_templates/test/dummy/config/locales/en.yml +0 -23
  96. data/vendor/gems/express_templates/test/dummy/config/routes.rb +0 -4
  97. data/vendor/gems/express_templates/test/dummy/config/secrets.yml +0 -22
  98. data/vendor/gems/express_templates/test/dummy/config.ru +0 -4
  99. data/vendor/gems/express_templates/test/dummy/public/404.html +0 -67
  100. data/vendor/gems/express_templates/test/dummy/public/422.html +0 -67
  101. data/vendor/gems/express_templates/test/dummy/public/500.html +0 -66
  102. data/vendor/gems/express_templates/test/dummy/public/favicon.ico +0 -0
  103. data/vendor/gems/express_templates/test/dummy/test/controllers/hello_controller_test.rb +0 -14
  104. data/vendor/gems/express_templates/test/dummy/test/helpers/hello_helper_test.rb +0 -4
  105. data/vendor/gems/express_templates/test/express_templates_test.rb +0 -23
  106. data/vendor/gems/express_templates/test/handler_test.rb +0 -148
  107. data/vendor/gems/express_templates/test/indenter_test.rb +0 -27
  108. data/vendor/gems/express_templates/test/interpolator_test.rb +0 -80
  109. data/vendor/gems/express_templates/test/performance_test.rb +0 -97
  110. data/vendor/gems/express_templates/test/test_helper.rb +0 -178
  111. data/vendor/gems/foundation_apps_styles/Gemfile +0 -4
  112. data/vendor/gems/foundation_apps_styles/LICENSE.txt +0 -21
  113. data/vendor/gems/foundation_apps_styles/README.md +0 -41
  114. data/vendor/gems/foundation_apps_styles/Rakefile +0 -13
  115. data/vendor/gems/foundation_apps_styles/bin/console +0 -14
  116. data/vendor/gems/foundation_apps_styles/bin/setup +0 -7
  117. data/vendor/gems/foundation_apps_styles/foundation_apps_styles.gemspec +0 -24
  118. data/vendor/gems/foundation_apps_styles/lib/foundation_apps_styles/version.rb +0 -3
  119. data/vendor/gems/foundation_apps_styles/lib/foundation_apps_styles.rb +0 -6
  120. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/account.svg +0 -44
  121. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/action.svg +0 -38
  122. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/ban.svg +0 -17
  123. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/bell.svg +0 -22
  124. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/bookmark.svg +0 -14
  125. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/cart.svg +0 -35
  126. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/chevron.svg +0 -28
  127. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/circle-check.svg +0 -25
  128. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/circle-x.svg +0 -25
  129. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/cog.svg +0 -17
  130. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/comment-square.svg +0 -14
  131. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/dashboard.svg +0 -38
  132. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/document.svg +0 -28
  133. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/envelope.svg +0 -44
  134. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/flag.svg +0 -24
  135. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/home.svg +0 -28
  136. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/lock.svg +0 -55
  137. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/magnifying-glass.svg +0 -26
  138. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/person.svg +0 -62
  139. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/reload.svg +0 -19
  140. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/share-boxed.svg +0 -17
  141. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/star.svg +0 -14
  142. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/thumb.svg +0 -38
  143. data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/zoom.svg +0 -56
  144. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/_global.scss +0 -131
  145. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/_includes.scss +0 -33
  146. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/_settings.scss +0 -614
  147. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_accordion.scss +0 -72
  148. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_action-sheet.scss +0 -265
  149. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_block-list.scss +0 -360
  150. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_button-group.scss +0 -197
  151. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_button.scss +0 -205
  152. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_card.scss +0 -93
  153. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_extras.scss +0 -54
  154. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_forms.scss +0 -460
  155. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_grid.scss +0 -422
  156. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_iconic.scss +0 -95
  157. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_label.scss +0 -134
  158. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_list.scss +0 -19
  159. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_menu-bar.scss +0 -382
  160. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_modal.scss +0 -129
  161. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_motion.scss +0 -525
  162. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_notification.scss +0 -207
  163. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_off-canvas.scss +0 -169
  164. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_panel.scss +0 -134
  165. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_popup.scss +0 -68
  166. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_switch.scss +0 -134
  167. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_tabs.scss +0 -100
  168. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_title-bar.scss +0 -135
  169. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_typography.scss +0 -345
  170. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_utilities.scss +0 -160
  171. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/foundation-apps.css +0 -6146
  172. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/foundation.scss +0 -50
  173. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/helpers/_breakpoints.scss +0 -154
  174. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/helpers/_functions.scss +0 -343
  175. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/helpers/_images.scss +0 -19
  176. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/helpers/_mixins.scss +0 -123
  177. data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/vendor/_normalize.scss +0 -424
@@ -1,614 +0,0 @@
1
- // FOUNDATION FOR APPS SETTINGS
2
- // ----------------------------
3
- //
4
- // Table of Contents:
5
- //
6
- // 1. CSS Exports
7
- // 2. Global Styles
8
- // 3. Breakpoints
9
- // 4. Typography
10
- // 5. Grid
11
- // 6. Button
12
- // 7. Accordion
13
- // 8. Action Sheet
14
- // 9. Block List
15
- // 10. Button Group
16
- // 11. Card
17
- // 12. Extras
18
- // 13. Forms
19
- // 14. Iconic
20
- // 15. Label
21
- // 16. Menu Bar
22
- // 17. Modal
23
- // 18. Motion UI
24
- // 19. Notification
25
- // 20. Off-canvas
26
- // 21. Panel
27
- // 22. Popup
28
- // 23. Switch
29
- // 24. Tabs
30
- // 25. Title Bar
31
-
32
- @import "helpers/functions";
33
-
34
- // 1. CSS Exports
35
- // - - - - - - - - - - - - - - -
36
-
37
- // Change any value in this map from "true" to "false" to disable that component's CSS class output. You'll still be able to use the component's mixins, but none of our pre-written classes will be in your CSS.
38
-
39
- // $include-css: (
40
- // accordion: true,
41
- // action-sheet: true,
42
- // block-list: true,
43
- // button: true,
44
- // button-group: true,
45
- // card: true,
46
- // coloring: true,
47
- // extras: true,
48
- // forms: true,
49
- // grid: true,
50
- // iconic: true,
51
- // label: true,
52
- // badge: true,
53
- // list: true,
54
- // menu-bar: true,
55
- // modal: true,
56
- // motion: true,
57
- // notification: true,
58
- // off-canvas: true,
59
- // panel: true,
60
- // popup: true,
61
- // switch: true,
62
- // tabs: true,
63
- // title-bar: true,
64
- // typography: true,
65
- // utilities: true,
66
- // );
67
-
68
- // 2. Global Styles
69
- // - - - - - - - - - - - - - - -
70
-
71
- // This sets 1rem to be 16px
72
- // $rem-base: 16px;
73
-
74
- // The default font-size is set to 100% of the browser style sheet (usually 16px)
75
- // for compatibility with browser-based text zoom or user-set defaults.
76
-
77
- // Since the typical default browser font-size is 16px, that makes the calculation for grid size.
78
- // If you want your base font-size to be different and not have it affect the grid breakpoints,
79
- // set $rem-base to $base-font-size and make sure $base-font-size is a px value.
80
- // $base-font-size: 100%;
81
-
82
- // $base-line-height is 24px while $base-font-size is 16px
83
- // $base-line-height: 1.5;
84
-
85
- // Text selector helpers
86
- // $headers: "h1,h2,h3,h4,h5,h6";
87
-
88
- // We use these to define default font weights
89
- // $font-weight-normal: normal;
90
- // $font-weight-bold: bold;
91
-
92
- // We use these to control various global styles
93
- // $body-background: #fff;
94
- // $body-font-color: #222;
95
- // $body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
96
- // $body-font-weight: $font-weight-normal;
97
- // $body-font-style: normal;
98
- // $body-antialiased: true;
99
-
100
- // Application Colors
101
- // $primary-color: #00558b;
102
- // $secondary-color: #f1f1f1;
103
- // $alert-color: #F04124;
104
- // $info-color: #A0D3E8;
105
- // $success-color: #43AC6A;
106
- // $warning-color: #F08A24;
107
- // $dark-color: #232323;
108
- // $gray: #dfdfdf;
109
- // $gray-dark: darken($gray, 8);
110
- // $gray-light: lighten($gray, 8);
111
-
112
- // We use these to make sure border radius matches unless we want it different.
113
- // $global-radius: 4px;
114
- // $global-rounded: 1000px;
115
-
116
- // We use this for default spacing
117
- // $global-padding: 1rem;
118
- // $global-spacing: rem-calc(15);
119
-
120
- // 3. Breakpoints
121
- // - - - - - - - - - - - - - - -
122
-
123
- // These are our named breakpoints. You can use them in our breakpoint function like this: @include breakpoint(medium) { // Medium and larger styles }
124
- // $breakpoints: (
125
- // small: rem-calc(0),
126
- // medium: rem-calc(640),
127
- // large: rem-calc(1200),
128
- // xlarge: rem-calc(1440),
129
- // xxlarge: rem-calc(1920),
130
- // );
131
-
132
- // All of the names in this list will be output as classes in your CSS, like small-12, medium-6, and so on.
133
- // $breakpoint-classes: (small medium large);
134
-
135
- // 4. Typography
136
- // - - - - - - - - - - - - - - -
137
-
138
- // We use these to control header font styles
139
- // $header-font-family: $body-font-family;
140
- // $header-font-weight: $font-weight-normal;
141
- // $header-font-style: $font-weight-normal;
142
- // $header-font-color: #222;
143
- // $header-line-height: 1.4;
144
- // $header-top-margin: .2rem;
145
- // $header-bottom-margin: .5rem;
146
- // $header-text-rendering: optimizeLegibility;
147
-
148
- // We use these to control header font sizes
149
- // $h1-font-size: rem-calc(44);
150
- // $h2-font-size: rem-calc(37);
151
- // $h3-font-size: rem-calc(27);
152
- // $h4-font-size: rem-calc(23);
153
- // $h5-font-size: rem-calc(18);
154
- // $h6-font-size: 1rem;
155
-
156
- // We use these to control header size reduction on small screens
157
- // $h1-font-reduction: rem-calc(10);
158
- // $h2-font-reduction: rem-calc(10);
159
- // $h3-font-reduction: rem-calc(5);
160
- // $h4-font-reduction: rem-calc(5);
161
- // $h5-font-reduction: 0;
162
- // $h6-font-reduction: 0;
163
-
164
- // These control how subheaders are styled.
165
- // $subheader-line-height: 1.4;
166
- // $subheader-font-color: scale-color($header-font-color, $lightness: 35%);
167
- // $subheader-font-weight: $font-weight-normal;
168
- // $subheader-top-margin: .2rem;
169
- // $subheader-bottom-margin: .5rem;
170
-
171
- // A general <small> styling
172
- // $small-font-size: 60%;
173
- // $small-font-color: scale-color($header-font-color, $lightness: 35%);
174
-
175
- // We use these to style paragraphs
176
- // $paragraph-font-family: inherit;
177
- // $paragraph-font-weight: $font-weight-normal;
178
- // $paragraph-font-size: 1rem;
179
- // $paragraph-line-height: 1.6;
180
- // $paragraph-margin-bottom: rem-calc(20);
181
- // $paragraph-aside-font-size: rem-calc(14);
182
- // $paragraph-aside-line-height: 1.35;
183
- // $paragraph-aside-font-style: italic;
184
- // $paragraph-text-rendering: optimizeLegibility;
185
-
186
- // We use these to style <code> tags
187
- // $code-color: grayscale($primary-color);
188
- // $code-font-family: Consolas, 'Liberation Mono', Courier, monospace;
189
- // $code-font-weight: $font-weight-normal;
190
- // $code-background-color: scale-color($secondary-color, $lightness: 70%);
191
- // $code-border-size: 1px;
192
- // $code-border-style: solid;
193
- // $code-border-color: scale-color($code-background-color, $lightness: -10%);
194
- // $code-padding: rem-calc(2) rem-calc(5) rem-calc(1);
195
-
196
- // We use these to style anchors
197
- // $anchor-text-decoration: none;
198
- // $anchor-text-decoration-hover: none;
199
- // $anchor-font-color: $primary-color;
200
- // $anchor-font-color-hover: scale-color($anchor-font-color, $lightness: -14%);
201
-
202
- // We use these to style the <hr> element
203
- // $hr-border-width: 1px;
204
- // $hr-border-style: solid;
205
- // $hr-border-color: #ddd;
206
- // $hr-margin: rem-calc(20);
207
-
208
- // We use these to style lists
209
- // $list-font-family: $paragraph-font-family;
210
- // $list-font-size: $paragraph-font-size;
211
- // $list-line-height: $paragraph-line-height;
212
- // $list-margin-bottom: $paragraph-margin-bottom;
213
- // $list-style-position: outside;
214
- // $list-side-margin: 1.1rem;
215
- // $list-ordered-side-margin: 1.4rem;
216
- // $list-side-margin-no-bullet: 0;
217
- // $list-nested-margin: rem-calc(20);
218
- // $definition-list-header-weight: $font-weight-bold;
219
- // $definition-list-header-margin-bottom: .3rem;
220
- // $definition-list-margin-bottom: rem-calc(12);
221
-
222
- // We use these to style blockquotes
223
- // $blockquote-font-color: scale-color($header-font-color, $lightness: 35%);
224
- // $blockquote-padding: rem-calc(9 20 0 19);
225
- // $blockquote-border: 1px solid #ddd;
226
- // $blockquote-cite-font-size: rem-calc(13);
227
- // $blockquote-cite-font-color: scale-color($header-font-color, $lightness: 23%);
228
- // $blockquote-cite-link-color: $blockquote-cite-font-color;
229
-
230
- // Acronym styles
231
- // $acronym-underline: 1px dotted #ddd;
232
-
233
- // 5. Grid
234
- // - - - - - - - - - - - - - - -
235
-
236
- // $container-width: rem-calc(900);
237
- // $block-padding: $global-padding;
238
- // $total-columns: 12;
239
- // $block-grid-max-size: 6;
240
-
241
- // 6. Button
242
- // - - - - - - - - - - - - - - -
243
-
244
- // $button-padding: 0.85em 1em;
245
- // $button-margin: 0 $global-padding $global-padding 0;
246
- // $button-style: solid;
247
- // $button-background: $primary-color;
248
- // $button-background-hover: scale-color($button-background, $lightness: -15%);
249
- // $button-color: auto;
250
- // $button-radius: 0;
251
- // $button-sizes: (
252
- // tiny: 0.7,
253
- // small: 0.8,
254
- // medium: 1,
255
- // large: 1.3,
256
- // );
257
- // $button-font-size: 0.9rem;
258
- // $button-opacity-disabled: 0.5;
259
- // $button-tag-selector: false;
260
-
261
- // 7. Accordion
262
- // - - - - - - - - - - - - - - -
263
-
264
- // $accordion-border: 1px solid $gray-dark;
265
-
266
- // $accordion-title-background: $gray-light;
267
- // $accordion-title-background-hover: smartscale($accordion-title-background, 5%);
268
- // $accordion-title-background-active: smartscale($accordion-title-background, 3%);
269
- // $accordion-title-color: isitlight($accordion-title-background);
270
- // $accordion-title-color-active: isitlight($accordion-title-background);
271
-
272
- // $accordion-title-padding: $global-padding;
273
- // $accordion-content-padding: $global-padding;
274
-
275
- // 8. Action Sheet
276
- // - - - - - - - - - - - - - - -
277
-
278
- // $actionsheet-background: white;
279
- // $actionsheet-border-color: #ccc;
280
- // $actionsheet-animate: transform opacity;
281
- // $actionsheet-animation-speed: 0.25s;
282
- // $actionsheet-width: 300px;
283
- // $actionsheet-radius: 4px;
284
- // $actionsheet-shadow: 0 -3px 10px rgba(black, 0.25);
285
- // $actionsheet-padding: $global-padding;
286
- // $actionsheet-tail-size: 10px;
287
-
288
- // $actionsheet-popup-shadow: 0 0 10px rgba(black, 0.25);
289
-
290
- // $actionsheet-link-color: #000;
291
- // $actionsheet-link-background-hover: smartscale($actionsheet-background);
292
-
293
- // 9. Block List
294
- // - - - - - - - - - - - - - - -
295
-
296
- // $blocklist-background: #fff;
297
- // $blocklist-fullbleed: true;
298
- // $blocklist-fontsize: 1rem;
299
-
300
- // $blocklist-item-padding: 0.8rem 1rem;
301
- // $blocklist-item-color: isitlight($blocklist-background, #000, #fff);
302
- // $blocklist-item-background-hover: smartscale($blocklist-background, 4.5%);
303
- // $blocklist-item-color-disabled: #999;
304
- // $blocklist-item-border: 1px solid smartscale($blocklist-background, 18.5%);
305
-
306
- // $blocklist-item-label-color: scale-color($blocklist-item-color, $lightness: 60%);
307
- // $blocklist-item-icon-size: 0.8;
308
-
309
- // $blocklist-header-fontsize: 0.8em;
310
- // $blocklist-header-color: smartscale($blocklist-item-color, 40%);
311
- // $blocklist-header-uppercase: true;
312
-
313
- // $blocklist-check-icons: true;
314
-
315
- // 10. Button Group
316
- // - - - - - - - - - - - - - - -
317
-
318
- // $btngroup-background: $primary-color;
319
- // $btngroup-color: #fff;
320
- // $btngroup-radius: $button-radius;
321
-
322
- // 11. Card
323
- // - - - - - - - - - - - - - - -
324
-
325
- // $card-background: #fff;
326
- // $card-color: isitlight($card-background);
327
- // $card-border: 1px solid smartscale($card-background, 7%);
328
- // $card-radius: $global-radius;
329
- // $card-shadow: 0 1px 2px rgba(#000, 0.2);
330
- // $card-padding: $global-padding;
331
- // $card-margin: 0.5rem;
332
-
333
- // $card-divider-background: smartscale($card-background, 7%);
334
-
335
- // 12. Extras
336
- // - - - - - - - - - - - - - - -
337
-
338
- // $closebutton-position: (top right);
339
- // $closebutton-size: 2em;
340
- // $closebutton-lineheight: 0.5;
341
- // $closebutton-color: #999;
342
- // $closebutton-color-hover: #333;
343
-
344
- // $thumbnail-padding: 0.5rem;
345
- // $thumbnail-shadow: 0 3px 15px rgba(black, 0.25);
346
-
347
- // 13. Forms
348
- // - - - - - - - - - - - - - - -
349
-
350
- // Basic form variables
351
- // $form-fontsize: 1rem;
352
- // $form-padding: 0.5rem;
353
-
354
- // Text fields
355
- // $input-color: #000;
356
- // $input-color-hover: $input-color;
357
- // $input-color-focus: $input-color;
358
- // $input-background: #fff;
359
- // $input-background-hover: $input-background;
360
- // $input-background-focus: $input-background;
361
- // $input-background-disabled: smartscale($input-background);
362
- // $input-border: 1px solid #ccc;
363
- // $input-border-hover: 1px solid #bbb;
364
- // $input-border-focus: 1px solid #999;
365
- // $input-cursor-disabled: not-allowed;
366
-
367
- // Select menus
368
- // $select-color: #000;
369
- // $select-background: #fafafa;
370
- // $select-background-hover: smartscale($select-background, 4%);
371
- // $select-arrow: true;
372
- // $select-arrow-color: $select-color;
373
-
374
- // Labels
375
- // $form-label-fontsize: 0.9rem;
376
- // $form-label-margin: 0.5rem;
377
- // $form-label-color: #333;
378
-
379
- // Inline labels
380
- // $inlinelabel-color: #333;
381
- // $inlinelabel-background: #eee;
382
- // $inlinelabel-border: $input-border;
383
-
384
- // Range slider
385
- // $slider-background: #ddd;
386
- // $slider-height: 1rem;
387
- // $slider-radius: 0px;
388
- // $slider-thumb-height: 1.5rem;
389
- // $slider-thumb-color: $primary-color;
390
- // $slider-thumb-radius: 0px;
391
-
392
- // Progress and meter
393
- // $meter-height: 1.5rem;
394
- // $meter-background: #ccc;
395
- // $meter-fill: $primary-color;
396
- // $meter-fill-high: $success-color;
397
- // $meter-fill-medium: #e7cf00;
398
- // $meter-fill-low: $alert-color;
399
- // $meter-radius: 0;
400
-
401
- // 14. Iconic
402
- // - - - - - - - - - - - - - - -
403
-
404
- // $iconic-primary-fill: $primary-color;
405
- // $iconic-primary-stroke: $primary-color;
406
- // $iconic-accent-fill: $iconic-primary-fill;
407
- // $iconic-accent-stroke: $iconic-accent-fill;
408
-
409
- // 15. Label
410
- // - - - - - - - - - - - - - - -
411
-
412
- // $label-fontsize: 0.8rem;
413
- // $label-padding: ($global-padding / 3) ($global-padding / 2);
414
- // $label-radius: 0;
415
- // $label-background: $primary-color;
416
- // $label-color: isitlight($primary-color);
417
-
418
- // $badge-fontsize: 0.8em;
419
- // $badge-diameter: 1.5rem;
420
- // $badge-background: $primary-color;
421
- // $badge-color: #fff;
422
-
423
- // 16. Menu Bar
424
- // - - - - - - - - - - - - - - -
425
-
426
- // $menubar-fontsize: 1rem;
427
- // $menubar-background: #fff;
428
- // $menubar-background-hover: smartscale($menubar-background, 7%);
429
- // $menubar-background-active: $menubar-background-hover;
430
- // $menubar-color: isitlight($menubar-background);
431
- // $menubar-color-hover: $menubar-color;
432
- // $menubar-color-active: $menubar-color-hover;
433
-
434
- // $menubar-item-padding: $global-padding;
435
- // $menubar-icon-size: 25px;
436
- // $menubar-icon-spacing: $menubar-item-padding;
437
-
438
- // 17. Modal
439
- // - - - - - - - - - - - - - - -
440
-
441
- // $modal-background: #fff;
442
- // $modal-border: 0;
443
- // $modal-radius: 0px;
444
- // $modal-shadow: none;
445
- // $modal-zindex: 1000;
446
- // $modal-sizes: (
447
- // tiny: 300px,
448
- // small: 500px,
449
- // medium: 600px,
450
- // large: 800px,
451
- // );
452
-
453
- // $modal-overlay-class: 'modal-overlay';
454
- // $modal-overlay-background: rgba(#333, 0.7);
455
-
456
- // 18. Motion UI
457
- // - - - - - - - - - - - - - - -
458
-
459
- // Classes to use when triggering in/out animations
460
- // $motion-class: (
461
- // in: "ng-enter",
462
- // out: "ng-leave",
463
- // );
464
- // $motion-class-active: (
465
- // in: "ng-enter-active",
466
- // out: "ng-leave-active",
467
- // );
468
- // $motion-class-stagger: (
469
- // in: "ng-enter-stagger",
470
- // out: "ng-leave-stagger",
471
- // );
472
- // $motion-class-showhide: (
473
- // in: "ng-hide-remove",
474
- // out: "ng-hide-add",
475
- // );
476
- // $motion-class-showhide-active: (
477
- // in: "ng-hide-remove-active",
478
- // out: "ng-hide-add-active",
479
- // );
480
-
481
- // Set if movement-based transitions should also fade the element in and out
482
- // $motion-slide-and-fade: false;
483
- // $motion-hinge-and-fade: true;
484
- // $motion-scale-and-fade: true;
485
- // $motion-spin-and-fade: true;
486
-
487
- // Default speed for transitions and animations
488
- // $motion-duration-default: 500ms;
489
-
490
- // Slow and fast modifiders
491
- // $motion-duration-slow: 750ms;
492
- // $motion-duration-fast: 250ms;
493
- // $motion-stagger-duration-default: 150ms;
494
- // $motion-stagger-duration-short: 50ms;
495
- // $motion-stagger-duration-long: 300ms;
496
-
497
- // Default timing function for transitions and animations
498
- // $motion-timing-default: ease;
499
-
500
- // Built-in and custom easing functions
501
- // Every item in this map becomes a CSS class
502
- // $motion-timings: (
503
- // linear: linear,
504
- // ease: ease,
505
- // easeIn: ease-in,
506
- // easeOut: ease-out,
507
- // easeInOut: ease-in-out,
508
- // bounceIn: cubic-bezier(0.485, 0.155, 0.240, 1.245),
509
- // bounceOut: cubic-bezier(0.485, 0.155, 0.515, 0.845),
510
- // bounceInOut: cubic-bezier(0.760, -0.245, 0.240, 1.245),
511
- // );
512
-
513
- // Default delay for all transitions and animations
514
- // $motion-delay-default: 0;
515
- // Short and long delay modifiers
516
- // $motion-delay-short: 300ms;
517
- // $motion-delay-long: 700ms;
518
-
519
- // 19. Notification
520
- // - - - - - - - - - - - - - - -
521
-
522
- // $notification-default-position: right top;
523
- // $notification-width: rem-calc(400);
524
- // $notification-offset: $global-padding;
525
-
526
- // $notification-background: $primary-color;
527
- // $notification-color: white;
528
- // $notification-padding: $global-padding;
529
- // $notification-radius: 4px;
530
-
531
- // $notification-icon-size: 60px;
532
- // $notification-icon-margin: $global-padding;
533
- // $notification-icon-align: top;
534
-
535
-
536
- // 20. Off-canvas
537
- // - - - - - - - - - - - - - - -
538
-
539
- // $offcanvas-size-horizontal: 250px;
540
- // $offcanvas-size-vertical: 250px;
541
-
542
- // $offcanvas-background: #fff;
543
- // $offcanvas-color: isitlight($offcanvas-background);
544
- // $offcanvas-padding: 0;
545
- // $offcanvas-shadow: 3px 0 10px rgba(black, 0.25);
546
- // $offcanvas-animation-speed: 0.25s;
547
-
548
- // $offcanvas-frame-selector: '.grid-frame';
549
-
550
- // 21. Panel
551
- // - - - - - - - - - - - - - - -
552
-
553
- // $panel-size-horizontal: 300px;
554
- // $panel-size-vertical: 300px;
555
- // $panel-padding: 0;
556
-
557
- // $panel-background: #fff;
558
- // $panel-shadow: 3px 0 10px rgba(black, 0.25);
559
-
560
- // DEPRECATED: these variables will be removed in a future version.
561
- // $panel-animation-speed: 0.25s;
562
-
563
- // 22. Popup
564
- // - - - - - - - - - - - - - - -
565
-
566
- // $popup-width: rem-calc(300);
567
- // $popup-background: #fff;
568
- // $popup-border: 0;
569
- // $popup-radius: 0;
570
- // $popup-shadow: 0 0 10px rgba(#000, 0.25);
571
-
572
- // 23. Switch
573
- // - - - - - - - - - - - - - - -
574
-
575
- // $switch-width: rem-calc(50);
576
- // $switch-height: rem-calc(32);
577
- // $switch-background: #ccc;
578
- // $switch-background-active: $primary-color;
579
- // $switch-border: 0;
580
- // $switch-radius: 9999px;
581
- // $switch-animation-speed: 0.15s;
582
-
583
- // $switch-paddle-color: white;
584
- // $switch-paddle-offset: 4px;
585
-
586
- // 24. Tabs
587
- // - - - - - - - - - - - - - - -
588
-
589
- // $tabstrip-background: transparent;
590
-
591
- // $tab-title-background: $gray-light;
592
- // $tab-title-background-hover: smartscale($tab-title-background, 5%);
593
- // $tab-title-background-active: smartscale($tab-title-background, 3%);
594
- // $tab-title-color: isitlight($tab-title-background);
595
- // $tab-title-color-active: $tab-title-color;
596
-
597
- // $tab-title-padding: $global-padding;
598
- // $tab-content-padding: $global-padding;
599
-
600
- // 25. Title Bar
601
- // - - - - - - - - - - - - - - -
602
-
603
- // $titlebar-center-width: 50%;
604
- // $titlebar-side-width: (100% - $titlebar-center-width) / 2;
605
- // $titlebar-background: #eee;
606
- // $titlebar-color: #000;
607
- // $titlebar-border: 1px solid #ccc;
608
- // $titlebar-padding: $global-padding;
609
- // $titlebar-item-classes: (
610
- // center: 'center',
611
- // left: 'left',
612
- // right: 'right',
613
- // title: 'title',
614
- // );
@@ -1,72 +0,0 @@
1
- /*
2
- ACCORDION
3
- ---------
4
-
5
- The trusy accordion allows you to create a series of vertical tabs.
6
- */
7
-
8
- /// @Foundation.settings
9
- // Accordion
10
- $accordion-border: 1px solid $gray-dark !default;
11
-
12
- $accordion-title-background: $gray-light !default;
13
- $accordion-title-background-hover: smartscale($accordion-title-background, 5%) !default;
14
- $accordion-title-background-active: smartscale($accordion-title-background, 3%) !default;
15
- $accordion-title-color: isitlight($accordion-title-background) !default;
16
- $accordion-title-color-active: isitlight($accordion-title-background) !default;
17
-
18
- $accordion-title-padding: $global-padding !default;
19
- $accordion-content-padding: $global-padding !default;
20
- ///
21
-
22
- @mixin accordion-title(
23
- $background: $accordion-title-background,
24
- $background-hover: $accordion-title-background-hover,
25
- $background-active: $accordion-title-background-active,
26
- $color: $accordion-title-color,
27
- $color-active: $accordion-title-color-active,
28
- $padding: $accordion-title-padding
29
- ) {
30
- padding: $padding;
31
- background: $background;
32
- color: $color;
33
- line-height: 1;
34
- cursor: pointer;
35
-
36
- &:hover {
37
- background: $background-hover;
38
- }
39
-
40
- .is-active > & {
41
- background: $background-active;
42
- color: $color-active;
43
- }
44
- }
45
-
46
- @mixin accordion-content(
47
- $padding: $accordion-content-padding
48
- ) {
49
- padding: $padding;
50
-
51
- display: none;
52
- .is-active > & {
53
- display: block;
54
- }
55
- }
56
-
57
- @include exports(accordion) {
58
- .accordion {
59
- @if hasvalue($accordion-border) {
60
- border: $accordion-border;
61
- }
62
- }
63
- .accordion-item {
64
-
65
- }
66
- .accordion-title {
67
- @include accordion-title;
68
- }
69
- .accordion-content {
70
- @include accordion-content;
71
- }
72
- }