Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Changed paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Igloczek committed Jul 25, 2016
1 parent 834a477 commit c2c4cee
Show file tree
Hide file tree
Showing 131 changed files with 23,004 additions and 2 deletions.
132 changes: 132 additions & 0 deletions Magento_AdvancedCheckout/styles/_module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
.column {
.block-addbysku {
.fieldset {
margin: 0;
.fields {
position: relative;
.field {
display: inline-block;
margin-bottom: $indent__s;
vertical-align: top;
}
.actions-toolbar {
position: absolute;
right: 0;
top: 4px;
}
}
}
.sku {
@extend .abs-add-box-sizing;
margin-right: -155px;
padding-right: 160px;
width: 100%;
}
.skus {
> .label {
margin-top: $indent__s;
}
}
.qty {
.qty {
@extend .abs-input-qty;
+ .mage-error {
width: 80px;
}
}
}
.block-content {
@extend .abs-add-clearfix-desktop;
.box {
@extend .abs-blocks-2columns;
}
.actions-toolbar {
clear: both;
@include lib-actions-toolbar(
$_actions-toolbar-actions-position: left,
$_actions-toolbar-margin : 0 0 $indent__base
);
@include lib-actions-toolbar-clear-floats();
> .secondary {
text-align: left;
}
}
}
.reset {
margin: $indent__s 0;
}
.note {
display: block;
margin: 0 0 $indent__base;
}
}
}
.block-cart-failed {
@extend .abs-shopping-cart-items;
margin-top: $indent__xl;
.block-title {
font-size: headings($heading-h2, font-size);
strong {
font-weight: headings($heading-h2, font-weight);
}
}
.actions {
text-align: center;
.action {
margin-bottom: $indent__s;
}
}
}
//
// Mobile
// _____________________________________________
@include max-screen($screen__s) {
.column {
.block-addbysku {
.sku {
margin-right: -85px;
padding-right: 90px;
}
.action {
&.remove {
@include lib-button-icon(
$_icon-font-content : $icon-remove,
$_icon-font-text-hide: true,
$_icon-font-size : 28px,
$_icon-font-margin : 1px 0 0
);
@include lib-button-reset();
}
}
}
}
}
@include min-screen($screen__s) {
.column {
.block-addbysku {
.action {
&.remove {
@include lib-button-reset();
@include lib-button-as-link();
}
}
}
}
}
//
// Desktop
// _____________________________________________
@include min-screen($screen__m) {
.block-cart-failed {
@extend .abs-shopping-cart-items-desktop;
.actions {
text-align: left;
}
.actions.primary {
float: right;
}
.block-content {
@extend .abs-add-clearfix-desktop;
}
}
}
77 changes: 77 additions & 0 deletions Magento_AdvancedCheckout/styles/_widgets.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
.sidebar {
.block-addbysku {
.fieldset {
margin: 0;
.fields {
position: relative;
.field {
display: inline-block;
margin-bottom: $indent__s;
vertical-align: top;
&.sku {
@extend .abs-add-box-sizing;
margin-right: -85px;
padding-right: 90px;
width: 100%;
}
&.qty {
.qty {
@extend .abs-input-qty;
+ .mage-error {
width: 80px;
}
}
}
}
.actions-toolbar {
position: absolute;
right: 0;
top: 6px;
}
}
}
.form-addbysku {
.actions-toolbar {
margin-bottom: $indent__base;
.primary {
text-align: left;
.action {
width: auto;
}
}
.secondary {
float: none;
text-align: left;
}
}
}
.action {
&.add {
@include lib-button-icon(
$_icon-font-content : $icon-expand,
$_icon-font-text-hide: true,
$_icon-font-size : 31px
);
line-height: normal;
padding: 2px 0;
width: auto;
}
&.links {
display: inline-block;
margin: $indent__base 0 0;
}
&.reset {
display: block;
margin: $indent__s 0;
}
&.remove {
@include lib-button-icon(
$_icon-font-content : $icon-remove,
$_icon-font-text-hide: true,
$_icon-font-size : 28px
);
@include lib-button-reset();
}
}
}
}
34 changes: 34 additions & 0 deletions Magento_AdvancedSearch/styles/_module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
//
// Advanced Search
// _____________________________________________

// This part of code fixes the gap between page title and error message
// In Luma on Mobile screens we have top padding on '.column' to give room for absolutely positioned toolbar controls.
// If Advanced Search returns no results, controls do not appear, and visual gap appears.
// We compensate it with negative top margin applied to '.message.error' on Mobile screens.

//
// Common
// _____________________________________________

.catalogsearch-advanced-result {
.message {
&.error {
margin-top: -60px;
}
}
}

//
// Desktop
// _____________________________________________

@include min-screen($screen__s) {
.catalogsearch-advanced-result {
.message {
&.error {
margin-top: 0;
}
}
}
}
17 changes: 17 additions & 0 deletions Magento_Banner/styles/_widgets.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.block-banners,
.block-banners-inline {
@extend .abs-margin-for-blocks-and-widgets;
.banner-items {
@extend .abs-reset-list;
}
.banner-item {
display: block;
}
.banner-item-content {
margin-bottom: $indent__base;
img {
display: block;
margin: 0 auto;
}
}
}
96 changes: 96 additions & 0 deletions Magento_Braintree/styles/_module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
//
// Variables
// _____________________________________________

$braintree-input-border__color: $color-gray76;

$braintree-error__color : $color-red10;
$braintree-focus__color : $color-blue2;
$braintree-success__color : $color-dark-green1;

//
// Common
// _____________________________________________

.payment-method-braintree {

.hosted-date-wrap {
@extend .abs-add-clearfix;
}

.hosted-control {
@include lib-form-element-input($_type: input-text);
position: relative;
width: 225px;

&.braintree-hosted-fields-focused {
border-color: $braintree-focus__color;
}

&.braintree-hosted-fields-invalid:not(.braintree-hosted-fields-focused) {
border-color: $braintree-error__color;

& ~ .hosted-error {
height: auto;
opacity: 1;
}
}

&.braintree-hosted-fields-valid {
border-color: $braintree-success__color;
}

&.hosted-cid {
width: 85px;
}

&.hosted-date {
$distance: 50px;

float: left;
margin-bottom: 7px;
width: 100px;

&:first-of-type {
margin-right: $distance;

&:after {
content: '/';
display: inline;
padding-bottom: inherit;
padding-top: inherit;
position: absolute;
right: -$distance / 2;
top: 5px;
}
}
}
}

.field-tooltip {
right: 0;
}

.hosted-error {
clear: both;
color: $braintree-error__color;
font-size: 20px;
height: 0;
margin-top: 7px;
opacity: 0;
}
}

//
// Desktop
// _____________________________________________

@include min-screen($screen__m) {
.payment-method-braintree {
.cvv {
.field-tooltip {
left: 6rem;
}
}
}
}
13 changes: 13 additions & 0 deletions Magento_BraintreeTwo/styles/_module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.braintree-paypal-logo {
margin-top: $indent__s;
text-align: center;
}

.action-braintree-paypal-logo {
@include lib-button-reset();

img {
margin: 0;
width: 114px;
}
}
Loading

0 comments on commit c2c4cee

Please sign in to comment.