spree_backend 3.7.14.1 → 4.0.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/app/assets/javascripts/spree/backend.js +2 -1
- data/app/assets/javascripts/spree/backend/admin.js +75 -66
- data/app/assets/javascripts/spree/backend/calculator.js +3 -3
- data/app/assets/javascripts/spree/backend/gateway.js +1 -1
- data/app/assets/javascripts/spree/backend/line_items_on_order_edit.js +23 -24
- data/app/assets/javascripts/spree/backend/promotions.js +4 -4
- data/app/assets/javascripts/spree/backend/shipments.js +32 -33
- data/app/assets/javascripts/spree/backend/taxonomy.js +75 -72
- data/app/assets/stylesheets/spree/backend/components/_badges.scss +46 -0
- data/app/assets/stylesheets/spree/backend/components/_buttons.scss +7 -23
- data/app/assets/stylesheets/spree/backend/components/_filters.scss +16 -6
- data/app/assets/stylesheets/spree/backend/components/_main.scss +4 -6
- data/app/assets/stylesheets/spree/backend/components/_navbar.scss +21 -0
- data/app/assets/stylesheets/spree/backend/components/_navigation.scss +2 -10
- data/app/assets/stylesheets/spree/backend/components/_page_header.scss +0 -23
- data/app/assets/stylesheets/spree/backend/components/_sidebar.scss +25 -69
- data/app/assets/stylesheets/spree/backend/components/_tables.scss +53 -12
- data/app/assets/stylesheets/spree/backend/components/_taxon_products_view.scss +2 -2
- data/app/assets/stylesheets/spree/backend/global/_variables.scss +10 -13
- data/app/assets/stylesheets/spree/backend/plugins/_jquery_ui.scss +33 -20
- data/app/assets/stylesheets/spree/backend/plugins/_select2.scss +23 -18
- data/app/assets/stylesheets/spree/backend/shared/_base.scss +0 -8
- data/app/assets/stylesheets/spree/backend/shared/_forms.scss +5 -38
- data/app/assets/stylesheets/spree/backend/spree_admin.css.scss +3 -6
- data/app/controllers/spree/admin/customer_returns_controller.rb +2 -2
- data/app/controllers/spree/admin/orders/customer_details_controller.rb +1 -1
- data/app/controllers/spree/admin/orders_controller.rb +2 -2
- data/app/controllers/spree/admin/payment_methods_controller.rb +1 -1
- data/app/controllers/spree/admin/products_controller.rb +2 -2
- data/app/controllers/spree/admin/reimbursement_types_controller.rb +1 -1
- data/app/controllers/spree/admin/resource_controller.rb +1 -1
- data/app/controllers/spree/admin/return_authorizations_controller.rb +1 -1
- data/app/controllers/spree/admin/stores_controller.rb +5 -0
- data/app/controllers/spree/admin/taxons_controller.rb +1 -1
- data/app/controllers/spree/admin/users_controller.rb +2 -2
- data/app/helpers/spree/admin/base_helper.rb +9 -4
- data/app/helpers/spree/admin/customer_returns_helper.rb +1 -1
- data/app/helpers/spree/admin/navigation_helper.rb +41 -25
- data/app/helpers/spree/admin/orders_helper.rb +2 -2
- data/app/views/kaminari/{_first_page.html.erb → twitter-bootstrap-4/_first_page.html.erb} +5 -3
- data/app/views/kaminari/{_gap.html.erb → twitter-bootstrap-4/_gap.html.erb} +5 -1
- data/app/views/kaminari/{_last_page.html.erb → twitter-bootstrap-4/_last_page.html.erb} +5 -3
- data/app/views/kaminari/{_next_page.html.erb → twitter-bootstrap-4/_next_page.html.erb} +5 -7
- data/app/views/kaminari/{_page.html.erb → twitter-bootstrap-4/_page.html.erb} +8 -2
- data/app/views/kaminari/{_paginator.html.erb → twitter-bootstrap-4/_paginator.html.erb} +3 -1
- data/app/views/kaminari/{_prev_page.html.erb → twitter-bootstrap-4/_prev_page.html.erb} +5 -7
- data/app/views/spree/admin/adjustments/_adjustment.html.erb +14 -4
- data/app/views/spree/admin/adjustments/_adjustments_table.html.erb +6 -6
- data/app/views/spree/admin/adjustments/index.html.erb +7 -5
- data/app/views/spree/admin/countries/_form.html.erb +13 -1
- data/app/views/spree/admin/customer_returns/index.html.erb +2 -2
- data/app/views/spree/admin/general_settings/edit.html.erb +14 -14
- data/app/views/spree/admin/images/_form.html.erb +2 -2
- data/app/views/spree/admin/images/edit.html.erb +6 -6
- data/app/views/spree/admin/option_types/_form.html.erb +2 -2
- data/app/views/spree/admin/option_types/edit.html.erb +5 -5
- data/app/views/spree/admin/orders/_add_line_item.html.erb +5 -5
- data/app/views/spree/admin/orders/_add_product.html.erb +5 -5
- data/app/views/spree/admin/orders/_adjustments.html.erb +4 -3
- data/app/views/spree/admin/orders/_line_items.html.erb +4 -4
- data/app/views/spree/admin/orders/_risk_analysis.html.erb +3 -3
- data/app/views/spree/admin/orders/_shipment.html.erb +5 -5
- data/app/views/spree/admin/orders/_shipment_manifest.html.erb +1 -1
- data/app/views/spree/admin/orders/customer_details/_form.html.erb +17 -17
- data/app/views/spree/admin/orders/customer_details/edit.html.erb +4 -4
- data/app/views/spree/admin/orders/index.html.erb +56 -33
- data/app/views/spree/admin/payment_methods/_form.html.erb +4 -4
- data/app/views/spree/admin/payments/_list.html.erb +3 -3
- data/app/views/spree/admin/payments/index.html.erb +1 -1
- data/app/views/spree/admin/product_properties/index.html.erb +10 -2
- data/app/views/spree/admin/products/_add_stock_form.html.erb +6 -6
- data/app/views/spree/admin/products/_form.html.erb +26 -31
- data/app/views/spree/admin/products/edit.html.erb +1 -1
- data/app/views/spree/admin/products/index.html.erb +5 -5
- data/app/views/spree/admin/products/new.html.erb +5 -5
- data/app/views/spree/admin/products/stock.html.erb +3 -3
- data/app/views/spree/admin/promotions/_actions.html.erb +4 -4
- data/app/views/spree/admin/promotions/_form.html.erb +7 -7
- data/app/views/spree/admin/promotions/_promotion_action.html.erb +4 -4
- data/app/views/spree/admin/promotions/_promotion_rule.html.erb +12 -5
- data/app/views/spree/admin/promotions/_rules.html.erb +5 -5
- data/app/views/spree/admin/promotions/actions/_create_adjustment.html.erb +5 -5
- data/app/views/spree/admin/promotions/actions/_create_item_adjustments.html.erb +5 -5
- data/app/views/spree/admin/promotions/actions/_create_line_items.html.erb +3 -3
- data/app/views/spree/admin/promotions/calculators/tiered_flat_rate/_fields.html.erb +10 -6
- data/app/views/spree/admin/promotions/calculators/tiered_percent/_fields.html.erb +10 -6
- data/app/views/spree/admin/promotions/edit.html.erb +5 -5
- data/app/views/spree/admin/promotions/index.html.erb +3 -3
- data/app/views/spree/admin/promotions/rules/_country.html.erb +2 -2
- data/app/views/spree/admin/promotions/rules/_item_total.html.erb +4 -4
- data/app/views/spree/admin/promotions/rules/_option_value.html.erb +8 -8
- data/app/views/spree/admin/promotions/rules/_product.html.erb +2 -2
- data/app/views/spree/admin/promotions/rules/_taxon.html.erb +2 -2
- data/app/views/spree/admin/promotions/rules/_user.html.erb +2 -2
- data/app/views/spree/admin/properties/_form.html.erb +2 -2
- data/app/views/spree/admin/properties/index.html.erb +3 -3
- data/app/views/spree/admin/prototypes/_prototypes.html.erb +10 -2
- data/app/views/spree/admin/reimbursement_types/_form.html.erb +6 -6
- data/app/views/spree/admin/reports/sales_total.html.erb +4 -2
- data/app/views/spree/admin/return_authorizations/index.html.erb +1 -1
- data/app/views/spree/admin/return_index/customer_returns.html.erb +3 -3
- data/app/views/spree/admin/return_index/return_authorizations.html.erb +15 -9
- data/app/views/spree/admin/shared/_account_nav.html.erb +60 -48
- data/app/views/spree/admin/shared/_address_form.html.erb +11 -4
- data/app/views/spree/admin/shared/_calculator_fields.html.erb +4 -4
- data/app/views/spree/admin/shared/_content_header.html.erb +4 -4
- data/app/views/spree/admin/shared/_header.html.erb +18 -21
- data/app/views/spree/admin/shared/_index_table_options.html.erb +4 -5
- data/app/views/spree/admin/shared/_main_menu.html.erb +37 -35
- data/app/views/spree/admin/shared/_order_summary.html.erb +6 -7
- data/app/views/spree/admin/shared/_order_tabs.html.erb +47 -20
- data/app/views/spree/admin/shared/_product_tabs.html.erb +35 -11
- data/app/views/spree/admin/shared/_refunds.html.erb +1 -1
- data/app/views/spree/admin/shared/_table_filter.html.erb +7 -5
- data/app/views/spree/admin/shared/_version.html.erb +4 -2
- data/app/views/spree/admin/shared/named_types/_form.html.erb +1 -1
- data/app/views/spree/admin/shared/sub_menu/_configuration.html.erb +1 -1
- data/app/views/spree/admin/shared/sub_menu/_product.html.erb +1 -1
- data/app/views/spree/admin/shared/sub_menu/_promotion.html.erb +1 -1
- data/app/views/spree/admin/shared/sub_menu/_returns.html.erb +1 -1
- data/app/views/spree/admin/shipping_methods/_form.html.erb +21 -21
- data/app/views/spree/admin/states/_form.html.erb +2 -2
- data/app/views/spree/admin/stock_locations/_form.html.erb +6 -6
- data/app/views/spree/admin/stock_locations/_transfer_stock_form.html.erb +4 -4
- data/app/views/spree/admin/stock_movements/index.html.erb +1 -1
- data/app/views/spree/admin/stock_transfers/index.html.erb +34 -32
- data/app/views/spree/admin/stock_transfers/new.html.erb +13 -11
- data/app/views/spree/admin/stores/_form.html.erb +5 -6
- data/app/views/spree/admin/stores/index.html.erb +3 -1
- data/app/views/spree/admin/tax_categories/_form.html.erb +1 -1
- data/app/views/spree/admin/tax_rates/_form.html.erb +11 -9
- data/app/views/spree/admin/taxons/_form.html.erb +4 -4
- data/app/views/spree/admin/users/_addresses_form.html.erb +10 -10
- data/app/views/spree/admin/users/_form.html.erb +2 -2
- data/app/views/spree/admin/users/_lifetime_stats.html.erb +3 -3
- data/app/views/spree/admin/users/_sidebar.html.erb +26 -11
- data/app/views/spree/admin/users/addresses.html.erb +4 -2
- data/app/views/spree/admin/users/edit.html.erb +8 -8
- data/app/views/spree/admin/users/index.html.erb +3 -3
- data/app/views/spree/admin/users/items.html.erb +2 -2
- data/app/views/spree/admin/users/orders.html.erb +2 -2
- data/app/views/spree/admin/variants/_autocomplete.js.erb +5 -5
- data/app/views/spree/admin/variants/_autocomplete_stock.js.erb +1 -1
- data/app/views/spree/admin/variants/_form.html.erb +2 -2
- data/app/views/spree/admin/variants/_split.js.erb +3 -3
- data/app/views/spree/admin/variants/index.html.erb +2 -2
- data/app/views/spree/admin/variants/new.html.erb +8 -6
- data/app/views/spree/admin/zones/_country_members.html.erb +4 -4
- data/app/views/spree/admin/zones/_form.html.erb +9 -9
- data/app/views/spree/admin/zones/_state_members.html.erb +4 -4
- data/app/views/spree/admin/zones/index.html.erb +2 -2
- data/app/views/spree/layouts/admin.html.erb +9 -6
- data/lib/spree/backend.rb +3 -2
- data/lib/spree_backend.rb +2 -1
- data/spree_backend.gemspec +3 -2
- metadata +39 -27
- data/app/assets/stylesheets/spree/backend/components/_labels.scss +0 -55
- data/app/assets/stylesheets/spree/backend/components/_panels.scss +0 -3
- data/app/assets/stylesheets/spree/backend/components/_wells.scss +0 -3
- data/app/assets/stylesheets/spree/backend/sections/_account.scss +0 -20
@@ -1,83 +1,39 @@
|
|
1
|
-
|
2
|
-
position: fixed;
|
3
|
-
top: $navbar-height + 2px;
|
4
|
-
bottom: 0;
|
5
|
-
left: 0;
|
6
|
-
padding: 0;
|
7
|
-
z-index: 1000;
|
8
|
-
display: block;
|
9
|
-
overflow-x: hidden;
|
1
|
+
.sidebar {
|
10
2
|
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
|
11
|
-
background-color:
|
12
|
-
border-right: 1px solid
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
-
|
19
|
-
-
|
3
|
+
background-color: $gray-100;
|
4
|
+
border-right: 1px solid $gray-200;
|
5
|
+
margin-top: 50px;
|
6
|
+
height: calc(100% - 50px);
|
7
|
+
z-index: 999;
|
8
|
+
|
9
|
+
a.sidebar-submenu-item:hover {
|
10
|
+
text-decoration: none;
|
11
|
+
background-color: $gray-200;
|
12
|
+
cursor: pointer
|
20
13
|
}
|
21
14
|
|
22
15
|
ul.nav-sidebar {
|
23
16
|
> li {
|
24
|
-
border-bottom: 1px solid $gray-lighter;
|
25
|
-
|
26
17
|
> a {
|
27
|
-
|
28
|
-
letter-spacing: 1px;
|
29
|
-
font-size: 12px;
|
30
|
-
font-weight: 500;
|
31
|
-
padding: 15px;
|
32
|
-
color: $gray;
|
18
|
+
color: $gray-700;
|
33
19
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
20
|
+
&:hover,
|
21
|
+
&[aria-expanded="true"] {
|
22
|
+
text-decoration: none;
|
23
|
+
background-color: $gray-200;
|
38
24
|
}
|
39
25
|
|
40
|
-
.
|
41
|
-
|
26
|
+
.icon-chevron-left,
|
27
|
+
.icon-chevron-down {
|
28
|
+
font-size: .5rem;
|
42
29
|
line-height: 2;
|
43
|
-
|
44
|
-
position: absolute;
|
45
|
-
right: 5px;
|
30
|
+
right: 1rem;
|
46
31
|
top: 50%;
|
47
|
-
margin-top:
|
48
|
-
}
|
49
|
-
}
|
50
|
-
}
|
51
|
-
}
|
52
|
-
|
53
|
-
ul.nav.nav-pills {
|
54
|
-
background-color: white;
|
55
|
-
border-top: 1px solid $gray-lighter;
|
56
|
-
|
57
|
-
li {
|
58
|
-
a {
|
59
|
-
padding: 5px 15px;
|
60
|
-
font-size: 12px;
|
61
|
-
|
62
|
-
&:hover {
|
63
|
-
border-radius: 0;
|
64
|
-
}
|
65
|
-
}
|
66
|
-
|
67
|
-
&.selected {
|
68
|
-
a {
|
69
|
-
color: $brand-success
|
32
|
+
margin-top: -.5rem;
|
70
33
|
}
|
71
34
|
}
|
72
35
|
}
|
73
36
|
}
|
74
|
-
|
75
|
-
.spree-version {
|
76
|
-
position: absolute;
|
77
|
-
z-index: -1;
|
78
|
-
left: 15px;
|
79
|
-
bottom: 15px;
|
80
|
-
}
|
81
37
|
}
|
82
38
|
|
83
39
|
#wrapper.sidebar-minimized #main-sidebar {
|
@@ -86,7 +42,7 @@
|
|
86
42
|
|
87
43
|
li {
|
88
44
|
&:hover, &.menu-active {
|
89
|
-
background-color: $gray-
|
45
|
+
background-color: $gray-100;
|
90
46
|
}
|
91
47
|
}
|
92
48
|
|
@@ -110,7 +66,7 @@
|
|
110
66
|
display: block !important;
|
111
67
|
height: auto !important;
|
112
68
|
position: fixed;
|
113
|
-
top:
|
69
|
+
top: 50px;
|
114
70
|
bottom: 0;
|
115
71
|
left: 0;
|
116
72
|
padding: 0;
|
@@ -121,9 +77,9 @@
|
|
121
77
|
left: 50px;
|
122
78
|
min-width: 180px;
|
123
79
|
visibility: visible;
|
124
|
-
background-color:
|
80
|
+
background-color: $gray-100;
|
125
81
|
border-top: none;
|
126
|
-
border-right: 1px solid
|
82
|
+
border-right: 1px solid $gray-200;
|
127
83
|
padding-top: 5px;
|
128
84
|
}
|
129
85
|
}
|
@@ -1,12 +1,14 @@
|
|
1
1
|
table.table {
|
2
|
+
font-size: $font-size-sm;
|
3
|
+
|
2
4
|
thead {
|
3
5
|
th {
|
4
6
|
text-transform: uppercase;
|
5
|
-
font-size: $font-size
|
7
|
+
font-size: $small-font-size;
|
6
8
|
padding-top: 14px;
|
7
9
|
padding-bottom: 14px;
|
8
|
-
vertical-align:
|
9
|
-
|
10
|
+
vertical-align: top;
|
11
|
+
border-top: 0;
|
10
12
|
|
11
13
|
a {
|
12
14
|
.glyphicon {
|
@@ -15,17 +17,20 @@ table.table {
|
|
15
17
|
}
|
16
18
|
}
|
17
19
|
}
|
20
|
+
|
18
21
|
tbody {
|
19
22
|
tr {
|
20
23
|
td {
|
21
24
|
vertical-align: middle;
|
25
|
+
|
22
26
|
.filterable {
|
23
|
-
font-size:
|
24
|
-
margin-left:
|
27
|
+
font-size: .8em;
|
28
|
+
margin-left: .2em;
|
25
29
|
color: white; // hidden, but space is reserved for the icon
|
26
30
|
cursor: pointer;
|
27
31
|
}
|
28
32
|
}
|
33
|
+
|
29
34
|
&:hover td .filterable {
|
30
35
|
color: #666;
|
31
36
|
}
|
@@ -35,22 +40,58 @@ table.table {
|
|
35
40
|
|
36
41
|
.table-active-filters {
|
37
42
|
display: none;
|
38
|
-
margin:
|
43
|
+
margin: -.5em 0 .9em;
|
39
44
|
|
40
|
-
.
|
45
|
+
.badge {
|
41
46
|
display: inline-block;
|
42
|
-
margin-right:
|
43
|
-
margin-bottom:
|
44
|
-
font-size: 85%;
|
47
|
+
margin-right: .5em;
|
48
|
+
margin-bottom: .5em;
|
45
49
|
|
46
50
|
&:hover {
|
47
|
-
opacity:
|
51
|
+
opacity: .8;
|
48
52
|
}
|
49
53
|
|
50
54
|
span.icon {
|
51
|
-
margin:
|
55
|
+
margin: .3em 0 0 .6em;
|
52
56
|
font-size: 80%;
|
53
57
|
cursor: pointer;
|
54
58
|
}
|
55
59
|
}
|
56
60
|
}
|
61
|
+
|
62
|
+
.card {
|
63
|
+
> .table,
|
64
|
+
.table-responsive > .table {
|
65
|
+
border-right: 0;
|
66
|
+
border-left: 0;
|
67
|
+
margin-bottom: 0;
|
68
|
+
|
69
|
+
&:last-child, &:last-of-type {
|
70
|
+
border-bottom: 0;
|
71
|
+
}
|
72
|
+
|
73
|
+
td:first-child,
|
74
|
+
th:first-child {
|
75
|
+
border-left: 0;
|
76
|
+
}
|
77
|
+
|
78
|
+
td:last-child,
|
79
|
+
th:last-child {
|
80
|
+
border-right: 0;
|
81
|
+
}
|
82
|
+
|
83
|
+
tr:first-child td,
|
84
|
+
tr:first-child th {
|
85
|
+
border-top: 0;
|
86
|
+
}
|
87
|
+
|
88
|
+
tr:last-child td {
|
89
|
+
border-bottom: 0;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
.card-header + .table,
|
94
|
+
.card-header + .table-responsive > .table {
|
95
|
+
border-top: 0;
|
96
|
+
}
|
97
|
+
}
|
@@ -21,7 +21,7 @@
|
|
21
21
|
position: absolute;
|
22
22
|
top: 14px;
|
23
23
|
left: 16px;
|
24
|
-
color: $gray;
|
24
|
+
color: $gray-500;
|
25
25
|
cursor: move;
|
26
26
|
}
|
27
27
|
.btn-group {
|
@@ -59,7 +59,7 @@
|
|
59
59
|
font-weight: bold;
|
60
60
|
}
|
61
61
|
div.price {
|
62
|
-
color: $gray;
|
62
|
+
color: $gray-500;
|
63
63
|
}
|
64
64
|
}
|
65
65
|
&:hover {
|
@@ -1,25 +1,22 @@
|
|
1
1
|
/*------------------------------------------
|
2
2
|
Colors
|
3
3
|
-----------------------------------------*/
|
4
|
-
$
|
5
|
-
$
|
6
|
-
$
|
7
|
-
$
|
8
|
-
$
|
4
|
+
$primary: darken(#478DC1, 10);
|
5
|
+
$success: darken(#7DB942, 2);
|
6
|
+
$info: #48B0F7;
|
7
|
+
$warning: #F8D053;
|
8
|
+
$danger: #F55753;
|
9
9
|
|
10
|
-
$input-border: darken(#EDEDED, 5);
|
10
|
+
$input-border-color: darken(#EDEDED, 5);
|
11
11
|
|
12
12
|
/*------------------------------------------
|
13
13
|
Components
|
14
14
|
-----------------------------------------*/
|
15
|
-
$border-radius
|
16
|
-
$padding-base-vertical: 8px;
|
17
|
-
$padding-base-horizontal: 16px;
|
15
|
+
$border-radius: 2px;
|
18
16
|
|
19
17
|
/*------------------------------------------
|
20
18
|
Fonts
|
21
19
|
-----------------------------------------*/
|
22
|
-
$headings-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
23
20
|
$headings-font-weight: 300;
|
24
21
|
|
25
22
|
/*------------------------------------------
|
@@ -29,9 +26,9 @@
|
|
29
26
|
/*------------------------------------------
|
30
27
|
Navbar
|
31
28
|
-----------------------------------------*/
|
32
|
-
$navbar-inverse-bg: darken($
|
29
|
+
$navbar-inverse-bg: darken($primary, 15);
|
33
30
|
|
34
31
|
/*------------------------------------------
|
35
|
-
|
32
|
+
Forms
|
36
33
|
-----------------------------------------*/
|
37
|
-
$
|
34
|
+
$label-margin-bottom: 0;
|
@@ -1,19 +1,19 @@
|
|
1
1
|
.ui-widget {
|
2
2
|
font-family: $headings-font-family;
|
3
|
-
font-size: $font-size-base
|
3
|
+
font-size: $font-size-base;
|
4
4
|
font-weight: 400;
|
5
5
|
}
|
6
6
|
|
7
7
|
#ui-datepicker-div {
|
8
8
|
background-color: white;
|
9
9
|
background-image: none;
|
10
|
-
color: $gray;
|
11
|
-
border-color: $input-border;
|
10
|
+
color: $gray-500;
|
11
|
+
border-color: $input-border-color;
|
12
12
|
width: auto;
|
13
13
|
padding: 20px;
|
14
14
|
|
15
15
|
&.ui-corner-all {
|
16
|
-
border-radius: $border-radius
|
16
|
+
border-radius: $border-radius;
|
17
17
|
}
|
18
18
|
|
19
19
|
.ui-datepicker-header {
|
@@ -28,8 +28,8 @@
|
|
28
28
|
background-image: none;
|
29
29
|
text-indent: 0;
|
30
30
|
vertical-align: bottom !important;
|
31
|
-
width:
|
32
|
-
color: $
|
31
|
+
width: 14px;
|
32
|
+
color: $primary;
|
33
33
|
|
34
34
|
&.ui-icon-circle-triangle-w {
|
35
35
|
@extend .glyphicon;
|
@@ -48,23 +48,25 @@
|
|
48
48
|
background-color: transparent;
|
49
49
|
transition: color 0.2s ease-in-out;
|
50
50
|
cursor: pointer;
|
51
|
-
|
51
|
+
|
52
52
|
span.ui-icon {
|
53
|
-
color: $
|
53
|
+
color: $success;
|
54
54
|
}
|
55
55
|
}
|
56
56
|
|
57
57
|
.ui-datepicker-next-hover {
|
58
|
-
right:
|
58
|
+
right: 2px;
|
59
|
+
top: 2px;
|
59
60
|
}
|
60
61
|
|
61
62
|
.ui-datepicker-prev-hover {
|
62
|
-
left:
|
63
|
+
left: 2px;
|
64
|
+
top: 2px;
|
63
65
|
}
|
64
66
|
|
65
67
|
.ui-datepicker-title {
|
66
68
|
font-weight: 500;
|
67
|
-
color: $gray;
|
69
|
+
color: $gray-500;
|
68
70
|
}
|
69
71
|
|
70
72
|
table.ui-datepicker-calendar {
|
@@ -72,7 +74,7 @@
|
|
72
74
|
span {
|
73
75
|
text-transform: uppercase;
|
74
76
|
letter-spacing: 1px;
|
75
|
-
color: $
|
77
|
+
color: $primary;
|
76
78
|
font-weight: 500;
|
77
79
|
}
|
78
80
|
}
|
@@ -80,10 +82,10 @@
|
|
80
82
|
td {
|
81
83
|
width: 31px;
|
82
84
|
height: 29px;
|
83
|
-
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
|
85
|
+
// transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
|
84
86
|
|
85
|
-
.ui-state-default,
|
86
|
-
.ui-widget-content .ui-state-default,
|
87
|
+
.ui-state-default,
|
88
|
+
.ui-widget-content .ui-state-default,
|
87
89
|
.ui-widget-header .ui-state-default {
|
88
90
|
background-color: transparent;
|
89
91
|
background-image: none;
|
@@ -92,18 +94,29 @@
|
|
92
94
|
font-weight: 300;
|
93
95
|
}
|
94
96
|
|
97
|
+
.ui-state-highlight {
|
98
|
+
@include button-variant($secondary, $secondary);
|
99
|
+
}
|
100
|
+
|
101
|
+
.ui-state-active {
|
102
|
+
@include button-variant($success, $success);
|
103
|
+
|
104
|
+
&:hover {
|
105
|
+
background-color: darken($success, 7);
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
95
109
|
&:hover {
|
96
|
-
background-color: $gray-
|
110
|
+
background-color: $gray-100;
|
97
111
|
}
|
98
112
|
|
99
113
|
&:active {
|
100
|
-
background-color: $
|
114
|
+
background-color: $success;
|
101
115
|
|
102
116
|
a {
|
103
|
-
color: white;
|
104
|
-
}
|
117
|
+
color: white;
|
118
|
+
}
|
105
119
|
}
|
106
120
|
}
|
107
121
|
}
|
108
122
|
}
|
109
|
-
|
@@ -2,14 +2,15 @@
|
|
2
2
|
display: block;
|
3
3
|
|
4
4
|
.select2-choice {
|
5
|
-
height: $input-height
|
5
|
+
height: $input-height;
|
6
6
|
line-height: 2.2;
|
7
|
-
border-color: $input-border;
|
7
|
+
border-color: $input-border-color;
|
8
8
|
background-image: none;
|
9
9
|
background-color: $input-bg;
|
10
10
|
|
11
|
-
&,
|
12
|
-
|
11
|
+
&,
|
12
|
+
.select2-arrow {
|
13
|
+
border-radius: $border-radius;
|
13
14
|
}
|
14
15
|
|
15
16
|
.select2-arrow {
|
@@ -17,7 +18,7 @@
|
|
17
18
|
background-color: $input-bg;
|
18
19
|
border-top-left-radius: 0;
|
19
20
|
border-bottom-left-radius: 0;
|
20
|
-
border-left-color: $input-border;
|
21
|
+
border-left-color: $input-border-color;
|
21
22
|
|
22
23
|
b {
|
23
24
|
background-position: 0 7px;
|
@@ -37,13 +38,14 @@
|
|
37
38
|
}
|
38
39
|
|
39
40
|
.select2-search input {
|
40
|
-
border-color: $input-border;
|
41
|
-
border-radius: $border-radius
|
41
|
+
border-color: $input-border-color;
|
42
|
+
border-radius: $border-radius;
|
43
|
+
background-image: none;
|
42
44
|
}
|
43
45
|
|
44
46
|
.select2-drop {
|
45
47
|
&, &.select2-drop-above {
|
46
|
-
border-radius: $border-radius
|
48
|
+
border-radius: $border-radius;
|
47
49
|
box-shadow: none;
|
48
50
|
}
|
49
51
|
}
|
@@ -54,13 +56,13 @@
|
|
54
56
|
}
|
55
57
|
}
|
56
58
|
|
57
|
-
.select2-dropdown-open.select2-drop-above .select2-choice,
|
59
|
+
.select2-dropdown-open.select2-drop-above .select2-choice,
|
58
60
|
.select2-dropdown-open.select2-drop-above .select2-choices {
|
59
61
|
background-image: none;
|
60
62
|
}
|
61
63
|
|
62
64
|
.select2-dropdown-open.select2-drop-above .select2-choice {
|
63
|
-
border-radius: 0 0 $border-radius
|
65
|
+
border-radius: 0 0 $border-radius $border-radius;
|
64
66
|
}
|
65
67
|
|
66
68
|
.select2-drop-above,
|
@@ -68,15 +70,15 @@
|
|
68
70
|
.select2-dropdown-open .select2-choice,
|
69
71
|
.select2-drop.select2-drop-above.select2-drop-active,
|
70
72
|
.select2-drop.select2-drop-active {
|
71
|
-
border-color: lighten($
|
73
|
+
border-color: lighten($success, 20);
|
72
74
|
}
|
73
75
|
|
74
76
|
.select2-result-label {
|
75
|
-
color: $gray;
|
77
|
+
color: $gray-900;
|
76
78
|
}
|
77
79
|
|
78
80
|
.select2-results .select2-highlighted {
|
79
|
-
background-color: $
|
81
|
+
background-color: $primary;
|
80
82
|
|
81
83
|
.select2-result-label {
|
82
84
|
color: white;
|
@@ -86,13 +88,16 @@
|
|
86
88
|
.select2-container-multi {
|
87
89
|
.select2-choices {
|
88
90
|
line-height: 1.8;
|
89
|
-
border-color: $input-border;
|
91
|
+
border-color: $input-border-color;
|
90
92
|
background-image: none;
|
91
93
|
background-color: $input-bg;
|
94
|
+
display: flex;
|
95
|
+
flex-wrap: wrap;
|
96
|
+
align-items: center;
|
92
97
|
|
93
98
|
.select2-search-choice {
|
94
|
-
@extend .
|
95
|
-
@extend .
|
99
|
+
@extend .badge;
|
100
|
+
@extend .badge-info;
|
96
101
|
|
97
102
|
box-shadow: none;
|
98
103
|
border: none;
|
@@ -121,7 +126,7 @@
|
|
121
126
|
&.select2-container-active {
|
122
127
|
.select2-choices {
|
123
128
|
box-shadow: none;
|
124
|
-
border-color: lighten($
|
129
|
+
border-color: lighten($success, 20);
|
125
130
|
}
|
126
131
|
}
|
127
|
-
}
|
132
|
+
}
|