Replacing onebox loading gif with css spinner
This commit is contained in:
parent
2ff226e509
commit
0d81633da9
|
@ -1,12 +1,18 @@
|
|||
a.loading-onebox {
|
||||
background: {
|
||||
image: image-url("spinner_96.gif");
|
||||
position: 0;
|
||||
size: 20px;
|
||||
height: 25px;
|
||||
repeat: no-repeat;
|
||||
&:before {
|
||||
content: "";
|
||||
display: inline-flex;
|
||||
float: left;
|
||||
margin: 3px 5px 0 0;
|
||||
position: relative;
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border: 2px solid $primary-low-mid;
|
||||
border-right-color: transparent;
|
||||
border-radius: 50%;
|
||||
-webkit-animation: rotate-forever 1s infinite linear;
|
||||
animation: rotate-forever 1s infinite linear;
|
||||
}
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
||||
.onebox-result {
|
||||
|
@ -254,8 +260,7 @@ aside.onebox {
|
|||
|
||||
@mixin gdocs-logo($type) {
|
||||
&.g-#{$type}-logo {
|
||||
background: image-url("favicons/google_branding/logo_#{$type}_48px.png")
|
||||
no-repeat;
|
||||
background: image-url("favicons/google_branding/logo_#{$type}_48px.png") no-repeat;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -281,8 +286,7 @@ aside.onebox {
|
|||
width: 128px;
|
||||
height: 128px;
|
||||
&.g-calendar-logo {
|
||||
background: image-url("favicons/google_branding/logo_calendar_128px.png")
|
||||
no-repeat;
|
||||
background: image-url("favicons/google_branding/logo_calendar_128px.png") no-repeat;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue