Files
notifications-admin/app/assets/stylesheets/components/pill.scss
T

81 lines
1.1 KiB
SCSS
Raw Normal View History

.pill {
display: flex;
2016-04-18 11:10:47 +01:00
a,
span {
display: block;
2016-06-08 15:15:59 +01:00
padding: 10px;
flex-grow: 1;
2016-06-08 15:15:59 +01:00
text-align: left;
&:first-child {
margin-left: 0;
}
&:last-child {
margin-right: 0;
}
}
a {
$background: $link-colour;
background: $background;
color: $white;
border: 2px solid $background;
position: relative;
2016-06-08 15:15:59 +01:00
text-decoration: none;
cursor: pointer;
.pill-label {
text-decoration: underline;
}
&:link,
&:visited {
color: $white;
}
&:hover {
color: $light-blue-25;
}
&:active,
&:focus {
z-index: 10;
}
}
span {
border: 2px solid $black;
outline: 1px solid rgba($white, 0.1);
position: relative;
z-index: 1000;
color: $text-colour;
}
2016-04-18 11:10:47 +01:00
}
2016-09-20 11:46:56 +01:00
.pill-separate {
&-item {
display: block;
text-align: left;
padding: 10px $gutter-half;
&:link,
&:visited {
background: $link-colour;
color: $white;
text-decoration: underline;
}
&:hover {
color: $light-blue-25;
}
}
}