Browse Source

Fixes warning by scss-lint

pull/613/merge^2
Daijiro Wachi 11 years ago
parent
commit
39612ae50d
  1. 14
      sass/docs.scss
  2. 2
      sass/mixins.scss
  3. 2
      sass/normalize.scss
  4. 36
      sass/ratchet.scss
  5. 10
      sass/theme-android.scss
  6. 6
      sass/theme-ios.scss
  7. 4
      sass/toggles.scss

14
sass/docs.scss

@ -1,5 +1,5 @@
@import "variables.scss"; @import 'variables.scss';
@import "mixins.scss"; @import 'mixins.scss';
// Clearfix mixin for docs // Clearfix mixin for docs
@ -266,7 +266,7 @@ body {
margin-left: -10px; margin-left: -10px;
border-right: 10px solid transparent; border-right: 10px solid transparent;
border-bottom: 10px solid #fff; border-bottom: 10px solid #fff;
border-left: 10px solid transparent border-left: 10px solid transparent;
} }
.docs-component-item { .docs-component-item {
display: block; display: block;
@ -686,7 +686,7 @@ code {
width: 100%; width: 100%;
text-align: center; text-align: center;
font-size: 24px; font-size: 24px;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.5); text-shadow: 0 0 10px rgba(0, 0, 0, .5);
color: #fff; color: #fff;
} }
.component-example-fullbleed, .component-example-fullbleed,
@ -890,7 +890,7 @@ code {
height: 813px; height: 813px;
margin-left: -20px; margin-left: -20px;
font-family: "Helvetica Neue", sans-serif; font-family: "Helvetica Neue", sans-serif;
background-image: url("../img/device-sprite.png"); background-image: url('../img/device-sprite.png');
background-size: 300%; background-size: 300%;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 0 0; background-position: 0 0;
@ -1008,7 +1008,7 @@ hr {
// -------------------------------------------------- // --------------------------------------------------
.platform-ios { .platform-ios {
@import "theme-ios.scss"; @import 'theme-ios.scss';
.device { .device {
background-position: -395px 0; background-position: -395px 0;
@ -1019,7 +1019,7 @@ hr {
} }
} }
.platform-android { .platform-android {
@import "theme-android.scss"; @import 'theme-android.scss';
.device { .device {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;

2
sass/mixins.scss

@ -23,7 +23,7 @@
&:before, &:before,
&:after { &:after {
display: table; // 2 display: table; // 2
content: " "; // 1 content: ' '; // 1
} }
&:after { &:after {
clear: both; clear: both;

2
sass/normalize.scss vendored

@ -131,7 +131,7 @@ dfn {
// //
h1 { h1 {
margin: 0.67em 0; margin: .67em 0;
font-size: 2em; font-size: 2em;
} }

36
sass/ratchet.scss

@ -1,30 +1,30 @@
// Variables // Variables
@import "variables.scss"; @import 'variables.scss';
// Mixins // Mixins
@import "mixins.scss"; @import 'mixins.scss';
// Normalize & Base CSS // Normalize & Base CSS
@import "normalize.scss"; @import 'normalize.scss';
@import "base.scss"; @import 'base.scss';
@import "type.scss"; @import 'type.scss';
// Components // Components
@import "buttons.scss"; @import 'buttons.scss';
@import "bars.scss"; @import 'bars.scss';
@import "badges.scss"; @import 'badges.scss';
@import "cards.scss"; @import 'cards.scss';
@import "table-views.scss"; @import 'table-views.scss';
@import "forms.scss"; @import 'forms.scss';
@import "segmented-controls.scss"; @import 'segmented-controls.scss';
@import "popovers.scss"; @import 'popovers.scss';
// Javascript components // Javascript components
@import "modals.scss"; @import 'modals.scss';
@import "sliders.scss"; @import 'sliders.scss';
@import "toggles.scss"; @import 'toggles.scss';
@import "push.scss"; @import 'push.scss';
// Ratchicons // Ratchicons
@import "ratchicons.scss"; @import 'ratchicons.scss';

10
sass/theme-android.scss

@ -1,4 +1,4 @@
@import "mixins.scss"; @import 'mixins.scss';
// //
// Android theme // Android theme
@ -21,13 +21,13 @@ $line-height-default: 22px !global;
// //
// Main theme colors // Main theme colors
$primary-color: #33b5e5 !global; $primary-color: #33b5e5 !global;
$chrome-color: #dddddd !global; $chrome-color: #ddd !global;
$text-color: #222 !global; $text-color: #222 !global;
// Action colors // Action colors
$default-color: #999 !global; $default-color: #999 !global;
$positive-color: #99cc00 !global; $positive-color: #9c0 !global;
$negative-color: #ff4444 !global; $negative-color: #f44 !global;
// Bars // Bars
$bar-base-height: 50px !global; $bar-base-height: 50px !global;
@ -200,7 +200,7 @@ a {
.btn-link { .btn-link {
color: $primary-color; color: $primary-color;
background-color: transparent; background-color: transparent;
border: none; border: 0;
@include box-shadow(none); @include box-shadow(none);
&:active, &:active,

6
sass/theme-ios.scss

@ -1,4 +1,4 @@
@import "mixins.scss"; @import 'mixins.scss';
// //
// iOS theme // iOS theme
@ -149,7 +149,7 @@ p {
.btn-link { .btn-link {
color: $primary-color; color: $primary-color;
background-color: transparent; background-color: transparent;
border: none; border: 0;
&:active, &:active,
&.active { &.active {
@ -480,7 +480,7 @@ textarea,
.popover { .popover {
border-radius: 12px; border-radius: 12px;
@include transition(-webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in-out); @include transition(-webkit-transform .2s ease-in-out, opacity .2s ease-in-out);
&:before { &:before {
border-bottom: 15px solid $chrome-color; border-bottom: 15px solid $chrome-color;

4
sass/toggles.scss

@ -36,7 +36,7 @@
font-size: 13px; font-size: 13px;
color: #999; color: #999;
text-transform: uppercase; text-transform: uppercase;
content: "Off"; content: 'Off';
} }
// Active state for toggle // Active state for toggle
@ -52,7 +52,7 @@
right: auto; right: auto;
left: 15px; left: 15px;
color: #fff; color: #fff;
content: "On"; content: 'On';
} }
} }
// Hide the checkbox // Hide the checkbox

Loading…
Cancel
Save