-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
189 additions
and
52 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
// Module IE Compatability | ||
|
||
@legacyMode: true; | ||
|
||
@import (reference) '../core/variables.less'; // Core configuration | ||
@import (reference) '../custom/variables.less'; // Custom configuration | ||
@import (reference) '../../modules/@{module}/css/core/variables.less'; // Module base configuration | ||
@import (reference) '../../modules/@{module}/css/custom/variables.less'; // Module custom configuration | ||
@import (reference) '../core/mixins.less'; // Mixins | ||
@import (reference) 'module-responsive.less'; // Responsive components | ||
|
||
// Override Component Output | ||
|
||
@tableEnabled: false; | ||
@formEnabled: false; | ||
@buttonEnabled: false; | ||
|
||
@import (reference) '../../modules/@{module}/css/core/base.less'; // Baseline | ||
|
||
.responsiveTesting () when (@responsiveTestMode = true) { | ||
body { | ||
.padding(bottom; 0); | ||
&:after { | ||
.hide(); | ||
} | ||
} | ||
} | ||
|
||
.responsiveTesting(); | ||
|
||
// Normalization | ||
|
||
table { | ||
white-space: normal; | ||
} | ||
button, | ||
input, | ||
select, | ||
textarea { | ||
.align-middle(); | ||
} | ||
.inline-block () { | ||
*display: inline; | ||
zoom: 1; | ||
} | ||
.clear () { | ||
*zoom: 1; | ||
} | ||
|
||
/////////////////// | ||
// Media Queries // | ||
/////////////////// | ||
|
||
html { | ||
font-family: "'@{ieBreakpoint}'"; | ||
} | ||
|
||
.ie-body (@width) { | ||
body { | ||
.min-width(@width); | ||
} | ||
} | ||
|
||
.fallback (@ieBreakpoint) when (@ieBreakpoint > 1) { | ||
.ie-body(@mobileLandscapeWidth); | ||
.mobile-landscape(); | ||
} | ||
.fallback (@ieBreakpoint) when (@ieBreakpoint > 2) { | ||
.ie-body(@tabletPortraitWidth); | ||
.tablet-portrait(); | ||
} | ||
.fallback (@ieBreakpoint) when (@ieBreakpoint > 3) { | ||
.ie-body(@desktopSmallWidth); | ||
.desktop-small(); | ||
} | ||
.fallback (@ieBreakpoint) when (@ieBreakpoint > 4) { | ||
.ie-body(@desktopMediumWidth); | ||
.desktop-medium(); | ||
} | ||
.fallback (@ieBreakpoint) when (@ieBreakpoint > 5) { | ||
.ie-body(@desktopLargeWidth); | ||
.desktop-large(); | ||
} | ||
|
||
.responsive () when (@responsiveEnabled = true) { | ||
.fallback(@ieBreakpoint); | ||
} | ||
|
||
.responsive(); |
21 changes: 13 additions & 8 deletions
21
assets/css/core/responsive-module.less → assets/css/core/module-responsive.less
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// Module Loading | ||
|
||
//@import '../../modules/forms/css/screen.less'; | ||
//@import '../../modules/module-name/css/style.less'; |
Oops, something went wrong.