spina-template 0.3.3 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/.fontcustom-manifest.json +42 -2
  3. data/Gemfile +4 -0
  4. data/app/assets/fonts/spina/icons_spina.eot +0 -0
  5. data/app/assets/fonts/spina/icons_spina.svg +56 -10
  6. data/app/assets/fonts/spina/icons_spina.ttf +0 -0
  7. data/app/assets/fonts/spina/icons_spina.woff +0 -0
  8. data/app/assets/icons/spina/barchart.svg +10 -0
  9. data/app/assets/icons/spina/cart.svg +10 -0
  10. data/app/assets/icons/spina/customer-outline.svg +10 -0
  11. data/app/assets/icons/spina/exclamation.svg +13 -0
  12. data/app/assets/icons/spina/filter.svg +10 -0
  13. data/app/assets/icons/spina/info.svg +13 -0
  14. data/app/assets/icons/spina/megaphone.svg +10 -0
  15. data/app/assets/icons/spina/pencil.svg +16 -0
  16. data/app/assets/icons/spina/preview/icons_spina-preview.html +153 -3
  17. data/app/assets/icons/spina/product-outline.svg +10 -0
  18. data/app/assets/icons/spina/shop.svg +12 -0
  19. data/app/assets/images/spina/spina_small.png +0 -0
  20. data/app/assets/javascripts/spina.coffee.erb +23 -8
  21. data/app/assets/javascripts/spina/dropdown.coffee +11 -0
  22. data/app/assets/javascripts/spina/galleryselect.coffee +4 -3
  23. data/app/assets/javascripts/spina/navigation.coffee +19 -0
  24. data/app/assets/javascripts/spina/notifications.coffee +7 -0
  25. data/app/assets/stylesheets/spina.sass +184 -225
  26. data/app/assets/stylesheets/spina/_buttons.sass +22 -10
  27. data/app/assets/stylesheets/spina/_forms.sass +169 -6
  28. data/app/assets/stylesheets/spina/_grid.sass +6 -0
  29. data/app/assets/stylesheets/spina/_icons_spina.scss +10 -0
  30. data/app/assets/stylesheets/spina/_labels.sass +4 -2
  31. data/app/assets/stylesheets/spina/_notifications.sass +60 -0
  32. data/app/assets/stylesheets/spina/_sortable_lists.sass +18 -11
  33. data/app/assets/stylesheets/spina/_tables.sass +156 -9
  34. data/app/assets/stylesheets/spina/_wizard.sass +103 -0
  35. data/app/assets/stylesheets/spina/_wysihtml5.sass +1 -1
  36. data/lib/spina/template/version.rb +1 -1
  37. data/spina-template.gemspec +0 -1
  38. data/vendor/assets/javascripts/spina/sortable.js +2 -0
  39. data/vendor/assets/stylesheets/spina/_nprogress.scss +1 -0
  40. metadata +19 -17
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg width="256px" height="256px" viewBox="0 0 256 256" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 3.7.2 (28276) - http://www.bohemiancoding.com/sketch -->
4
+ <title>Shape</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <defs></defs>
7
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
+ <path d="M253.719,119.768 L205.719,39.768 C202.827,34.95 197.619,32 192,32 L64,32 C58.379,32 53.17,34.949 50.279,39.768 L2.279,119.768 C0.787,122.255 0,125.1 0,128 L0,208 C0,216.836 7.162,224 16,224 L240,224 C248.836,224 256,216.836 256,208 L256,128 C256,125.1 255.211,122.255 253.719,119.768 L253.719,119.768 Z M192,48 L237.6,124 L167.098,124 L159.588,101.471 C158.5,98.203 155.442,96 152,96 L132,96 L132,64 L144,64 C148.418,64 152,60.418 152,56 L152,48 L192,48 L192,48 Z M152,104 L160,128 L160,152 L96,152 L96,128 L104,104 L152,104 L152,104 Z M112,48 L144,48 L144,56 L112,56 L112,48 L112,48 Z M64,48 L104,48 L104,56 C104,60.418 107.58,64 112,64 L124,64 L124,96 L104,96 C100.556,96 97.498,98.203 96.41,101.471 L88.9,124 L18.398,124 L64,48 L64,48 Z M16,208 L16,132 L16,132 L88,132 L88,152 C88,156.418 91.58,160 96,160 L160,160 C164.418,160 168,156.418 168,152 L168,132 L240,132 L240,208 L16,208 L16,208 Z" id="Shape" fill="#000000"></path>
9
+ </g>
10
+ </svg>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 18.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Shop" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
6
+ <path d="M6.123,7.25L6.914,2H2.8L1.081,6.5C1.028,6.66,1,6.826,1,7c0,1.104,1.15,2,2.571,2C4.881,9,5.964,8.236,6.123,7.25z M10,9
7
+ c1.42,0,2.571-0.896,2.571-2c0-0.041-0.003-0.082-0.005-0.121L12.057,2H7.943l-0.51,4.875C7.431,6.916,7.429,6.957,7.429,7
8
+ C7.429,8.104,8.58,9,10,9z M15,10.046V14H5v-3.948C4.562,10.21,4.08,10.3,3.571,10.3c-0.195,0-0.384-0.023-0.571-0.049V16.6
9
+ c0,0.77,0.629,1.4,1.398,1.4H15.6c0.77,0,1.4-0.631,1.4-1.4v-6.348c-0.188,0.025-0.376,0.049-0.571,0.049
10
+ C15.923,10.3,15.439,10.208,15,10.046z M18.92,6.5L17.199,2h-4.113l0.79,5.242C14.03,8.232,15.113,9,16.429,9
11
+ C17.849,9,19,8.104,19,7C19,6.826,18.972,6.66,18.92,6.5z"/>
12
+ </svg>
@@ -4,6 +4,7 @@
4
4
  #= require spina/jquery.nestable
