kopia lustrzana https://github.com/wagtail/wagtail
various syntactic updates that sass requires
rodzic
257f892821
commit
15a81d5165
|
@ -129,14 +129,11 @@
|
|||
border:1px solid $color-grey-2;
|
||||
background:white
|
||||
}
|
||||
|
||||
/* FIXME: needs converting to valid SASS
|
||||
a&:hover,
|
||||
a&.primary:hover{
|
||||
border-color:$color-teal;
|
||||
color:$color-teal;
|
||||
}
|
||||
*/
|
||||
}
|
||||
a.status-tag:hover,
|
||||
a.status-tag.primary:hover{
|
||||
border-color:$color-teal;
|
||||
color:$color-teal;
|
||||
}
|
||||
|
||||
/* free tagging tags from taggit */
|
||||
|
@ -157,17 +154,17 @@
|
|||
content:"u";
|
||||
padding-right:0.5em;
|
||||
}
|
||||
/* FIXME: needs converting to valid SASS
|
||||
a&:hover{
|
||||
background-color:$color-teal-darker;
|
||||
color:white;
|
||||
}
|
||||
*/
|
||||
|
||||
.taglist &{
|
||||
margin-right:0.8em;
|
||||
}
|
||||
}
|
||||
a.tag:hover{
|
||||
background-color:$color-teal-darker;
|
||||
color:white;
|
||||
}
|
||||
|
||||
|
||||
.taglist {
|
||||
font-size:0.9em;
|
||||
line-height:2.4em;
|
||||
|
|
|
@ -649,7 +649,7 @@ fieldset, input, textarea, select{
|
|||
@include transition(background-color 0.2s ease);
|
||||
}
|
||||
input[type=submit], input[type=reset], input[type=button], .button, button{
|
||||
@include transition("background-color 0.2s ease, color 0.2s ease");
|
||||
@include transition(background-color 0.2s ease, color 0.2s ease);
|
||||
}
|
||||
.help{
|
||||
@include transition(opacity 0.2s ease);
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
opacity:0;
|
||||
}
|
||||
li{
|
||||
@include .nice-padding;
|
||||
@include nice-padding;
|
||||
padding-top:1.3em;
|
||||
padding-bottom:1.3em;
|
||||
color:white;
|
||||
|
@ -34,7 +34,7 @@
|
|||
|
||||
.ready .messages ul,
|
||||
.messages.appear ul{
|
||||
@include transition-immediate("top 0.5s ease, opacity 0.5s ease, max-height 1.2s ease");
|
||||
@include transition-immediate(top 0.5s ease, opacity 0.5s ease, max-height 1.2s ease);
|
||||
opacity:1;
|
||||
top:0;
|
||||
}
|
||||
|
|
|
@ -888,5 +888,5 @@ footer,
|
|||
@include transition-transform(0.2s ease);
|
||||
}
|
||||
.nav-main a, a{
|
||||
@include transition("color 0.2s ease, background-color 0.2s ease");
|
||||
@include transition(color 0.2s ease, background-color 0.2s ease);
|
||||
}
|
|
@ -21,7 +21,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
@mixin transition($transition){
|
||||
@mixin transition($transition...){
|
||||
body.ready &{
|
||||
-webkit-transition: $transition;
|
||||
-moz-transition: $transition;
|
||||
|
@ -29,14 +29,14 @@
|
|||
transition: $transition;
|
||||
}
|
||||
}
|
||||
@mixin transition-immediate($transition){
|
||||
@mixin transition-immediate($transition...){
|
||||
-webkit-transition: $transition;
|
||||
-moz-transition: $transition;
|
||||
-o-transition: $transition;
|
||||
transition: $transition;
|
||||
}
|
||||
|
||||
@mixin transition-transform($transition) {
|
||||
@mixin transition-transform($transition...) {
|
||||
-webkit-transition: -webkit-transform $transition;
|
||||
-moz-transition: -moz-transform $transition;
|
||||
-o-transition: -o-transform $transition;
|
||||
|
|
Ładowanie…
Reference in New Issue