comable_backend 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/comable/admin/application.coffee +21 -14
  3. data/app/assets/stylesheets/comable/admin/_common.scss +264 -0
  4. data/app/assets/stylesheets/comable/admin/_dashboard.scss +81 -0
  5. data/app/assets/stylesheets/comable/admin/_errors.scss +18 -0
  6. data/app/assets/stylesheets/comable/admin/_mixins.scss +16 -0
  7. data/app/assets/stylesheets/comable/admin/_orders.scss +54 -0
  8. data/app/assets/stylesheets/comable/admin/_overrides.scss +4 -0
  9. data/app/assets/stylesheets/comable/admin/_products.scss +18 -0
  10. data/app/assets/stylesheets/comable/admin/_user_sessions.scss +57 -0
  11. data/app/assets/stylesheets/comable/admin/_variables.scss +44 -0
  12. data/app/assets/stylesheets/comable/admin/application.scss +15 -597
  13. data/app/assets/stylesheets/comable/admin/overrides/bootstrap.scss +83 -0
  14. data/app/assets/stylesheets/comable/admin/overrides/jstree.scss +71 -0
  15. data/app/assets/stylesheets/comable/admin/overrides/pace.scss +4 -0
  16. data/app/assets/stylesheets/comable/admin/overrides/tagit.scss +22 -0
  17. data/app/controllers/comable/admin/application_controller.rb +3 -0
  18. data/app/controllers/comable/admin/categories_controller.rb +3 -0
  19. data/app/controllers/comable/admin/customers_controller.rb +6 -0
  20. data/app/controllers/comable/admin/orders_controller.rb +3 -0
  21. data/app/controllers/comable/admin/payment_methods_controller.rb +7 -1
  22. data/app/controllers/comable/admin/products_controller.rb +10 -4
  23. data/app/controllers/comable/admin/shipment_methods_controller.rb +7 -1
  24. data/app/controllers/comable/admin/stocks_controller.rb +16 -20
  25. data/app/controllers/comable/admin/store_controller.rb +3 -0
  26. data/app/controllers/comable/admin/user_sessions_controller.rb +7 -0
  27. data/app/helpers/comable/admin/application_helper.rb +16 -0
  28. data/app/views/comable/admin/categories/index.slim +83 -86
  29. data/app/views/comable/admin/customers/edit.slim +64 -79
  30. data/app/views/comable/admin/customers/index.slim +60 -59
  31. data/app/views/comable/admin/customers/show.slim +83 -88
  32. data/app/views/comable/admin/dashboard/show.slim +59 -57
  33. data/app/views/comable/admin/orders/_google_map.slim +22 -0
  34. data/app/views/comable/admin/orders/index.slim +67 -70
  35. data/app/views/comable/admin/orders/show.slim +98 -68
  36. data/app/views/comable/admin/payment_methods/_form.slim +26 -41
  37. data/app/views/comable/admin/payment_methods/edit.slim +25 -26
  38. data/app/views/comable/admin/payment_methods/index.slim +38 -50
  39. data/app/views/comable/admin/payment_methods/new.slim +14 -15
  40. data/app/views/comable/admin/products/_form.slim +124 -101
  41. data/app/views/comable/admin/products/_image_fields.slim +15 -0
  42. data/app/views/comable/admin/products/edit.slim +39 -38
  43. data/app/views/comable/admin/products/index.slim +64 -70
  44. data/app/views/comable/admin/products/new.slim +14 -15
  45. data/app/views/comable/admin/shared/_footer.slim +8 -0
  46. data/app/views/comable/admin/shared/_header.slim +31 -0
  47. data/app/views/comable/admin/shared/_notifier.slim +5 -0
  48. data/app/views/comable/admin/shared/_sidebar.slim +52 -0
  49. data/app/views/comable/admin/shipment_methods/_form.slim +23 -43
  50. data/app/views/comable/admin/shipment_methods/edit.slim +25 -26
  51. data/app/views/comable/admin/shipment_methods/index.slim +35 -47
  52. data/app/views/comable/admin/shipment_methods/new.slim +14 -15
  53. data/app/views/comable/admin/stocks/_form.slim +27 -33
  54. data/app/views/comable/admin/stocks/edit.slim +35 -44
  55. data/app/views/comable/admin/stocks/index.slim +57 -76
  56. data/app/views/comable/admin/stocks/new.slim +16 -15
  57. data/app/views/comable/admin/store/_form.slim +26 -42
  58. data/app/views/comable/admin/store/edit.slim +10 -11
  59. data/app/views/comable/admin/user_sessions/new.slim +25 -0
  60. data/app/views/layouts/comable/admin/application.slim +14 -96
  61. data/config/routes.rb +4 -1
  62. data/lib/comable/backend/engine.rb +2 -1
  63. metadata +93 -53
  64. data/app/assets/stylesheets/comable/admin/products.css +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e5f96930b9072d844fe72000c1ba8a38ad6c08c8
