Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for styles #1

Merged
merged 5 commits into from
Apr 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"require": {
"magento/module-ui" : ">=100.1.0 < 102",
"mageworx/module-checkout" : ">=1.0.0",
"mageworx/module-deliverydate" : ">=1.8.6"
"mageworx/module-deliverydate" : ">=1.8.6 < 1.13.1"
},
"type": "magento2-module",
"version": "1.0.0",
"version": "1.0.1",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
5 changes: 5 additions & 0 deletions view/frontend/layout/mageworx_checkout_onepage_index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<page xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<css src="MageWorx_DeliveryDateCheckout::styles.css"/>
</head>
</page>
3 changes: 3 additions & 0 deletions view/frontend/web/images/chevron-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions view/frontend/web/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.delivery-date-container-checkout .admin__control-text,
.delivery-date-container-checkout .admin__control-select{
background-color: #f4f4f4!important;
border-color: #ffffff!important;
background-image: url(./images/chevron-down.svg)!important;
}

#delivery-date-container .admin__control-select,
#delivery-date-container .admin__control-text,
#delivery-date-container .admin__control-textarea {
font-family: inherit;
font-size: 1.6rem;
font-weight: 600;
}
2 changes: 1 addition & 1 deletion view/frontend/web/template/container.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* See LICENSE.txt for license details.
*/
-->
<div data-bind="visible: isVisible" id="delivery-date-container">
<div data-bind="visible: isVisible" id="delivery-date-container" class="delivery-date-container-checkout">
<each args="data: elems, as: 'element'">
<render if="hasTemplate()"/>
</each>
Expand Down