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
# Default application configuration that all configurations inherit from. | |
# Linters Explanation: | |
# https://github.com/causes/scss-lint/blob/master/lib/scss_lint/linter/README.md | |
scss_files: "**/*.scss" | |
linters: | |
# !前後のフォーマット | |
BangFormat: | |
enabled: true |
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
// Foundation by ZURB | |
// foundation.zurb.com | |
// Licensed under MIT Open Source | |
// SYSTEM BUTTON | |
//////////////////////////////////////////////////////////////////// | |
// VARIABLES | |
//////////////////////////////////// | |
// Padding for buttons. |
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
@mixin font-size($sizeValue: 1.6, $force: false) { | |
$unit: unit($sizeValue); | |
@if $unit == "px" { | |
$sizeValue: strip-unit($sizeValue); | |
@if $force == true { | |
font-size: $sizeValue + px !important; | |
font-size: rem-calc($sizeValue) !important; | |
} @else { | |
font-size: $sizeValue + px; | |
font-size: rem-calc($sizeValue); |
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
@mixin font-face($fontname, $fontpath, $hasSVG: false, $isBold: false, $hasStyle: false) { | |
@font-face { | |
font-family: $fontname; | |
src: url('#{$fontpath}.eot?rev=#{$rev}'); | |
src: url('#{$fontpath}.eot?iefix&rev=#{$rev}') format('eot'), | |
url('#{$fontpath}.woff?rev=#{$rev}') format('woff'), | |
url('#{$fontpath}.ttf?rev=#{$rev}') format('truetype'), | |
url('#{$fontpath}.svg?rev=#{$rev}#webfontjSpbZQRv') format('svg'); | |
@if $isBold { | |
font-weight: bold; |
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
@mixin inline-block($force: false) { | |
@if $force { | |
display: inline-block !important; | |
} | |
@else { | |
display: inline-block; | |
} | |
@at-root { | |
.ie7 & { | |
@if $force { |
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
// PAGINATION | |
//////////////////////////////////////////////////////////////////// | |
// Markup Example: | |
// <ul class="pagination"> | |
// <li class="first-off"><span class="ficon ficon-first" title="最初へ"></span></li> | |
// <li class="previous-off"><span class="ficon ficon-previous" title="前へ"></span></li> | |
// <li class="active">1</li> | |
// <li><a href="javascript:void 0;">2</a></li> | |
// <li><a href="javascript:void 0;">3</a></li> |
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
// Flexible video | |
//////////////////////////////////// | |
$flex-video-classname: "flex-video" !default; | |
$flex-video-fallback-max-width: 490px !default; | |
.#{$flex-video-classname} { | |
position: relative; | |
height: 0; | |
max-width: 100%; | |
margin-bottom: 1.6em !important; |
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
@function strip-unit($num) { | |
@return $num / ($num * 0 + 1); | |
} |
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
@mixin rempx($property, $values...) { | |
$values: concat-list($values); | |
$max: length($values); | |
$pxValues: ''; | |
$remValues: ''; | |
@for $i from 1 through $max { | |
$value: nth($values, $i); | |
@if $value == auto { | |
$pxValues: #{$pxValues + $value}; |
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
@function concat-list($nestedList) { | |
$list: (); | |
@each $elem in $nestedList { | |
@if type-of($elem) == list { | |
$elem: concat-list($elem); | |
} | |
$list: join($list, $elem); | |
} | |
@return $list; | |
} |