5
5
  #= require spina/jquery.customfileinput
6
6
  #= require spina/jquery.farbtastic
7
+ #= require spina/sortable
7
8
  #= require jquery-fileupload/basic
8
9
  #= require spina/raphael
9
10
  #= require spina/morris
@@ -18,6 +19,8 @@
18
19
  #= require spina/dropdown
19
20
  #= require spina/galleryselect
20
21
  #= require spina/uploads
22
+ #= require spina/navigation
23
+ #= require spina/notifications
21
24
 
22
25
  # Nprogress
23
26
  $(document).on 'page:fetch', -> NProgress.start()
@@ -25,9 +28,20 @@ $(document).on 'page:change', -> NProgress.done()
25
28
  $(document).on 'page:restore', -> NProgress.remove()
26
29
 
27
30
  # Clickable TR's
28
- $(document).on 'click', '.table-clickable tbody tr', ->
29
- checkbox = $(this).find('input[type="checkbox"]:first, input[type="radio"]:first')
30
- checkbox.prop("checked", !checkbox.prop("checked"))
31
+ $(document).on 'click', '.table-clickable tbody tr', (e) ->
32
+ $row = $(this).closest('tr')
33
+ checkbox = $row.find('input[type="checkbox"]:first, input[type="radio"]:first')
34
+
35
+ if checkbox.length > 0
36
+ checkbox.prop("checked", !checkbox.prop("checked"))
37
+ else
38
+ $row.find('a.table-link:first')[0].click()
39
+
40
+ $(document).on 'click', '.table-clickable tbody .table-link', (e) ->
41
+ e.stopPropagation()
42
+
43
+ $(document).on 'click', '.table-clickable tbody tr input', (e) ->
44
+ e.stopPropagation()
31
45
 
32
46
  # Search inputs
33
47
  $(document).on 'keyup', '.search-input input', (e) ->
@@ -61,6 +75,11 @@ $(document).on 'change', '.dd', ->
61
75
 
62
76
  ready = ->
63
77
 
78
+ # Set paddingTop for section#main
79
+ if header = document.getElementById('header')
80
+ headerHeight = header.getBoundingClientRect().height
81
+ $('section#main').css({paddingTop: headerHeight})
82
+
64
83
  # Custom file
65
84
  $('input[type="file"][data-customfileinput]:visible').each ->
66
85
  $(this).customFileInput()
@@ -115,9 +134,6 @@ ready = ->
115
134
  editor.on "blur", ->
116
135
  container.find(".choose-text-type").fadeOut(100)
117
136
 
118
- $(".dd").nestable
119
- maxDepth: 3
120
-
121
137
  $(".structure-form-menu ul").sortable
122
138
  handle: '.sortable-handle'
123
139
 
@@ -153,5 +169,4 @@ ready = ->
153
169
  }
154
170
  }
155
171
 
156
- $(document).ready(ready)
157
- $(document).on 'page:load', ready
172
+ $(document).on 'turbolinks:load', ready
@@ -11,6 +11,7 @@ $(document).on 'click', '[data-trigger="dropdown"]', ->
11
11
  body.removeClass('dropdown')
