| Current Path : /home/rtorresani/www/app/design/frontend/Magento/indaco/web/css/source/components/ |
| Current File : //home/rtorresani/www/app/design/frontend/Magento/indaco/web/css/source/components/_buttons.less |
// /**
// * Copyright © Magento, Inc. All rights reserved.
// * See COPYING.txt for license details.
// */
//
// Default appearance styles
// _____________________________________________
& when (@media-common = true) {
a,
button,
div {
&.pagebuilder-button-link {
padding: 11px 24px;
font-size: 14px;
line-height: 17px;
}
&.pagebuilder-button-primary {
padding: 11px 24px;
font-size: 14px;
line-height: 17px;
}
&.pagebuilder-button-secondary {
padding: 11px 24px;
font-size: 14px;
line-height: 17px;
}
}
}
.input-group {
position: relative;
display: flex;
flex-wrap: wrap;
align-items: stretch;
width: 100%;
input[type="text"],
input[type="password"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="number"],
input[type*="date"],
input[type="email"] {
position: relative;
flex: 1 1 auto;
width: auto;
height: auto;
min-width: 0;
padding: 0;
background: @color-white;
border-color: @border-color__base;
border-left-color: transparent;
border-right-color: transparent;
text-align: center;
}
button {
position: relative;
z-index: 2;
background: @color-white;
padding-top: 10px;
padding-bottom: 10px;
font-size: 0.75rem;
}
& > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
margin-left: -1px;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-color: @border-color__base;
border-left-color: transparent;
}
&:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3),
& > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-color: @border-color__base;
border-right-color: transparent;
}
}
.action.primary,
.action-primary {
&.outline {
background: transparent;
color: @theme__color__primary;
text-transform: uppercase;
border-radius: @button__border-radius;
}
}
.product-item {
.tocart {
padding-bottom: 12px;
padding-top: 12px;
font-size: 1.4rem;
line-height: 1.5rem;
}
}
.btn-block {
display: block;
width: 100%;
}
.input-group.qty-container {
.decreaseQty {
padding-right: 0;
}
.increaseQty {
padding-left: 0;
}
> input {
position: relative;
flex: 1 1 auto;
width: 1%;
min-width: 0;
margin-top: 0;
margin-bottom: 0;
}
}