Last active
February 27, 2020 07:02
-
-
Save DariaUshaeva/af9318c01c2843fcf3561f905fcb6ad2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/design/themes/bright_theme/styles/data/Bright_theme.less b/design/themes/bright_theme/styles/data/Bright_theme.less | |
index 5ac54a4..511b82d 100644 | |
--- a/design/themes/bright_theme/styles/data/Bright_theme.less | |
+++ b/design/themes/bright_theme/styles/data/Bright_theme.less | |
@@ -1195,6 +1195,7 @@ h3.ty-social-link__title{ | |
@checkout_control_description: #6c6c6c; | |
@checkout_control_label: #2e3a47; | |
@checkout_terms_background: #f9f9f9; | |
+@checkout_link: #4fbe31; | |
// ============================================================ Mixins | |
.product-title-color { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/design/themes/bright_theme/styles/schema.json b/design/themes/bright_theme/styles/schema.json | |
index d2b8758..507c95d 100644 | |
--- a/design/themes/bright_theme/styles/schema.json | |
+++ b/design/themes/bright_theme/styles/schema.json | |
@@ -63,6 +63,10 @@ | |
"decorative":{ | |
"description":"theme_editor.decorative_color" | |
}, | |
+ "checkout_link": { | |
+ "description": "theme_editor.checkout_link", | |
+ "default": "#4fbe31" | |
+ }, | |
"checkout_step_title": { | |
"description": "theme_editor.checkout_step_title", | |
"default": "#2e3a47" | |
@@ -84,27 +88,27 @@ | |
"default": "#a1a6aa" | |
}, | |
"checkout_control_border": { | |
- "description": "theme_editor.checkout_control_border", | |
+ "description": "theme_editor.checkout_selector_border", | |
"default": "#acbdcd" | |
}, | |
"checkout_selected_control_border": { | |
- "description": "theme_editor.checkout_selected_control_border", | |
+ "description": "theme_editor.checkout_active_selector_border", | |
"default": "#4fbe31" | |
}, | |
"checkout_control_background": { | |
- "description": "theme_editor.checkout_control_background", | |
+ "description": "theme_editor.checkout_selector_background", | |
"default": "#fff" | |
}, | |
"checkout_selected_control_background": { | |
- "description": "theme_editor.checkout_selected_control_background", | |
+ "description": "theme_editor.checkout_active_selector_background", | |
"default": "#fff" | |
}, | |
"checkout_control_title": { | |
- "description": "theme_editor.checkout_control_title", | |
+ "description": "theme_editor.checkout_selector_title", | |
"default": "#4fbe31" | |
}, | |
"checkout_control_description": { | |
- "description": "theme_editor.checkout_control_description", | |
+ "description": "theme_editor.checkout_selector_tooltip", | |
"default": "#6c6c6c" | |
}, | |
"checkout_control_label": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/design/themes/responsive/css/tygh/default_variables.less b/design/themes/responsive/css/tygh/default_variables.less | |
index 7aacf39..dc324b5 100644 | |
--- a/design/themes/responsive/css/tygh/default_variables.less | |
+++ b/design/themes/responsive/css/tygh/default_variables.less | |
@@ -80,4 +80,5 @@ | |
@checkout_control_title: #4fbe31; | |
@checkout_control_description: #6c6c6c; | |
@checkout_control_label: #2e3a47; | |
-@checkout_terms_background: #f9f9f9; | |
\ No newline at end of file | |
+@checkout_terms_background: #f9f9f9; | |
+@checkout_link: #4fbe31; | |
\ No newline at end of file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/design/themes/responsive/css/tygh/lite_checkout.less b/design/themes/responsive/css/tygh/lite_checkout.less | |
index 9b9d5dd..4013691 100644 | |
--- a/design/themes/responsive/css/tygh/lite_checkout.less | |
+++ b/design/themes/responsive/css/tygh/lite_checkout.less | |
@@ -4,7 +4,7 @@ | |
.litecheckout { | |
&__link { | |
- color: #4fbe32; | |
+ .set_text_color(@checkout_link, #4fbe32); | |
} | |
&__shippings { | |
@@ -289,6 +289,37 @@ | |
&--xlarge { | |
flex-basis: ~"calc(75% - 1rem)"; | |
} | |
+ | |
+ & .ty-tiles { | |
+ &__wrapper { | |
+ border: 1px solid; | |
+ .set_border_color(@checkout_control_border, #acbdcd); | |
+ .set_button_background_color(@checkout_control_background, #fff); | |
+ | |
+ &:hover { | |
+ .set_border_color(darken(@checkout_control_border, 10%), #acbdcd); | |
+ } | |
+ } | |
+ | |
+ &__title { | |
+ .set_text_color(@checkout_control_title, #4fbe31); | |
+ } | |
+ | |
+ &__text { | |
+ .set_text_color(@checkout_control_description, #6c6c6c); | |
+ } | |
+ | |
+ &__link{ | |
+ .set_text_color(@checkout_link, #4fbe31); | |
+ } | |
+ | |
+ &__radio:checked+.ty-tiles__wrapper { | |
+ border: 1px solid; | |
+ .set_border_color(@checkout_selected_control_border, #4fbe31); | |
+ .set_shadow(@checkout_selected_control_border, 0, 0, #4fbe31); | |
+ .set_button_background_color(@checkout_selected_control_background, #fff); | |
+ } | |
+ } | |
} | |
&__label, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/design/themes/responsive/styles/schema.json b/design/themes/responsive/styles/schema.json | |
index cd78928..4851210 100644 | |
--- a/design/themes/responsive/styles/schema.json | |
+++ b/design/themes/responsive/styles/schema.json | |
@@ -63,6 +63,10 @@ | |
"decorative": { | |
"description": "theme_editor.decorative_color" | |
}, | |
+ "checkout_link": { | |
+ "description": "theme_editor.checkout_link", | |
+ "default": "#4fbe31" | |
+ }, | |
"checkout_input_border": { | |
"description": "theme_editor.checkout_input_border", | |
"default": "#acbdcd" | |
@@ -84,27 +88,27 @@ | |
"default": "#a1a6aa" | |
}, | |
"checkout_control_border": { | |
- "description": "theme_editor.checkout_control_border", | |
+ "description": "theme_editor.checkout_selector_border", | |
"default": "#acbdcd" | |
}, | |
"checkout_selected_control_border": { | |
- "description": "theme_editor.checkout_selected_control_border", | |
+ "description": "theme_editor.checkout_active_selector_border", | |
"default": "#4fbe31" | |
}, | |
"checkout_control_background": { | |
- "description": "theme_editor.checkout_control_background", | |
+ "description": "theme_editor.checkout_selector_background", | |
"default": "#fff" | |
}, | |
"checkout_selected_control_background": { | |
- "description": "theme_editor.checkout_selected_control_background", | |
+ "description": "theme_editor.checkout_active_selector_background", | |
"default": "#fff" | |
}, | |
"checkout_control_title": { | |
- "description": "theme_editor.checkout_control_title", | |
+ "description": "theme_editor.checkout_selector_title", | |
"default": "#4fbe31" | |
}, | |
"checkout_control_description": { | |
- "description": "theme_editor.checkout_control_description", | |
+ "description": "theme_editor.checkout_selector_tooltip", | |
"default": "#6c6c6c" | |
}, | |
"checkout_control_label": { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment