forked from Endereco/endereco-wp5-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
endereco.scss
124 lines (111 loc) · 3.4 KB
/
endereco.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
@import './node_modules/@endereco/js-sdk/themes/default-theme.scss';
.woocommerce-input-wrapper {
position: relative;
}
div.endereco-modal__footer>button {
display: inline-block;
text-align: center;
word-break: break-word;
padding: 19px 10px;
margin-top: 1rem;
text-decoration: none;
font-size: 1em;
cursor: pointer;
box-sizing: border-box;
font-weight: 400;
transition: all .3s ease-in-out;
&:disabled {
background-color: #fff !important;
background-image: linear-gradient(to bottom, #fff 0%, #f8f8fa 100%) !important;
border: 1px solid #dadae5 !important;
color: #5f7285 !important;
cursor: not-allowed !important;
}
}
body.checkout-wc>div.endereco-popup-container>div.endereco-modal>div.endereco-modal__footer>button[endereco-edit-address=""],
body.checkout-wc>div.endereco-popup-container>div.endereco-modal>div.endereco-modal__footer>button[endereco-use-selection=""]{
background: var(--cfw-buttons-primary-background-color);
color: var(--cfw-buttons-primary-text-color);
border: 1px solid var(--cfw-buttons-primary-background-color);
&:hover {
background: var(--cfw-buttons-primary-hover-background-color);
border-color: var(--cfw-buttons-primary-hover-background-color);
color: var(--cfw-buttons-primary-hover-text-color);
}
}
body.checkout-wc>div.endereco-popup-container>div.endereco-modal>div.endereco-modal__footer>button[endereco-confirm-address=''] {
background: var(--cfw-buttons-secondary-background-color);
border: 1px solid var(--cfw-buttons-secondary-background-color);
color: var(--cfw-buttons-secondary-text-color);
&:hover {
background: var(--cfw-buttons-secondary-hover-background-color);
border-color: var(--cfw-buttons-secondary-hover-background-color);
color: var(--cfw-buttons-secondary-hover-text-color);
}
}
.endereco-address-predictions__label {
width: 100%;
padding-left: 60px !important;
}
.woocommerce-billing-fields>div.cfw-input-wrap-row>p>span.endereco-s,
.woocommerce-shipping-fields>div.cfw-input-wrap-row>p>span.endereco-s {
&--customer_verified,
&--salutation_correct,
&--first_name_correct,
&--last_name_correct,
&--title_correct,
&--email_correct,
&--address_correct,
&--postal_code_correct,
&--locality_correct,
&--street_name_correct,
&--street_full_correct,
&--building_number_correct,
&--additional_info_correct,
&--country_code_correct,
&--subdivision_code_correct,
&--phone_correct {
.input-text,
select,
.form-control,
.btn {
border: 1px solid #3FA33F !important;
background-color: #f8fcf8;
}
}
&--salutation_needs_correction,
&--first_name_needs_correction,
&--last_name_needs_correction,
&--title_needs_correction,
&--email_not_correct,
&--address_needs_correction,
&--address_multiple_variants,
&--address_not_found,
&--postal_code_needs_correction,
&--locality_needs_correction,
&--street_name_needs_correction,
&--street_full_needs_correction,
&--building_number_needs_correction,
&--additional_info_needs_correction,
&--country_code_needs_correction,
&--subdivision_code_needs_correction,
&--phone_invalid,
&--phone_needs_correction {
.input-text.input-text.input-text.input-text.input-text,
select,
.form-control,
.btn {
border: 1px solid #EB9E3E !important;
background-color: #fefbf8;
}
&.radio-inline {
border-bottom: 2px dotted rgb(240, 173, 78);
}
}
}
div.endereco-status-wrapper{
margin-top: 1rem;
}
p.address-field>span.woocommerce-input-wrapper>input.input-text {
display: inline;
}