Files
notifications-admin/app/assets/stylesheets/components/pill.scss
Chris Hill-Scott a0f6956eab Give headline numbers a blue, not black background
These numbers don’t look very clickable white-on-black.

Blue is the colour of links, so lets see if they are more clickable in
blue.

The same clicking-a-big-number thing is also happening on the activity
page, so this commit also changes the activity page to look the same.
2016-06-14 11:00:56 +01:00

58 lines
795 B
SCSS

.pill {
display: flex;
a,
span {
display: block;
padding: 10px;
flex-grow: 1;
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;
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;
}
}