spina 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of spina might be problematic. Click here for more details.

Files changed (183) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +16 -4
  3. data/app/assets/fonts/spina/ics_spina.eot +0 -0
  4. data/app/assets/fonts/spina/ics_spina.svg +356 -0
  5. data/app/assets/fonts/spina/ics_spina.ttf +0 -0
  6. data/app/assets/fonts/spina/ics_spina.woff +0 -0
  7. data/app/assets/icons/spina/barchart.svg +10 -0
  8. data/app/assets/icons/spina/bars.svg +1 -0
  9. data/app/assets/icons/spina/bold.svg +1 -0
  10. data/app/assets/icons/spina/brush.svg +10 -0
  11. data/app/assets/icons/spina/camera.svg +10 -0
  12. data/app/assets/icons/spina/caret-down.svg +1 -0
  13. data/app/assets/icons/spina/caret-left.svg +1 -0
  14. data/app/assets/icons/spina/caret-right.svg +1 -0
  15. data/app/assets/icons/spina/caret-up.svg +1 -0
  16. data/app/assets/icons/spina/cart.svg +10 -0
  17. data/app/assets/icons/spina/chart-outline.svg +10 -0
  18. data/app/assets/icons/spina/check.svg +10 -0
  19. data/app/assets/icons/spina/chevron-down.svg +1 -0
  20. data/app/assets/icons/spina/chevron-left.svg +1 -0
  21. data/app/assets/icons/spina/chevron-right.svg +1 -0
  22. data/app/assets/icons/spina/chevron-up.svg +1 -0
  23. data/app/assets/icons/spina/code.svg +1 -0
  24. data/app/assets/icons/spina/cog-outline.svg +10 -0
  25. data/app/assets/icons/spina/cog.svg +10 -0
  26. data/app/assets/icons/spina/comment.svg +1 -0
  27. data/app/assets/icons/spina/cross.svg +10 -0
  28. data/app/assets/icons/spina/customer-outline.svg +10 -0
  29. data/app/assets/icons/spina/document.svg +10 -0
  30. data/app/assets/icons/spina/dots.svg +10 -0
  31. data/app/assets/icons/spina/exclamation.svg +13 -0
  32. data/app/assets/icons/spina/eye.svg +1 -0
  33. data/app/assets/icons/spina/filter.svg +10 -0
  34. data/app/assets/icons/spina/home.svg +1 -0
  35. data/app/assets/icons/spina/image.svg +10 -0
  36. data/app/assets/icons/spina/inbox-outline.svg +10 -0
  37. data/app/assets/icons/spina/info.svg +13 -0
  38. data/app/assets/icons/spina/italic.svg +1 -0
  39. data/app/assets/icons/spina/large-check.svg +10 -0
  40. data/app/assets/icons/spina/link.svg +1 -0
  41. data/app/assets/icons/spina/list-ul.svg +1 -0
  42. data/app/assets/icons/spina/mail-outline.svg +10 -0
  43. data/app/assets/icons/spina/mail.svg +10 -0
  44. data/app/assets/icons/spina/media-library.svg +10 -0
  45. data/app/assets/icons/spina/megaphone.svg +10 -0
  46. data/app/assets/icons/spina/min.svg +14 -0
  47. data/app/assets/icons/spina/pages.svg +10 -0
  48. data/app/assets/icons/spina/pencil-outline.svg +10 -0
  49. data/app/assets/icons/spina/pencil.svg +16 -0
  50. data/app/assets/icons/spina/picture-o.svg +1 -0
  51. data/app/assets/icons/spina/plus.svg +10 -0
  52. data/app/assets/icons/spina/power-off.svg +10 -0
  53. data/app/assets/icons/spina/preview/icons_spina-preview.html +1043 -0
  54. data/app/assets/icons/spina/preview/ics_spina-preview.html +1043 -0
  55. data/app/assets/icons/spina/preview.svg +10 -0
  56. data/app/assets/icons/spina/product-outline.svg +10 -0
  57. data/app/assets/icons/spina/random.svg +10 -0
  58. data/app/assets/icons/spina/refresh.svg +13 -0
  59. data/app/assets/icons/spina/search.svg +10 -0
  60. data/app/assets/icons/spina/shop.svg +12 -0
  61. data/app/assets/icons/spina/social-outline.svg +10 -0
  62. data/app/assets/icons/spina/trash.svg +10 -0
  63. data/app/assets/icons/spina/upload-outline.svg +14 -0
  64. data/app/assets/icons/spina/users-outline.svg +10 -0
  65. data/app/assets/images/spina/arrow-left.png +0 -0
  66. data/app/assets/images/spina/arrow-right.png +0 -0
  67. data/app/assets/images/spina/danger-zone-ribbon.png +0 -0
  68. data/app/assets/images/spina/datepicker.png +0 -0
  69. data/app/assets/images/spina/divider.png +0 -0
  70. data/app/assets/images/spina/marker.png +0 -0
  71. data/app/assets/images/spina/mask.png +0 -0
  72. data/app/assets/images/spina/spina.png +0 -0
  73. data/app/assets/images/spina/spina_small.png +0 -0
  74. data/app/assets/images/spina/wheel.png +0 -0
  75. data/app/assets/javascripts/spina/admin/{account.js.coffee → account.coffee} +0 -0
  76. data/app/assets/javascripts/spina/admin/application.coffee.erb +152 -0
  77. data/app/assets/javascripts/spina/admin/{confirm_delete.js.coffee.erb → confirm_delete.coffee.erb} +0 -0
  78. data/app/assets/javascripts/spina/admin/dropdown.coffee +75 -0
  79. data/app/assets/javascripts/spina/admin/forms.coffee +7 -0
  80. data/app/assets/javascripts/spina/admin/galleryselect.coffee +20 -0
  81. data/app/assets/javascripts/spina/admin/{spina.infinite_scroll.coffee → infinite_scroll.coffee} +1 -0
  82. data/app/assets/javascripts/spina/admin/modal.coffee +54 -0
  83. data/app/assets/javascripts/spina/admin/navigation.coffee +38 -0
  84. data/app/assets/javascripts/spina/admin/notifications.coffee +7 -0
  85. data/app/assets/javascripts/spina/admin/{pages.js.coffee.erb → pages.coffee.erb} +11 -2
  86. data/app/assets/javascripts/spina/admin/switch.coffee +43 -0
  87. data/app/assets/javascripts/spina/admin/tabs.coffee +13 -0
  88. data/app/assets/javascripts/spina/admin/{spina.trix.js.coffee.erb → trix.coffee.erb} +26 -25
  89. data/app/assets/javascripts/spina/admin/uploads.coffee +35 -0
  90. data/app/assets/stylesheets/spina/_admin_editing.sass +25 -0
  91. data/app/assets/stylesheets/spina/_buttons.sass +367 -0
  92. data/app/assets/stylesheets/spina/_cards.sass +54 -0
  93. data/app/assets/stylesheets/spina/_configuration.sass +15 -0
  94. data/app/assets/stylesheets/spina/_custom_animations.sass +61 -0
  95. data/app/assets/stylesheets/spina/_farbtastic.sass +37 -0
  96. data/app/assets/stylesheets/spina/_fonts.sass +18 -0
  97. data/app/assets/stylesheets/spina/_forms.sass +806 -0
  98. data/app/assets/stylesheets/spina/_gallery.sass +249 -0
  99. data/app/assets/stylesheets/spina/_ics_spina.scss +60 -0
  100. data/app/assets/stylesheets/spina/_labels.sass +30 -0
  101. data/app/assets/stylesheets/spina/_login.sass +46 -0
  102. data/app/assets/stylesheets/spina/_modal.sass +162 -0
  103. data/app/assets/stylesheets/spina/_notifications.sass +62 -0
  104. data/app/assets/stylesheets/spina/_sortable_lists.sass +177 -0
  105. data/app/assets/stylesheets/spina/_tables.sass +301 -0
  106. data/app/assets/stylesheets/spina/_trix.sass +99 -0
  107. data/app/assets/stylesheets/spina/_wizard.sass +122 -0
  108. data/app/assets/stylesheets/spina/_wysihtml5.sass +79 -0
  109. data/app/assets/stylesheets/spina/application.sass +0 -1
  110. data/app/assets/stylesheets/spina/wysihtml5_textarea.sass +14 -0
  111. data/app/assets/stylesheets/spina.sass +564 -0
  112. data/app/controllers/concerns/spina/frontend.rb +59 -0
  113. data/app/controllers/spina/admin/navigations_controller.rb +60 -0
  114. data/app/controllers/spina/admin/pages_controller.rb +7 -6
  115. data/app/controllers/spina/admin/photos_controller.rb +18 -7
  116. data/app/controllers/spina/application_controller.rb +2 -2
  117. data/app/controllers/spina/pages_controller.rb +4 -49
  118. data/app/helpers/spina/admin/pages_helper.rb +12 -7
  119. data/app/helpers/spina/application_helper.rb +0 -29
  120. data/app/models/concerns/spina/part.rb +1 -1
  121. data/app/models/spina/navigation.rb +11 -0
  122. data/app/models/spina/navigation_item.rb +17 -0
  123. data/app/models/spina/page.rb +11 -0
  124. data/app/models/spina/page_part.rb +1 -1
  125. data/app/models/spina/photo_collection.rb +6 -1
  126. data/app/models/spina/structure.rb +4 -0
  127. data/app/models/spina/structure_item.rb +5 -1
  128. data/app/models/spina/structure_part.rb +16 -3
  129. data/app/views/layouts/spina/admin/admin.html.haml +8 -1
  130. data/app/views/layouts/spina/admin/pages.html.haml +30 -0
  131. data/app/views/spina/admin/accounts/_form.html.haml +1 -1
  132. data/app/views/spina/admin/accounts/analytics.html.haml +1 -1
  133. data/app/views/spina/admin/accounts/social.html.haml +1 -1
  134. data/app/views/spina/admin/accounts/style.html.haml +1 -1
  135. data/app/views/spina/admin/navigations/_navigation_item_nested_list.html.haml +7 -0
  136. data/app/views/spina/admin/navigations/_page.html.haml +8 -0
  137. data/app/views/spina/admin/navigations/edit.html.haml +22 -0
  138. data/app/views/spina/admin/navigations/show.html.haml +7 -0
  139. data/app/views/spina/admin/page_partables/attachment_collections/_form.html.haml +1 -1
  140. data/app/views/spina/admin/page_partables/attachments/_form.html.haml +1 -1
  141. data/app/views/spina/admin/page_partables/photo_collections/_form.html.haml +1 -1
  142. data/app/views/spina/admin/page_partables/photos/_form.html.haml +1 -1
  143. data/app/views/spina/admin/page_partables/structures/_form.html.haml +1 -1
  144. data/app/views/spina/admin/pages/_form.html.haml +12 -5
  145. data/app/views/spina/admin/pages/_page.html.haml +12 -18
  146. data/app/views/spina/admin/pages/_page_nested_list.html.haml +7 -0
  147. data/app/views/spina/admin/pages/create.js.coffee +0 -0
  148. data/app/views/spina/admin/pages/index.html.haml +24 -42
  149. data/app/views/spina/admin/pages/update.js.coffee +1 -3
  150. data/app/views/spina/admin/photos/_photo.html.haml +2 -0
  151. data/app/views/spina/admin/photos/_photo_collection_select.html.haml +1 -1
  152. data/app/views/spina/admin/photos/_photo_select.html.haml +2 -2
  153. data/app/views/spina/admin/photos/_wysihtml5_select.html.haml +1 -1
  154. data/app/views/spina/admin/photos/create_multiple.js.erb +4 -0
  155. data/app/views/spina/admin/photos/index.html.haml +1 -1
  156. data/app/views/spina/admin/photos/single_picker_infinite_scroll.js.erb +1 -1
  157. data/app/views/spina/admin/sessions/new.html.haml +8 -5
  158. data/app/views/spina/admin/shared/_notifications.html.haml +3 -1
  159. data/app/views/spina/admin/shared/_primary_navigation.html.haml +4 -3
  160. data/app/views/spina/admin/shared/_rich_text_field.html.haml +16 -16
  161. data/app/views/spina/admin/structure_items/_fields.html.haml +7 -8
  162. data/app/views/spina/admin/structure_partables/photo_collections/_form.html.haml +14 -0
  163. data/app/views/spina/admin/structure_partables/photos/_form.html.haml +1 -1
  164. data/app/views/spina/shared/_google_site_verification.html.haml +1 -0
  165. data/config/fontcustom.yml +95 -0
  166. data/config/locales/en.yml +11 -0
  167. data/config/locales/nl.yml +13 -3
  168. data/config/locales/pt-BR.yml +11 -1
  169. data/config/routes.rb +14 -8
  170. data/db/migrate/1_create_spina_tables.rb +0 -7
  171. data/db/migrate/2_create_spina_translation_tables.rb +26 -7
  172. data/db/migrate/3_create_spina_navigations.rb +21 -0
  173. data/lib/generators/spina/templates/config/initializers/carrierwave.rb +1 -1
  174. data/lib/spina/engine.rb +1 -2
  175. data/lib/spina/fontcustom/_ics_spina.scss +5 -0
  176. data/lib/spina/version.rb +1 -1
  177. data/lib/spina.rb +3 -1
  178. metadata +146 -45
  179. data/app/assets/images/spina/admin/logo@2x.png +0 -0
  180. data/app/assets/javascripts/spina/admin/application.js +0 -10
  181. data/app/assets/javascripts/spina/admin/spina.scaffold.coffee +0 -15
  182. data/app/assets/javascripts/spina/application.js +0 -15
  183. data/app/assets/stylesheets/spina/_mixins.scss +0 -34
@@ -0,0 +1,177 @@
1
+ // Sortable lists
2
+
3
+ .dd
4
+ margin: -20px
5
+ overflow: hidden
6
+ position: relative
7
+
8
+ & > .dd-list > .dd-item:first-child
9
+ border-top: none
10
+
11
+ .dd-item-inner.dd-handle
12
+ cursor: move
13
+
14
+ .dd-item-inner .sortable-link
15
+ @include transform(translateX(-26px))
16
+ @include transition(all .2s ease)
17
+
18
+ .dd-item-inner.dd-handle .sortable-link
19
+ @include transform(translateX(0))
20
+
21
+ .dd-item-inner:before
22
+ @extend .icon, .icon-bars
23
+ color: #ccc
24
+ display: inline-block
25
+ height: 18px
26
+ opacity: 0
27
+ vertical-align: middle
28
+ width: 26px
29
+ @include transform(translateX(-26px))
30
+ @include transition(all .2s ease)
31
+
32
+ .dd-item-inner.dd-handle:before
33
+ opacity: 1
34
+ @include transform(translateX(0))
35
+
36
+ .dd-list
37
+ list-style: none
38
+ margin: 0
39
+ padding: 0
40
+ position: relative
41
+
42
+ .dd-placeholder
43
+ position: relative
44
+
45
+ &:after
46
+ border: 1px dashed #ddd
47
+ box-sizing: border-box
48
+ content: " "
49
+ display: block
50
+ height: 100%
51
+ margin-left: 0px
52
+ top: 0px
53
+ width: 100%
54
+
55
+ .dd-list
56
+ background: tint(#f5f5fa, 50%)
57
+ border-top: 1px solid #ddd
58
+
59
+ .dd-placeholder
60
+ background: tint(#f5f5fa, 50%)
61
+
62
+ &:after
63
+ margin-left: 40px
64
+
65
+ .dd-item:last-child
66
+ border-bottom: none
67
+
68
+ .dd-item
69
+ padding-left: 20px
70
+
71
+ .dd-list
72
+ background: tint(#f5f5fa, 0%)
73
+ margin-left: -20px
74
+
75
+ .dd-item
76
+ padding-left: 60px
77
+
78
+ .dd-placeholder
79
+ background: tint(#f5f5fa, 0%)
80
+
81
+ &:after
82
+ margin-left: 90px
83
+
84
+ .dd-collapsed .dd-list
85
+ display: none
86
+
87
+ .dd-item
88
+ border-bottom: 1px solid #ddd
89
+
90
+ .dd-item, .dd-empty, .dd-placeholder
91
+ margin: 0
92
+ padding: 0
93
+ position: relative
94
+
95
+ .dd-placeholder, .dd-empty
96
+ background: #fcfcfc
97
+ box-sizing: border-box
98
+ margin: 0
99
+ padding: 0
100
+
101
+ .dd-empty
102
+ background: blue
103
+ min-height: 100px
104
+
105
+ .dd-item-inner
106
+ padding: 10px 20px
107
+ text-decoration: none
108
+
109
+ a
110
+ margin: 0
111
+
112
+ a.sortable-link, a.sortable-link:hover
113
+ color: $primary-color
114
+ font-size: 13px
115
+ font-weight: 600
116
+ padding-left: 0
117
+
118
+ small
119
+ font-size: 13px
120
+ font-weight: 400
121
+ margin-left: 13px
122
+
123
+ .pull-right a
124
+ opacity: 0
125
+ @include transform(translateX(50px))
126
+ @include transition(all .4s ease)
127
+
128
+ &:hover .pull-right a
129
+ opacity: 1
130
+ @include transform(translateX(10px))
131
+
132
+ .dd-dragel
133
+ pointer-events: none
134
+ position: absolute
135
+ z-index: 9999
136
+
137
+ & > .dd-item .dd-handle
138
+ margin-top: 0
139
+
140
+ .dd-item > button
141
+ background: transparent
142
+ border: 0
143
+ cursor: pointer
144
+ display: none
145
+ float: left
146
+ font-size: 9px
147
+ height: 52px
148
+ line-height: 52px
149
+ overflow: hidden
150
+ margin-left: 10px
151
+ padding: 0
152
+ position: relative
153
+ text-align: center
154
+ text-indent: 100%
155
+ white-space: nowrap
156
+ width: 30px
157
+ z-index: 1
158
+
159
+ &:before
160
+ @extend .icon, .icon-plus
161
+ color: $primary-color
162
+ display: block
163
+ line-height: 52px !important
164
+ position: absolute
165
+ text-align: center
166
+ text-indent: 0
167
+ width: 100%
168
+
169
+ &[data-action="collapse"]:before
170
+ @extend .icon, .icon-min
171
+ color: $primary-color
172
+ display: block
173
+ line-height: 52px !important
174
+ position: absolute
175
+ text-align: center
176
+ text-indent: 0
177
+ width: 100%
@@ -0,0 +1,301 @@
1
+ // Tables
2
+
3
+ .table-container
4
+ margin: 0 -40px
5
+
6
+ tbody
7
+ tr
8
+ background: #fff
9
+
10
+ table.table tr td:first-child, table.table tr th:first-child
11
+ padding-left: 40px
12
+
13
+ table.table tr td:last-child, table.table tr th:last-child
14
+ padding-right: 40px
15
+
16
+ .modal .table-container
17
+ margin: 0 -20px
18
+
19
+ table.table tr td:first-child, table.table tr th:first-child
20
+ padding-left: 20px
21
+
22
+ table.table tr td:last-child, table.table tr th:last-child
23
+ padding-right: 20px
24
+
25
+ table.table
26
+ color: #333
27
+ font-size: 14px
28
+ line-height: 18px
29
+ margin: 20px 0
30
+ width: 100%
31
+
32
+ thead tr, tbody tr
33
+ border-bottom: 1px solid #eee
34
+
35
+ tbody tr:last-child
36
+ border: none
37
+
38
+ thead th
39
+ color: #333
40
+ font-weight: 600
41
+ outline: none
42
+ padding: 12px 12px
43
+ text-align: left
44
+
45
+ tbody td, tbody th
46
+ padding: 14px 12px
47
+ text-align: left
48
+
49
+ thead th, tbody td, tbody th
50
+ &.text-right
51
+ text-align: right
52
+
53
+ th.nowrap, td.nowrap
54
+ white-space: nowrap
55
+
56
+ small
57
+ color: #666
58
+ display: block
59
+ font-size: 13px
60
+ font-weight: normal
61
+
62
+ td .button
63
+ margin-bottom: 0
64
+
65
+ td.align-center
66
+ text-align: center
67
+
68
+ td.align-left
69
+ text-align: left
70
+
71
+ td.align-right, th.align-right
72
+ text-align: right
73
+
74
+ a.table-link
75
+ display: block
76
+ margin: -10px 0
77
+ padding: 10px 0
78
+
79
+ th .table-sort
80
+ border-radius: 3px 3px 0 0
81
+ color: #333
82
+ display: block
83
+ margin: -12px -16px -13px -16px
84
+ padding: 13px 16px 12px 16px
85
+
86
+ th .table-column-sorted
87
+ background: #fff
88
+ border: 1px solid #eee
89
+ border-bottom: 1px solid #fff
90
+ padding: 13px 15px 12px 15px
91
+ position: relative
92
+
93
+ &:after
94
+ font-size: 16px
95
+ position: absolute
96
+ right: 10px
97
+ @extend .icon, .icon-caret-up:before
98
+
99
+ &.table-column-sorted-desc:after
100
+ @extend .icon-caret-down:before
101
+
102
+ th.text-right .table-column-sorted
103
+ text-align: left
104
+
105
+ // Table form
106
+
107
+ table.table.table-form
108
+ tr td:first-child
109
+ font-weight: 600
110
+ width: 240px
111
+
112
+ thead tr, tbody tr
113
+ border-bottom: none !important
114
+
115
+ td .image
116
+ border-radius: 3px
117
+ display: inline-block
118
+ height: 120px
119
+ overflow: hidden
120
+ width: 120px
121
+
122
+ img
123
+ display: block
124
+ height: 100%
125
+ width: 100%
126
+
127
+ td .attachment
128
+ display: inline-block
129
+ margin: 10px 25px 10px 0
130
+
131
+ &:before
132
+ content: "S"
133
+ font-family: $icon-font
134
+ font-size: 28px
135
+ margin-right: 10px
136
+ vertical-align: middle
137
+
138
+ // Progress bars
139
+ .progress
140
+ position: relative
141
+
142
+ .progress-bar
143
+ border: 1px solid #9f9f9f
144
+ border-radius: 6px
145
+ height: 12px
146
+ overflow: hidden
147
+ position: relative
148
+ @include display(flex)
149
+ @include transition(all .2s ease)
150
+
151
+ .progress-bar-divider
152
+ border-left: 1px solid #9f9f9f
153
+ height: 10px
154
+ opacity: .5
155
+ position: relative
156
+ @include flex(1)
157
+
158
+ &:first-child
159
+ border: none
160
+
161
+ .progress-bar-inner
162
+ background: #cdcdcd
163
+ height: 10px
164
+ left: 0
165
+ position: absolute
166
+ top: 0
167
+
168
+ .progress-label
169
+ color: #838383
170
+ display: block
171
+ font-weight: 700
172
+ font-size: 10px
173
+ left: 0
174
+ letter-spacing: 1px
175
+ line-height: 10px
176
+ opacity: 0
177
+ position: absolute
178
+ text-align: center
179
+ text-transform: uppercase
180
+ top: 2px
181
+ width: 100%
182
+ @include transition(all .2s ease)
183
+
184
+ tr:hover .progress
185
+ .progress-bar
186
+ @include transform(translateY(-6px))
187
+
188
+ .progress-label
189
+ opacity: 1
190
+ @include transform(translateY(9px))
191
+
192
+ .progress-bar-primary
193
+ & .progress-bar
194
+ border-color: tint($primary-color, 20%)
195
+
196
+ & .progress-bar-divider
197
+ border-color: tint($primary-color, 20%)
198
+
199
+ & .progress-bar-inner
200
+ background: tint($primary-color, 60%)
201
+
202
+ & .progress-label
203
+ color: tint($primary-color, 20%)
204
+
205
+ .progress-bar-success
206
+ & .progress-bar
207
+ border-color: $success-color
208
+
209
+ & .progress-bar-divider
210
+ border-color: $success-color
211
+
212
+ & .progress-bar-inner
213
+ background: tint($success-color, 60%)
214
+
215
+ & .progress-label
216
+ color: $success-color
217
+
218
+ .progress-bar-danger
219
+ & .progress-bar
220
+ border-color: $danger-color
221
+
222
+ & .progress-bar-divider
223
+ border-color: $danger-color
224
+
225
+ & .progress-bar-inner
226
+ background: tint($danger-color, 60%)
227
+
228
+ & .progress-label
229
+ color: $danger-color
230
+
231
+ // Clickable tables
232
+
233
+ .table-clickable
234
+ tbody tr
235
+ @include transition(background .1s ease)
236
+
237
+ tbody tr:hover
238
+ background: #f5f5fa
239
+
240
+ tbody tr, tbody tr input[type="checkbox"], tbody tr input[type="radio"]
241
+ cursor: pointer
242
+
243
+ // Datatables
244
+
245
+ .dataTables_filter
246
+ display: none
247
+
248
+ .table-container > .search-input
249
+ margin-right: 40px
250
+
251
+ .dataTables_info
252
+ color: #666
253
+ display: inline-block
254
+ font-size: 12px
255
+ margin-left: 40px
256
+
257
+ .dataTable
258
+ th.sorting_desc
259
+ &:after
260
+ @extend .icon, .icon-caret-down:before
261
+ float: right
262
+
263
+ th.sorting_asc
264
+ &:after
265
+ @extend .icon, .icon-caret-up:before
266
+ float: right
267
+
268
+ .dataTables_paginate
269
+ float: right
270
+ margin-right: 40px
271
+
272
+ a
273
+ color: #333
274
+ cursor: pointer
275
+ display: inline-block
276
+ font-size: 13px
277
+ font-weight: bold
278
+ line-height: 24px
279
+ padding: 0 13px
280
+
281
+ a.paginate_disabled_previous, a.paginate_disabled_next
282
+ display: none
283
+
284
+ // Information tables
285
+ .information-tables
286
+ @include display(flex)
287
+
288
+ .information-table
289
+ @include flex(1)
290
+
291
+ th, td
292
+ color: #333
293
+ font-size: 14px
294
+ font-weight: 500
295
+ line-height: 30px
296
+ text-align: left
297
+ vertical-align: top
298
+
299
+ th
300
+ color: #999
301
+ padding-right: 10px
@@ -0,0 +1,99 @@
1
+ trix-toolbar
2
+ margin-bottom: 6px
3
+
4
+ .button-group
5
+ margin-right: 10px
6
+
7
+ .button.active
8
+ background: $primary-color
9
+ color: #fff
10
+
11
+ .link_url_fields input
12
+ margin-top: 6px
13
+
14
+ .link_url_fields .button-group input
15
+ margin-top: 10px
16
+
17
+ trix-editor
18
+ font-size: 16px
19
+ line-height: 18px
20
+ font-weight: normal
21
+ min-height: 100px
22
+
23
+ h1, h2, h3, h4, h5, h6
24
+ padding-left: 24px
25
+ position: relative
26
+
27
+ &:after
28
+ color: #ccc
29
+ content: "H1"
30
+ font-size: 12px
31
+ font-weight: bold
32
+ left: 0px
33
+ line-height: inherit
34
+ position: absolute
35
+ top: 0px
36
+
37
+ h1, h2, h3, h4, h5, h6
38
+ font-size: 24px
39
+ font-weight: 600
40
+ line-height: 38px
41
+
42
+ h2
43
+ font-size: 22px
44
+ line-height: 34px
45
+
46
+ h3
47
+ font-size: 20px
48
+ line-height: 30px
49
+
50
+ h4
51
+ font-size: 18px
52
+ line-height: 26px
53
+
54
+ h5
55
+ font-size: 16px
56
+ line-height: 22px
57
+
58
+ h6
59
+ font-size: 14px
60
+ line-height: 18px
61
+
62
+ h2:after
63
+ content: "H2"
64
+
65
+ h3:after
66
+ content: "H3"
67
+
68
+ h4:after
69
+ content: "H4"
70
+
71
+ h5:after
72
+ content: "H5"
73
+
74
+ h6:after
75
+ content: "H6"
76
+
77
+ a
78
+ text-decoration: underline
79
+
80
+ p
81
+ margin: 0
82
+
83
+ ul
84
+ list-style: disc
85
+ padding-left: 20px
86
+
87
+ figure.attachment
88
+ margin-bottom: 12px
89
+ margin-top: 12px
90
+ max-width: 200px
91
+ overflow: hidden
92
+
93
+ figcaption, .remove
94
+ display: none
95
+
96
+ img
97
+ border-radius: 3px
98
+ display: block
99
+ width: 100%
@@ -0,0 +1,122 @@
1
+ .wizard-steps
2
+ margin: 30px 0 54px 0
3
+ @include display(flex)
4
+
5
+ .wizard-step
6
+ @include display(flex)
7
+
8
+ &:not(:last-child)
9
+ @include flex(1)
10
+
11
+ .wizard-step-circle
12
+ background: #e7e7ee
13
+ border: 1px solid #d6d6db
14
+ border-radius: 24px
15
+ height: 48px
16
+ position: relative
17
+ width: 48px
18
+
19
+ &:after
20
+ background: #fff
21
+ border: 1px solid #d6d6db
22
+ border-radius: 20px
23
+ content: " "
24
+ display: block
25
+ height: 40px
26
+ left: 3px
27
+ position: absolute
28
+ top: 3px
29
+ width: 40px
30
+
31
+ .wizard-step-label
32
+ color: #999
33
+ font-size: 14px
34
+ font-weight: 600
35
+ margin-left: 50%
36
+ left: 0
37
+ position: absolute
38
+ top: 56px
39
+ @include transform(translateX(-50%))
40
+
41
+ i.icon
42
+ color: #dddde5
43
+ font-size: 22px
44
+ height: 46px
45
+ line-height: 46px
46
+ position: absolute
47
+ text-align: center
48
+ width: 46px
49
+ z-index: 1
50
+
51
+ .wizard-step-connector
52
+ background: #e7e7ee
53
+ border-bottom: 1px solid #d6d6db
54
+ border-top: 1px solid #d6d6db
55
+ height: 12px
56
+ margin: 0 -1px
57
+ margin-top: 18px
58
+ position: relative
59
+ z-index: 3
60
+ @include flex(1)
61
+
62
+ .wizard-step.done
63
+ .wizard-step-circle:before
64
+ color: #fff
65
+ font-size: 12px
66
+ height: 46px
67
+ line-height: 46px
68
+ text-align: center
69
+ position: absolute
70
+ width: 46px
71
+ z-index: 4
72
+ @extend .icon-large-check, .icon
73
+
74
+ .wizard-step-circle:after
75
+ background: $primary-color
76
+ z-index: 3
77
+
78
+ &:not(:first-child) .wizard-step-connector:before
79
+ background: $primary-color
80
+ border-color: transparent
81
+ content: " "
82
+ height: 4px
83
+ left: -48px
84
+ margin-right: 4px
85
+ position: absolute
86
+ right: 100%
87
+ top: 3px
88
+ z-index: 5
89
+
90
+ &:not(:last-child) .wizard-step-connector:after
91
+ background: $primary-color
92
+ border-radius: 0 2px 2px 0
93
+ content: " "
94
+ height: 4px
95
+ left: -4px
96
+ position: absolute
97
+ right: 0px
98
+ top: 3px
99
+ z-index: 5
100
+
101
+ .wizard-step.error
102
+ .wizard-step-circle:before
103
+ color: #fff
104
+ font-size: 12px
105
+ height: 46px
106
+ line-height: 46px
107
+ text-align: center
108
+ position: absolute
109
+ width: 46px
110
+ z-index: 4
111
+ @extend .icon-cross, .icon
112
+
113
+ .wizard-step-circle:after
114
+ background: $danger-color
115
+ z-index: 3
116
+
117
+ .wizard-step-label
118
+ color: $danger-color
119
+
120
+ .wizard-step.current
121
+ .wizard-step-label
122
+ color: $primary-color