12
12
  dropdown.removeClass('animated fadeInDown')
13
13
  else
14
+ dropdown.removeClass('no-animation')
14
15
  trigger.addClass('button-active')
15
16
  body.addClass('dropdown')
16
17
  dropdown.addClass('animated fadeInDown')
@@ -57,8 +58,18 @@ $(document).on 'click', '.slide-controls .previous, .slide-controls .next', (e)
57
58
  else
58
59
  sliding_dropdown.find('.previous').addClass('muted')
59
60
 
61
+ # Force redraw dropdown
62
+ sliding_dropdown.addClass('no-animation')
63
+ forceRedraw(sliding_dropdown[0])
64
+
60
65
  closeDropdown = ->
61
66
  $('body').removeClass('dropdown')
62
67
  $('[data-dropdown] ul, [data-dropdown] .sliding-dropdown').removeClass('animated fadeInDown')
63
68
  $('[data-trigger="dropdown"]').removeClass('button-active')
64
69
  return false
70
+
71
+ forceRedraw = (element) ->
72
+ disp = element.style.display
73
+ element.style.display = 'none'
74
+ trick = element.offsetHeight
75
+ element.style.display = disp
@@ -12,8 +12,9 @@ $(document).on 'click', '.gallery .item:not(.item-uploader)', ->
12
12
  else
13
13
  $form.find('.gallery-select-counter').text("")
14
14
  else
15
+ checked = $(this).find('input').prop('checked')
15
16
  gallery.find('.item').removeClass('selected')
16
17
  gallery.find('.item input').prop('checked', false)
17
- $(this).toggleClass('selected')
18
- $(this).find('input').prop('checked', true)
19
- $(this).closest('form').submit()
18
+ $(this).addClass('selected') unless checked
19
+ $(this).find('input').prop('checked', !checked)
20
+ $(this).closest('form').submit()
@@ -0,0 +1,19 @@
1
+ $(document).on 'click', 'nav#primary a.back-to-main-menu', (e) ->
2
+ $('nav#primary').addClass('animated')
3
+ $('nav#primary').removeClass('transformed')
4
+ e.preventDefault()
5
+
6
+ $(document).on 'click', 'nav#primary:not(.transformed) > ul > li > a', (e) ->
7
+ if $(this).parent().find('ul').length > 0
8
+ e.preventDefault()
9
+
10
+ $(this).parent().siblings().removeClass('active')
11
+ $(this).parent().addClass('active')
12
+
13
+ # Clicking something from the primary menu adds the animation
14
+ $(document).on 'click', 'nav#primary:not(.transformed) > ul > li > a', (e) ->
15
+ $('nav#primary').addClass('animated').addClass('transformed')
16
+
17
+ # Clicking directly on the primary menu when it's transformed removes the animation
18
+ $(document).on 'click', 'nav#primary.transformed > ul > li > a', (e) ->
19
+ $('nav#primary').removeClass('animated')
@@ -0,0 +1,7 @@
1
+ $(document).on 'click', '.notification [data-close-notification]', (e) ->
2
+ $notification = $(this).parents('.notification')
3
+ $notification.removeClass('fadeInRight').addClass('fadeOutRight')
4
+ setTimeout ->
5
+ $notification.remove()
6
+ , 400
7
+ e.preventDefault()
@@ -32,6 +32,8 @@
32
32
  @import spina/login
33
33
  @import spina/cards
34
34
  @import spina/trix
35
+ @import spina/wizard
36
+ @import spina/notifications
35
37
 
36
38
  // Plugins
37
39
  @import spina/morris
@@ -48,263 +50,159 @@ html, body
48
50
  -webkit-font-smoothing: antialiased
49
51
 
50
52
  body
51
- @include display(flex)
53
+ background: #f5f5fa
54
+ min-width: 1024px
52
55
 
53
56
  // Primary navigation
54
-
55
57
  nav#primary
56
- background: #444882
57
58
  height: 100%
58
- padding-top: 10px
59
- position: relative
60
- text-align: center
61
- width: 80px
59
+ overflow: hidden
60
+ position: fixed
61
+ width: 300px
62
62
  @include linear-gradient(#3b3f74, #7a76ad)
63
63
 
64
- @include media($tablet)
65
- width: 80px
66
-
67
- ul li a
68
- color: #fff
69
- display: block
70
- font-size: 10px
71
- font-weight: 700
72
- opacity: .6
73
- padding: 20px 0
64
+ & > ul
65
+ height: 100%
66
+ padding-top: 12px
74
67
  position: relative
75
- text-decoration: none
76
- text-transform: uppercase
77
68
  width: 100%
78
- @include transition(color .15s ease)
79
69
 
80
- @include media($tablet)
81
- padding: 12px 0
82
-
83
- ul li.active a, ul li a:hover
84
- opacity: 1
70
+ ul li
71
+ display: block
85
72
 
86
- ul li.bottom a
87
- bottom: 0
88
- left: 0
73
+ ul li.bottom
74
+ bottom: 10px
89
75
  position: absolute
90
76
 
91
- ul li a i.icon
77
+ ul li a
78
+ color: #f5f5fa
92
79
  display: block
93
- font-size: 28px
94
- margin-bottom: 8px
95
- text-transform: none
80
+ font-size: 15px
81
+ font-weight: 600
82
+ line-height: 54px
83
+ opacity: .5
84
+ padding: 0 20px
85
+ position: relative
96
86
 
97
- @include media($tablet)
98
- font-size: 20px
87
+ &:hover
88
+ opacity: 1
99
89
 
100
- ul li:first-child a i.icon
101
- font-size: 32px
102
- margin-bottom: 3px
90
+ .icon
91
+ font-size: 26px
92
+ margin-left: 5px
93
+ margin-right: 11px
103
94
 
104
- ul li a[data-badge]:after
105
- background: $danger-color
106
- border-radius: 8px
107
- color: #fff
108
- content: attr(data-badge)
109
- display: block
110
- font-size: 12px
111
- font-weight: bold
112
- line-height: 16px
113
- min-width: 10px
114
- padding: 0 3px
115
- position: absolute
116
- right: 28px
117
- top: 12px
95
+ .icon-caret-right
96
+ font-size: 18px
97
+ position: absolute
98
+ right: 10px
118
99
 
119
- // Secondary navigation
100
+ .icon-home
101
+ font-size: 32px
102
+ margin-left: 2px
103
+ margin-right: 8px
120
104
 
121
- nav#secondary
122
- background: #f9f9f9
123
- border-right: 1px solid #ccc
124
- height: 100%
125
- padding: 30px 0
126
- width: 300px
105
+ ul li.active > a
106
+ opacity: 1
127
107
 
128
- @include media($tablet)
108
+ ul li ul
109
+ bottom: 0
129
110
  left: 80px
130
- padding-top: 12px
131
- width: 200px
132
-
133
- h1
134
- color: #333
135
- font-size: 24px
136
- font-weight: 300
137
- margin-bottom: 36px
138
- padding: 0 30px
111
+ padding-top: 20px
112
+ position: absolute
113
+ top: 0
114
+ width: 100%
115
+ z-index: 1
116
+ @include linear-gradient(#3b3f74, #7a76ad)
117
+ @include transform(translateX(100%))
139
118
 
140
- @include media($tablet)
141
- display: none
119
+ li a
120
+ line-height: 40px
142
121
 
143
- ul li
144
- position: relative
122
+ ul li ul li a.back-to-main-menu
123
+ font-size: 13px
124
+ font-weight: 700
125
+ opacity: .25
126
+ text-transform: uppercase
145
127
 
146
- ul li a
147
- color: #333
148
- display: block
149
- font-size: 15px
150
- font-weight: 600
151
- line-height: 15px
152
- padding: 16px 30px 16px 66px
153
- text-decoration: none
154
- @include transition(all .2s ease)
128
+ .icon
129
+ font-size: 16px
130
+ margin: -2px 0 0 -2px
155
131
 
156
- @include media($tablet)
157
- margin-left: 24px
158
- padding-left: 0
132
+ &:hover
133
+ opacity: .5
159
134
 
160
- small
161
- color: #666
162
- display: block
163
- font-size: 14px
164
- font-weight: normal
165
- line-height: 18px
166
- margin-top: 2px
167
- @include transition(color .15s ease)
135
+ &.animated > ul
136
+ @include transition(background .2s ease)
168
137
 
169
- @include media($tablet)
170
- display: none
138
+ & > li > a
139
+ @include transition(all .2s ease)
171
140
 
172
- ul li a:hover
173
- background: #f1f1f1
141
+ .icon
142
+ @include transition(all .2s ease)
174
143
 
175
- ul li.active a
176
- background: #f1f1f1
177
- color: $primary-color
144
+ li.active ul
145
+ @include transition(all .2s ease)
178
146
 
179
- small, i.icon
180
- color: inherit
147
+ &.transformed > ul
148
+ background: rgba(0, 0, 0, .4)
181
149
 
182
- ul li a i.icon
183
- color: #666
184
- display: block
185
- float: left
186
- font-size: 24px
187
- line-height: 1
188
- margin-left: -36px
189
- text-align: center
190
- width: 24px
191
- @include transition(color .15s ease)
192
-
193
- @include media($tablet)
194
- display: none
150
+ & > li > a
151
+ color: transparent
152
+ @include transform(translateX(-10px))
195
153
 
196
- ul li.active
197
- &:before
198
- content: ""
199
- display: block
200
- position: absolute
201
- right: -12px
202
- top: 33%
203
- @include triangle(23px, #ccc, right)
204
-
205
- &:after
206
- content: ""
207
- display: block
208
- position: absolute
209
- right: -11px
210
- top: 33%
211
- @include triangle(22px, #f1f1f1, right)
154
+ .icon
155
+ color: #f5f5fa
156
+ @include transform(translateX(10px))
212
157
 
213
- // Tabs
158
+ li.active ul
159
+ @include transform(translateX(0%))
214
160
 
215
- nav.tabs
216
- border-bottom: 1px solid #ddd
217
- margin: 0 -40px 30px -40px
218
- padding: 0 40px 0 24px
161
+ // Secondary navigation
162
+ nav#secondary
163
+ margin-bottom: -30px
164
+ margin-top: 20px
219
165
 
220
166
  ul li
221
167
  display: inline
222
168
 
223
169
  ul li a
224
- border: 1px solid transparent
225
- color: #444
170
+ color: #4b4b4d
226
171
  display: inline-block
227
- font-size: 14px
228
- font-weight: 600
229
- margin-bottom: -1px
230
- margin-top: 20px
231
- padding: 12px 16px
232
- text-decoration: none
172
+ font-size: 12px
173
+ font-weight: 700
174
+ line-height: 28px
175
+ padding: 0 16px
176
+ opacity: .5
177
+ text-transform: uppercase
233
178
 
234
179
  ul li a:hover
235
- color: #222
180
+ opacity: 1
236
181
 
237
182
  ul li.active a
238
- border-color: #ddd
239
- border-bottom: 1px solid #fff
240
- border-radius: 3px 3px 0 0
241
- color: $primary-color
183
+ border-bottom: 3px solid $primary-color
184
+ cursor: default
185
+ opacity: 1
186
+ margin: 0 16px
187
+ padding: 0
188
+
189
+ ul li:first-child a
190
+ margin-left: 0
191
+ padding-left: 0
242
192
 
193
+ // Tabs
243
194
  .tab-content
244
195
  display: none
245
196
 
246
197
  &.active
247
198
  display: block
248
199
 
249
- // Notifications
250
-
251
- .notification
252
- position: relative
253
- color: $info-color
254
- margin: 20px 0
255
- overflow: hidden
256
- font-size: 14px
257
- padding-left: 32px
258
-
259
- &:before
260
- position: absolute
261
- left: 0px
262
- color: #77caf9
263
- display: block
264
- font-size: 18px
265
- margin-top: 1em
266
-
267
- p
268
- color: $info-color
269
- font-weight: 600
270
- line-height: 18px
271
- margin-bottom: 0
272
-
273
- small
274
- display: block
275
- font-size: 14px
276
- font-weight: normal
277
-
278
- ul
279
- margin: 0
280
-
281
- li
282
- font-weight: normal
283
-
284
- &.notification-error
285
- color: $error-color
286
-
287
- p
288
- color: $error-color
289
-
290
- &:before
291
- color: #e7baba
292
-
293
- &.notification-danger
294
- color: $danger-color
295
-
296
- p
297
- color: $danger-color
298
-
299
- &:before
300
- color: $danger-color
301
-
302
200
  // Permanent notice
303
201
  .permanent-notice
304
202
  background: #eee
305
203
  border-bottom: 1px solid #ddd
306
204
  color: #333
307
- margin: -30px -40px 30px -40px
205
+ margin: 0 -40px 30px -40px
308
206
  padding: 0 40px
309
207
  position: relative
310
208
 
@@ -433,13 +331,28 @@ nav.tabs
433
331
  border-radius: 2px
434
332
  color: #fff
435
333
 
334
+ // Main header
335
+ header#header
336
+ background: #fff
337
+ border-bottom: 1px solid #eee
338
+ left: 300px
339
+ padding: 30px 40px
340
+ position: fixed
341
+ right: 0
342
+ top: 0
343
+ z-index: 10
344
+
345
+ #header_actions
346
+ height: 100%
347
+ float: right
348
+ position: absolute
349
+ right: 20px
350
+ top: 24px
351
+
436
352
  // Main content
437
353
 
438
354
  section#main
439
- padding: 30px 40px
440
- height: 100%
441
- overflow: scroll
442
- @include flex(1)
355
+ padding: 30px 40px 30px 340px
443
356
 
444
357
  // Danger zone
445
358
  .danger-zone
@@ -459,30 +372,19 @@ section#main
459
372
  // Breadcrumbs
460
373
 
461
374
  #main_content_header
462
- min-height: 50px
463
-
464
375
  .preview-website i
465
376
  vertical-align: bottom
466
377
 
467
- @include media($tablet)
468
- .button
469
- overflow: hidden
470
- height: 32px
471
- width: 35px
472
-
473
- &:before
474
- margin-right: 200px
475
-
476
378
  .breadcrumbs
477
379
  color: #333
380
+ display: inline-block
478
381
  font-size: 24px
479
- font-weight: 300
480
382
 
481
383
  a
482
384
  color: #999
483
385
 
484
- @include media($tablet)
485
- display: none
386
+ &:hover
387
+ color: #999
486
388
 
487
389
  .divider
488
390
  background: url(asset-path('spina/divider.png'))
@@ -492,19 +394,50 @@ section#main
492
394
  margin: 0 20px
493
395
  width: 6px
494
396
 
495
- @include media($tablet)
496
- display: none
397
+ // Well
398
+
399
+ .well
400
+ background: #fff
401
+ border: 1px solid #eee
402
+ border-radius: 3px
403
+ margin: 24px -20px
404
+ padding: 20px
405
+
406
+ hr.divider
407
+ clear: both
408
+ margin: 20px -20px
409
+
410
+ .table-container
411
+ margin: -20px -20px
412
+
413
+ .table
414
+ margin: 0
415
+
416
+ tr td:first-child, tr th:first-child
417
+ padding-left: 20px
418
+
419
+ tr td:last-child, tr th:last-child
420
+ padding-right: 20px
497
421
 
498
422
  // General styles
499
423
 
500
424
  h1, h2, h3, h4, h5, h6
501
- font-weight: 300
425
+ font-weight: 400
502
426
  margin: 0
503
427
 
428
+ &.page-header
429
+ border-bottom: 1px solid #eee
430
+ color: #333
431
+ margin: 40px 0 20px 0
432
+ padding-bottom: 8px
433
+
504
434
  h1, h2
505
435
  color: #333
506
436
  font-size: 24px
507
437
 
438
+ h3
439
+ color: #333
440
+
508
441
  ul
509
442
  list-style: none
510
443
  margin: 0
@@ -519,12 +452,23 @@ a
519
452
  color: $primary-color
520
453
  text-decoration: none
521
454
 
455
+ &:hover
456
+ color: shade($primary-color, 40%)
457
+
522
458
  label
523
459
  color: #333
524
460
  font-size: 11px
525
461
  font-weight: 600
526
462
  margin-right: 14px
527
- text-transform: uppercase
463
+
464
+ .divider-container
465
+ margin: 0 -40px
466
+
467
+ hr.divider
468
+ background: #e9e9eb
469
+ border: none
470
+ height: 1px
471
+ margin: 20px 0
528
472
 
529
473
  .pull-left
530
474
  float: left
@@ -539,7 +483,7 @@ label
539
483
  bottom: 0px
540
484
  opacity: .5
541
485
  padding: 20px
542
- position: absolute
486
+ position: fixed
543
487
  right: 0px
544
488
  @include transition(opacity .2s ease)
545
489
 
@@ -548,3 +492,18 @@ label
548
492
 
549
493
  img
550
494
  display: block
495
+
496
+ .text-danger
497
+ color: $danger-color
498
+
499
+ .text-success
500
+ color: $success-color
501
+
502
+ .text-muted
503
+ color: #999
504
+
505
+ .text-center
506
+ text-align: center
507
+
508
+ .text-right
509
+ text-align: right