Added a standard button class for anchor tags to become pseudo-buttons.
Button and anchor-button render exactly the same. Applied standard-small class to create group anchor.
This commit is contained in:
parent
d6ebbad3c9
commit
d5d52d4df9
@ -50,7 +50,7 @@ class Groups extends ImmutablePureComponent {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="group-column-header">
|
<div className="group-column-header">
|
||||||
<div className="group-column-header__cta"><Link to="/groups/create">{intl.formatMessage(messages.create)}</Link></div>
|
<div className="group-column-header__cta"><Link to="/groups/create" className="button standard-small">{intl.formatMessage(messages.create)}</Link></div>
|
||||||
<div className="group-column-header__title">{intl.formatMessage(messages.heading)}</div>
|
<div className="group-column-header__title">{intl.formatMessage(messages.heading)}</div>
|
||||||
|
|
||||||
<div className="column-header__wrapper">
|
<div className="column-header__wrapper">
|
||||||
|
@ -1,16 +1,20 @@
|
|||||||
button {
|
button,
|
||||||
|
a.button {
|
||||||
&.standard {
|
&.standard {
|
||||||
|
|
||||||
|
// NOTE - will define the larger standard buttons here and apply class where used.
|
||||||
|
|
||||||
&-small {
|
&-small {
|
||||||
background: $gab-small-cta-primary;
|
height: 20px;
|
||||||
color: white;
|
padding: 5px 15px;
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 1px;
|
|
||||||
font-size: 14px;
|
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
height: 25px;
|
@include font-size(11);
|
||||||
padding: 1px 12px;
|
@include line-height(11);
|
||||||
font-weight: bold;
|
@include font-weight(bold);
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: white;
|
||||||
|
background: $gab-small-cta-primary;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user