Skip to content

Commit

Permalink
Merge pull request #1 from mageworx/design-fixes
Browse files Browse the repository at this point in the history
Fixes for styles
  • Loading branch information
SiarheyUchukhlebau authored Apr 21, 2021
2 parents ca29640 + 08cbafd commit a2c656b
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 3 deletions.
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="http://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

0 comments on commit a2c656b

Please sign in to comment.