Fixed scss lint errorsç

stable
Xavier Julián 2014-07-29 17:50:32 +02:00
parent f38635fd1f
commit d5f9fe4cc8
7 changed files with 36 additions and 32 deletions

View File

@ -14,7 +14,7 @@
flex-direction: row; flex-direction: row;
flex-wrap: nowrap; flex-wrap: nowrap;
justify-content: flex-start; justify-content: flex-start;
padding: .5rem 0 .5rem 0; padding: .5rem 0;
text-align: left; text-align: left;
width: 100%; width: 100%;
@for $i from 1 through 8 { @for $i from 1 through 8 {

View File

@ -41,3 +41,9 @@ ol { list-style: decimal; }
.draggable { .draggable {
cursor: move; cursor: move;
} }
// Background
%triangled-bg {
background: url('/images/bg.png') no-repeat center center;
background-size: cover;
}

View File

@ -1,7 +1,8 @@
.login-main { .login-main {
@include table-flex(center, center, flex, row, wrap, center); @include table-flex(center, center, flex, row, wrap, center);
background: url('/images/bg.png') no-repeat center center; @extend %triangled-bg;
background-size: cover;
bottom: 0; bottom: 0;
left: 0; left: 0;
position: fixed; position: fixed;

View File

@ -1,7 +1,7 @@
.wysiwyg { .wysiwyg {
margin-bottom: 2rem; margin-bottom: 2rem;
textarea { textarea {
background: white; background: $white;
max-height: none; max-height: none;
} }
} }

View File

@ -3,10 +3,12 @@
} }
.action-buttons { .action-buttons {
position: absolute; position: absolute;
top: 2rem;
right: 2rem; right: 2rem;
.delete-wiki, .edit-wiki, .save-wiki { top: 2rem;
float:right; .delete-wiki,
.edit-wiki,
.save-wiki {
float: right;
margin-left: 10px; margin-left: 10px;
} }
} }

View File

@ -39,17 +39,15 @@
} }
.icon-arrow-up { .icon-arrow-up {
@include transform(rotate(180deg)); @include transform(rotate(180deg));
@include transition (all .2s linear);
vertical-align: baseline; vertical-align: baseline;
&:hover,
&.active { &.active {
@include transform(rotate(0)); @include transform(rotate(0));
@include transition (all .2s ease-in); @include transition (all .2s linear);
} }
&.active { &:hover {
&:hover { @include transition(color .2s linear);
@include transition (all .2s ease-in); color: $fresh-taiga;
@include transform(rotate(180deg));
}
} }
} }
.icon-edit { .icon-edit {
@ -176,16 +174,15 @@
.sprint-name { .sprint-name {
.icon-arrow-up { .icon-arrow-up {
@include transform(rotate(180deg)); @include transform(rotate(180deg));
&:hover, @include transition (all .2s linear);
vertical-align: baseline;
&.active { &.active {
@include transform(rotate(0)); @include transform(rotate(0));
@include transition (all .2s ease-in); @include transition (all .2s linear);
} }
&.active { &:hover {
&:hover { @include transition(color .2s linear);
@include transform(rotate(180deg)); color: $fresh-taiga;
@include transition (all .2s ease-in);
}
} }
} }
} }
@ -199,16 +196,15 @@
.sprint-name { .sprint-name {
.icon-arrow-up { .icon-arrow-up {
@include transform(rotate(180deg)); @include transform(rotate(180deg));
&:hover, @include transition (all .2s linear);
vertical-align: baseline;
&.active { &.active {
@include transform(rotate(0)); @include transform(rotate(0));
@include transition (all .2s ease-in); @include transition (all .2s linear);
} }
&.active { &:hover {
&:hover { @include transition(color .2s linear);
@include transform(rotate(180deg)); color: $fresh-taiga;
@include transition (all .2s ease-in);
}
} }
} }
} }

View File

@ -1,7 +1,6 @@
.create-project { .create-project {
@include table-flex(center, center, flex, row, wrap, center); @include table-flex(center, center, flex, row, wrap, center);
background: url('/images/bg.png') no-repeat center center; @extend %triangled-bg;
background-size: cover;
bottom: 0; bottom: 0;
left: 0; left: 0;
position: fixed; position: fixed;
@ -15,8 +14,8 @@
@include table-flex-child(0, 400px, 0, 400px); @include table-flex-child(0, 400px, 0, 400px);
} }
h1 { h1 {
text-align: center;
color: $white; color: $white;
text-align: center;
} }
.logo, .logo,
.tagline { .tagline {