// foundation.zurb.com
// Licensed under MIT Open Source
-// scss-lint:disable ColorVariable, QualifyingElement, VendorPrefix
+// sass-lint:disable force-attribute-nesting, force-pseudo-nesting, no-color-literals, no-qualifying-elements
////
/// @group global
}
// Styles Google Maps and MapQuest embeds properly
- // scss-lint:disable IdSelector
- #map_canvas,
+ // sass-lint:disable-line no-ids
.map_canvas,
.mqa-display {
img,
}
}
- // scss-lint:disable ZeroUnit
#{$selector} {
@if $global-flexbox {
- flex: 1 1 0px;
+ flex: 1 1 0px; // sass-lint:disable-line zero-unit
}
@else {
@for $i from 2 through $buttongroup-expand-max {
@mixin button-group-unstack(
$selector: $buttongroup-child-selector
) {
- // scss-lint:disable ZeroUnit
#{$selector} {
@if $global-flexbox {
- flex: 1 1 0px;
+ flex: 1 1 0px; // sass-lint:disable-line zero-unit
}
@else {
width: auto;
}
}
- // scss-lint:disable MergeableSelector
- &.stacked-for-small.expanded {
+ &.stacked-for-small.expanded { // sass-lint:disable-line force-element-nesting
@include breakpoint(small only) {
display: block;
}
// [TODO] Cut back specificity
- // scss-lint:disable SelectorDepth
//&:not(.js-dropdown-nohover) > .is-dropdown-submenu-parent:hover > &, // why is this line needed? Opening is handled by JS and this causes some ugly flickering when the sub is re-positioned automatically...
&.js-dropdown-active {
display: block;
@include media-object-section;
@if $global-flexbox {
- // scss-lint:disable ZeroUnit
&.main-section {
- flex: 1 1 0px;
+ flex: 1 1 0px; // sass-lint:disable-line zero-unit
}
}
@else {
/// Expands the items of a Menu, so each item is the same width.
@mixin menu-expand {
@if $global-flexbox {
- // scss-lint:disable ZeroUnit
> li {
- flex: 1 1 0px;
+ flex: 1 1 0px; // sass-lint:disable-line zero-unit
}
}
@else {
/// Creates a full-screen modal, which stretches the full width and height of the window.
@mixin reveal-modal-fullscreen {
- // scss-lint:disable DuplicateProperty
top: 0;
left: 0;
width: 100%;
max-width: none;
height: 100%;
- height: 100vh;
+ height: 100vh; // sass-lint:disable-line no-duplicate-properties
min-height: 100vh;
margin-left: 0;
@mixin foundation-reveal {
// [TODO] Is this necessary?
- // scss-lint:disable QualifyingElement
- body.is-reveal-open {
+ body.is-reveal-open { // sass-lint:disable-line no-qualifying-elements
overflow: hidden;
}
// foundation.zurb.com
// Licensed under MIT Open Source
-// scss-lint:disable MergeableSelector, QualifyingElement
+// sass-lint:disable force-element-nesting, no-qualifying-elements
////
/// @group table
}
@if $global-flexbox {
- // scss-lint:disable ZeroUnit
.title-bar-left,
.title-bar-right {
- flex: 1 1 0px;
+ flex: 1 1 0px; // sass-lint:disable-line zero-unit
}
.title-bar-right {
margin-#{$global-right}: 0;
}
- // scss-lint:disable QualifyingElement
- input.button {
+ input.button { // sass-lint:disable-line no-qualifying-elements
width: auto;
}
}
@if $global-flexbox {
flex-wrap: nowrap;
- // scss-lint:disable ZeroUnit
.top-bar-left {
flex: 1 1 auto;
}
@extend %input-group-child;
border-radius: 0;
- // scss-lint:disable ZeroUnit
@if $global-flexbox {
- flex: 1 1 0px;
+ flex: 1 1 0px; // sass-lint:disable-line zero-unit
height: auto;
}
@else {
}
// Specificity bump needed to prevent override by buttons
- // scss-lint:disable QualifyingSelector
@if not $global-flexbox {
.input-group .input-group-button {
display: table-cell;
$slider-radius: $global-radius !default;
@mixin foundation-range-input {
- // scss-lint:disable QualifyingElement
- input[type="range"] {
+ input[type="range"] { // sass-lint:disable-line no-qualifying-elements
$margin: ($slider-handle-height - $slider-height) / 2;
display: block;
}
// Reset Normalize setting content-box to search elements
- // scss-lint:disable QualifyingElement
- input[type='search'] {
+ input[type='search'] { // sass-lint:disable-line no-qualifying-elements
box-sizing: border-box;
}
@if $column == 'column' {
.columns {
- // scss-lint:disable PlaceholderInExtend
+ // sass-lint:disable-block placeholder-in-extend
@extend .column;
}
}
///
/// @param {Mixed} $columns [expand] - Width of the column.
@function flex-grid-column($columns: expand) {
- // scss-lint:disable ZeroUnit
- $flex: 1 1 0px;
+ $flex: 1 1 0px; // sass-lint:disable-line zero-unit
@if $columns == shrink {
$flex: 0 0 auto;
}
.columns {
- // scss-lint:disable PlaceholderInExtend
- @extend .column;
+ @extend .column; // sass-lint:disable-line placeholder-in-extend
+
}
}
// Remove this in 6.3
$grid-column-responsive-gutter: null !default;
@if $grid-column-responsive-gutter {
- // scss-lint:disable DebugStatement
@warn 'Rename $grid-column-responsive-gutter to $grid-column-gutter to remove this warning.';
$grid-column-gutter: $grid-column-responsive-gutter;
}
$print-transparent-backgrounds: true !default;
$print-hrefs: true !default;
-// scss-lint:disable all
+// sass-lint:disable-all
@mixin foundation-print-styles {
.show-for-print { display: none !important; }
/// @group typography
////
-// scss-lint:disable DeclarationOrder
-
// Base typography styles (tags only)
@import 'base';
/// @group breakpoints
////
-// scss-lint:disable ZeroUnit
-
/// A list of named breakpoints. You can use these with the `breakpoint()` mixin to quickly create media queries.
/// @type Map
$breakpoints: (
$global-font-size: 100% !default;
-// scss-lint:disable ZeroUnit
-
/// Removes the unit (e.g. px, em, rem) from a value, returning the number only.
///
/// @param {Number} $num - Number to strip unit from.