Refactor .push-button
This commit is contained in:
parent
fb82f88bc6
commit
d1cabcddd4
|
@ -20,23 +20,3 @@
|
||||||
color: $base-mute;
|
color: $base-mute;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.push-button {
|
|
||||||
display: inline-block;
|
|
||||||
text-decoration: none;
|
|
||||||
padding: 8px 16px;
|
|
||||||
border-radius: 3px;
|
|
||||||
|
|
||||||
&,
|
|
||||||
&:visited {
|
|
||||||
background: $base-a;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover,
|
|
||||||
&:focus {
|
|
||||||
background: darken($base-a, 16%);
|
|
||||||
box-shadow: none;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
.push-button {
|
||||||
|
display: inline-block;
|
||||||
|
text-decoration: none;
|
||||||
|
padding: 8px 16px;
|
||||||
|
border-radius: 3px;
|
||||||
|
|
||||||
|
&,
|
||||||
|
&:visited {
|
||||||
|
background: $base-a;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
background: darken($base-a, 16%);
|
||||||
|
box-shadow: none;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
}
|
|
@ -23,6 +23,7 @@
|
||||||
@import './components/notice-box';
|
@import './components/notice-box';
|
||||||
@import './components/page-actions';
|
@import './components/page-actions';
|
||||||
@import './components/pages-list';
|
@import './components/pages-list';
|
||||||
|
@import './components/push-button';
|
||||||
@import './components/search-box';
|
@import './components/search-box';
|
||||||
@import './components/side-ad';
|
@import './components/side-ad';
|
||||||
@import './components/site-header';
|
@import './components/site-header';
|
||||||
|
|
Loading…
Reference in New Issue