Refactor .push-button

This commit is contained in:
Rico Sta. Cruz 2017-08-29 05:08:19 +08:00
parent fb82f88bc6
commit d1cabcddd4
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
3 changed files with 20 additions and 20 deletions

View File

@ -20,23 +20,3 @@
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;
}
}

View File

@ -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;
}
}

View File

@ -23,6 +23,7 @@
@import './components/notice-box';
@import './components/page-actions';
@import './components/pages-list';
@import './components/push-button';
@import './components/search-box';
@import './components/side-ad';
@import './components/site-header';