4
- data.tar.gz: 98b0eed23d2f01c00697ed66271e2a184f3941c2
3
+ metadata.gz: 3e94beb188851f0e46828bfd1646cae7bb4e05f6
4
+ data.tar.gz: a2d0d7d82a72830d474ad05002d6b2a4ee534929
5
5
  SHA512:
6
- metadata.gz: f8be9f1dbc76853d7af68a1faf834dcbb0412aca24f49f3b4c22939a4f8facc0b5a95795690f415134dbaac958db8c890ebcf2ffdae77e34636ead05d744631f
7
- data.tar.gz: 1baf4f78f505c1b45dd71cfd86b007f6572c7931bdc01a84f4df8c23a80c9da4fb632d07b578bcb6f0ba175b72c95bc24df232bd81158274d1d2fbc948587041
6
+ metadata.gz: a5be16acf1bca4ee13335261547b9b6ca8c3272f1061b5014f8969d24979882bed37b5dfd2f63844a01c61839d172cae6c5fc261b45ea1b81857636270815fc6
7
+ data.tar.gz: 4c6436f0ff47e42d5eb9ae467aef140a7e88166f0777a2c43e379b772c60c902dc61e252fd88ee3a76afa5e30cc13fbb1ee62f3d75fc24836f05a4348cd680b5
@@ -1,11 +1,11 @@
1
1
  #= require jquery
2
2
  #= require jquery_ujs
3
3
  #= require jquery-ui
4
- #= require jstree
5
4
  #= require bootstrap-sprockets
6
5
  #= require raphael
7
6
  #= require morris
8
7
  #= require pace/pace
8
+ #= require gritter
9
9
  #= require_tree .
10
10
 
11
11
  $( ->
@@ -13,6 +13,20 @@ $( ->
13
13
  # functions
14
14
  # ---
15
15
 
16
+ initialize_beforeunload_event = ->
17
+ $form = $('form[method!="get"]')
18
+ $form.change(->
19
+ $(window).on('beforeunload', (event) ->
20
+ # TODO: Install 'i18n-js' gem
21
+ confirmation_message = 'The changes not saved. Are you sure you want to move from this page?'
22
+ (event || window.event).returnValue = confirmation_message # for Gecko and Trident
23
+ confirmation_message # for Gecko and WebKit
24
+ )
25
+ )
26
+ $form.submit(->
27
+ $(window).off('beforeunload')
28
+ )
29
+
16
30
  initialize_vertical_navigation = ->
17
31
  $vnavigation = $('.vnavigation').find('ul')
18
32
 
@@ -60,23 +74,16 @@ $( ->
60
74
  $affix = $('#comable-affix')
61
75
  $affix.css('width', $affix.parent().width())
62
76
 
63
- notify_flash_message = ->
64
- $notifier = $('#comable-notifier')
65
- return if $notifier.length <= 0
66
- $notifier.on('click', -> $(this).clearQueue().animate({ height: 0 }))
67
- height = $notifier.css('height')
68
- $notifier
69
- .removeClass('hidden')
70
- .css({ height: 0 })
71
- .delay(400)
72
- .animate({ height: height })
73
- .delay(5 * 1000)
74
- .animate({ height: 0 })
77
+ window.add_fields = (_this, association, content) ->
78
+ new_id = new Date().getTime()
79
+ regexp = new RegExp('new_' + association, 'g')
80
+ $(_this).parent().before(content.replace(regexp, new_id))
75
81
 
76
82
  # ---
77
83
  # main
78
84
  # ---
79
85
 
86
+ initialize_beforeunload_event()
80
87
  initialize_vertical_navigation()
81
88
 
82
89
  if $('#comable-affix').length != 0
@@ -84,5 +91,5 @@ $( ->
84
91
  resize_comable_affix()
85
92
  $(window).on('resize', resize_comable_affix)
86
93
 
87
- notify_flash_message()
94
+ $('[data-toggle="tooltip"]').tooltip()
88
95
  )
@@ -0,0 +1,264 @@
1
+ body {
2
+ font-size: 12px;
3
+ font-family: Verdana, '游ゴシック', YuGothic, 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
4
+ }
5
+
6
+ footer {
7
+ @extend .text-muted;
8
+ margin: 25px;
9
+ text-align: center;
10
+
11
+ & > ul > li + li:before {
12
+ content: '·';
13
+ padding-right: 10px;
14
+ }
15
+ }
16
+
17
+ #wrapper {
18
+ display: table;
19
+ width: 100%;
20
+ position: absolute;
21
+ height: 100%;
22
+
23
+ body.animated & {
24
+ @include transition(margin-left 600ms ease, opacity 600ms);
25
+ opacity: 0;
26
+ margin-left: -20px;
27
+ }
28
+ }
29
+
30
+ .container {
31
+ margin-right: auto;
32
+ padding: 0;
33
+ overflow: hidden;
34
+
35
+ &.right {
36
+ display: table-cell;
37
+ vertical-align: top;
38
+
39
+ margin-left: 216px;
40
+ position: relative;
41
+ }
42
+ }
43
+
44
+ .logo {
45
+ padding: 0 20px;
46
+ height: 64px;
47
+ line-height: 64px;
48
+ background-color: $comable-theme-bg;
49
+
50
+ a {
51
+ font-size: x-large;
52
+ text-decoration: none;
53
+
54
+ &:link,
55
+ &:visited,
56
+ &:hover,
57
+ &:active {
58
+ color: #fff;
59
+ }
60
+ }
61
+ }
62
+
63
+ .sidebar {
64
+ display: table-cell;
65
+ position: relative;
66
+ vertical-align: top;
67
+ padding-bottom: 200px;
68
+ border-right: 1px solid $comable-sidebar-border;
69
+
70
+ & {
71
+ background-color: $comable-sidebar-bg;
72
+ width: $comable-sidebar-width;
73
+ z-index: 300;
74
+ }
75
+ }
76
+
77
+ .vnavigation {
78
+ width: $comable-sidebar-width;
79
+ background-color: $comable-sidebar-bg;
80
+ border-right: 1px solid $comable-sidebar-border;
81
+ position: fixed;
82
+
83
+ a {
84
+ &:link,
85
+ &:visited,
86
+ &:hover,
87
+ &:active {
88
+ color: $comable-sidebar-link-color;
89
+ text-decoration: none;
90
+ }
91
+
92
+ &:hover {
93
+ color: $comable-sidebar-link-hover-color;
94
+ }
95
+ }
96
+
97
+ ul {
98
+ margin: 0;
99
+ padding: 0;
100
+ }
101
+
102
+ & > ul {
103
+ margin: 5px 0;
104
+
105
+ & > li > a {
106
+ display: block;
107
+ padding: 12px 25px;
108
+ font-size: 13px;
109
+ font-weight: 400;
110
+ white-space: nowrap;
111
+ border-left: 2px solid transparent;
112
+ }
113
+
114
+ &> li.active > a {
115
+ color: $comable-sidebar-link-active-color;
116
+ background-color: $comable-sidebar-link-active-bg;
117
+
118
+ i {
119
+ text-align: center;
120
+ width: 20px;
121
+ font-size: 14px;
122
+ margin-right: 7px;
123
+ }
124
+ }
125
+ }
126
+
127
+ li {
128
+ margin: 0;
129
+ padding: 0;
130
+ list-style: none;
131
+ }
132
+
133
+ & > ul > li > a {
134
+ &:hover {
135
+ @include transition(color 250ms ease, background-color 250ms ease);
136
+ background-color: $comable-sidebar-link-hover-bg;
137
+ }
138
+
139
+ i {
140
+ text-align: center;
141
+ width: 20px;
142
+ font-size: 14px;
143
+ margin-right: 7px;
144
+ }
145
+ }
146
+
147
+ li.parent {
148
+ & > a {
149
+ //@include glyphicon(chevron-right, $float: right);
150
+ @include fa(angle-right, $float: right);
151
+ }
152
+
153
+ & > ul {
154
+ display: none;
155
+ padding: 14px 0;
156
+ background-color: $comable-sidebar-darken-bg;
157
+
158
+ a {
159
+ display: block;
160
+ padding: 7px 42px;
161
+
162
+ &:link, &:visited, &:hover, &:active {
163
+ color: $comable-sidebar-darken-color;
164
+ }
165
+
166
+ &:hover {
167
+ @include transition(color 250ms ease, background-color 250ms ease);
168
+ color: $comable-sidebar-darken-hover-color;
169
+ background-color: $comable-sidebar-darken-hover-bg;
170
+ }
171
+
172
+ border-left: 2px solid transparent;
173
+ }
174
+
175
+ .active > a {
176
+ color: $comable-sidebar-darken-active-color;
177
+ background-color: $comable-sidebar-darken-active-bg;
178
+ border-left: 2px solid $comable-theme-bg;
179
+ }
180
+ }
181
+ }
182
+ }
183
+
184
+ #comable-affix {
185
+ @extend .hidden-sm;
186
+ @extend .hidden-xs;
187
+
188
+ &.affix {
189
+ top: $navbar-height + 20px;
190
+ }
191
+
192
+ .list-group > a:before {
193
+ @include fa(angle-right);
194
+ margin-right: 1em;
195
+ }
196
+ }
197
+
198
+ #comable-notifier {
199
+ @include opacity(0.95);
200
+ width: 100%;
201
+ overflow: hidden;
202
+ position: fixed;
203
+ top: 0;
204
+ left: 0;
205
+ z-index: 999999;
206
+
207
+ & > * {
208
+ padding: 0 1em;
209
+ height: $navbar-height;
210
+ line-height: $navbar-height;
211
+
212
+ &.comable-alert {
213
+ color: $alert-danger-text;
214
+ background-color: $alert-danger-bg;
215
+ }
216
+
217
+ &.comable-notice {
218
+ color: $alert-success-text;
219
+ background-color: $alert-success-bg;
220
+ }
221
+ }
222
+ }
223
+
224
+ .comable-page-heading {
225
+ margin: 0 -15px 25px;
226
+ padding: 25px 30px;
227
+ border-bottom: 5px solid #eee;
228
+
229
+ & > .page-header {
230
+ margin-bottom: 0;
231
+ }
232
+
233
+ & > ul {
234
+ margin: 0;
235
+ padding: 0;
236
+ list-style: none;
237
+
238
+ & > li {
239
+ margin-left: 5px;
240
+ }
241
+ }
242
+ }
243
+
244
+ .comable-search {
245
+ margin: 0 30px 25px;
246
+ }
247
+
248
+ .comable-main-fixed-top {
249
+ padding-left: $comable-sidebar-width;
250
+ width: 100%;
251
+ background-color: #fff;
252
+ position: fixed;
253
+ left: 0;
254
+ z-index: 200;
255
+
256
+ & > .comable-page-heading {
257
+ margin: 0;
258
+ }
259
+
260
+ & + .comable-page-body {
261
+ // 89px = comable-page-heding-height
262
+ padding-top: 89px + 20px;
263
+ }
264
+ }
@@ -0,0 +1,81 @@
1
+ .widget {
2
+ border-radius: 3px;
3
+ margin-bottom: 20px;
4
+ color: #fff;
5
+ padding: 15px;
6
+ overflow: hidden;
7
+
8
+ &.widget-stats {
9
+ position: relative;
10
+
11
+ & > .stats-icon {
12
+ @include opacity(0.2);
13
+ font-size: 42px;
14
+ height: 56px;
15
+ width: 56px;
16
+ text-align: center;
17
+ line-height: 56px;
18
+ margin-left: 15px;
19
+ color: #fff;
20
+ position: absolute;
21
+ right: 15px;
22
+ top: 15px;
23
+
24
+ &.stats-icon-lg {
25
+ font-size: 52px;
26
+ top: 12px;
27
+ right: 21px;
28
+ }
29
+ }
30
+
31
+ & > .stats-desc,
32
+ & > .stats-title {
33
+ color: #fff;
34
+ color: rgba(255, 255, 255, 0.6);
35
+ }
36
+
37
+ & > .stats-title {
38
+ margin: 2px 0 7px;
39
+ font-size: 12px;
40
+ line-height: 1.1;
41
+ position: relative;
42
+ }
43
+
44
+ & > .stats-number {
45
+ margin-bottom: 10px;
46
+ font-size: 24px;
47
+ font-weight: normal;
48
+ }
49
+
50
+ & > .stats-progress {
51
+ margin: 0 -15px 12px;
52
+ height: 2px;
53
+ background-color: rgba(0, 0, 0, 0.2);
54
+
55
+ & > .progress-bar {
56
+ @include box-shadow(none);
57
+ background-color: #fff;
58
+ }
59
+ }
60
+ }
61
+
62
+ &.widget-bg-green {
63
+ background-color: #00acac !important;
64
+ }
65
+
66
+ &.widget-bg-blue {
67
+ background-color: #348fe2 !important;
68
+ }
69
+
70
+ &.widget-bg-black {
71
+ background-color: #272930 !important;
72
+ }
73
+ }
74
+
75
+ .morris > .morris-hover {
76
+ @include border-radius($border-radius-base !important);
77
+ padding: 8px !important;
78
+ color: #ccc !important;
79
+ background-color: rgba(0, 0, 0, 0.75) !important;
80
+ border: none !important;
81
+ }
@@ -0,0 +1,18 @@
1
+ #errorExplanation {
2
+ @extend .alert;
3
+ @extend .alert-danger;
4
+
5
+ & > h2 {
6
+ margin-top: 0;
7
+ font-size: $font-size-h4;
8
+ font-weight: bold;
9
+ }
10
+
11
+ & > ul {
12
+ margin-top: 5px;
13
+ }
14
+ }
15
+
16
+ .field_with_errors {
17
+ @extend .has-error;
18
+ }
@@ -0,0 +1,16 @@
1
+ // from https://github.com/FortAwesome/Font-Awesome/issues/213
2
+ @mixin glyphicon($name, $float: none) {
3
+ &:before {
4
+ @extend .glyphicon;
5
+ float: $float;
6
+ }
7
+ @extend .glyphicon-#{$name};
8
+ }
9
+
10
+ @mixin fa($name, $float: none) {
11
+ &:before {
12
+ float: $float;
13
+ @extend .fa;
14
+ }
15
+ @extend .fa-#{$name};
16
+ }
@@ -0,0 +1,54 @@
1
+ #comable-order {
2
+ .panel > .panel-body > h3 {
3
+ margin-top: 10px;
4
+ }
5
+ }
6
+
7
+ .comable-map {
8
+ height: $comable-map-height;
9
+
10
+ .panel-footer > & {
11
+ margin: -10px -15px;
12
+ }
13
+
14
+ .comable-google-map {
15
+ width: 100%;
16
+ height: 100%;
17
+ padding: $padding-base-vertical $padding-base-horizontal;
18
+ }
19
+ }
20
+
21
+ .comable-avatar > .thumbnail {
22
+ margin-bottom: 0;
23
+ width: $comable-avatar-size;
24
+ height: $comable-avatar-size;
25
+ }
26
+
27
+ dl.comable-address-with-icon {
28
+ margin-bottom: 0;
29
+
30
+ & > dt {
31
+ width: $comable-address-icon-size;
32
+ text-align: center;
33
+ vertical-align: middle;
34
+ color: $text-muted;
35
+ }
36
+
37
+ & > dd {
38
+ margin-left: $comable-address-icon-size + $comable-address-icon-margin;
39
+
40
+ &:not(:last-child) {
41
+ margin-bottom: 10px;
42
+ }
43
+
44
+ & > ul,
45
+ & > ol {
46
+ margin-bottom: 0;
47
+ }
48
+
49
+ a {
50
+ color: $text-color;
51
+ text-decoration: underline;
52
+ }
53
+ }
54
+ }
@@ -0,0 +1,4 @@
1
+ @import 'comable/admin/overrides/bootstrap';
2
+ @import 'comable/admin/overrides/jstree';
3
+ @import 'comable/admin/overrides/tagit';
4
+ @import 'comable/admin/overrides/pace';
@@ -0,0 +1,18 @@
1
+ #comable-product {
2
+ label.remove {
3
+ display: block;
4
+ margin: 0;
5
+ }
6
+
7
+ .table tbody > tr > td {
8
+ .thumbnail {
9
+ margin-bottom: 0;
10
+ }
11
+ &.comable-image {
12
+ width: 180px;
13
+ }
14
+ &:not(.comable-image) {
15
+ vertical-align: middle;
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,57 @@
1
+ #comable-user_session {
2
+ margin: 0;
3
+ background-color: $comable-sidebar-bg;
4
+ font-size: 12px;
5
+ font-family: 'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;
6
+
7
+ main {
8
+ margin: 170px 0 30px;
9
+ padding: 0;
10
+ }
11
+ }
12
+
13
+ .comable-signin {
14
+ background-color: $navbar-default-bg;
15
+
16
+ & > .comable-signin-heading {
17
+ position: absolute;
18
+ top: 90px;
19
+ left: 50%;
20
+ right: 0;
21
+ width: 450px;
22
+ padding: 0 40px;
23
+ margin-left: -225px;
24
+
25
+ & > h1 {
26
+ color: $comable-sidebar-title-color;
27
+ font-size: 28px;
28
+ font-weight: 300;
29
+ line-height: 110%;
30
+
31
+ & > small {
32
+ display: block;
33
+ color: inherit;
34
+ font-size: 14px;
35
+ line-height: inherit;
36
+ font-weight: inherit;
37
+ }
38
+ }
39
+ }
40
+
41
+ .comable-signin-body {
42
+ padding: 30px 40px;
43
+ color: $navbar-default-color;
44
+ width: 450px;
45
+ margin: 0 auto;
46
+
47
+ input {
48
+ font-size: 12px;
49
+ }
50
+
51
+ .btn-primary {
52
+ background-color: $comable-theme-bg;
53
+ border-color: darken($comable-theme-bg, 10%);
54
+ outline: none;
55
+ }
56
+ }
57
+ }
@@ -0,0 +1,44 @@
1
+ $comable-theme-bg: #7761a7;
2
+
3
+ // sidebar
4
+ $comable-sidebar-width: 280px;
5
+ $comable-sidebar-bg: #d9e0e7;
6
+ $comable-sidebar-color: #444;
7
+ $comable-sidebar-title-color: #666;
8
+ $comable-sidebar-border: darken($comable-sidebar-bg, 10%);
9
+ $comable-sidebar-link-color: $comable-sidebar-color;
10
+ $comable-sidebar-link-hover-color: #000;
11
+ $comable-sidebar-link-active-color: #fff;
12
+ $comable-sidebar-link-hover-bg: darken($comable-sidebar-bg, 10%);
13
+ $comable-sidebar-link-active-bg: $comable-theme-bg;
14
+ $comable-sidebar-darken-bg: darken($comable-sidebar-bg, 15%);
15
+ $comable-sidebar-darken-hover-bg: rgba(0, 0, 0, 0.2);
16
+ $comable-sidebar-darken-active-bg: $comable-sidebar-darken-hover-bg;
17
+ $comable-sidebar-darken-color: $comable-sidebar-color;
18
+ $comable-sidebar-darken-hover-color: #fff;
19
+ $comable-sidebar-darken-active-color: $comable-sidebar-darken-hover-color;
20
+
21
+ // orders
22
+ $comable-map-height: 160px;
23
+ $comable-avatar-size: 80px;
24
+ $comable-address-icon-size: 20px;
25
+ $comable-address-icon-margin: 15px;
26
+
27
+ // bootstrap
28
+ $navbar-default-color: #aaa;
29
+ $navbar-default-bg: #373737;
30
+ $navbar-default-link-color: $navbar-default-color;
31
+ $navbar-default-link-hover-color: #fff;
32
+ $navbar-default-link-active-color: $navbar-default-link-hover-color;
33
+ $navbar-default-link-hover-bg: darken($navbar-default-bg, 10%);
34
+ $navbar-default-link-active-bg: darken($navbar-default-bg, 10%);
35
+ $navbar-default-brand-color: $navbar-default-link-hover-color;
36
+ $navbar-default-brand-hover-color: $navbar-default-brand-color;
37
+ $navbar-default-toggle-icon-bar-bg: $navbar-default-link-color;
38
+ $navbar-default-toggle-hover-bg: $navbar-default-link-hover-bg;
39
+
40
+ // $panel-default-heading-bg: $comable-sidebar-bg;
41
+ // $panel-default-border: $comable-sidebar-border;
42
+
43
+ // pace
44
+ $comable-pace: #fff;