2016-04-13 12:50:28 +01:00
|
|
|
|
.pill {
|
|
|
|
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
2017-02-14 14:21:36 +00:00
|
|
|
|
li {
|
|
|
|
|
|
width: 25%;
|
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
|
text-align: left;
|
2018-11-13 14:22:48 +00:00
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
For browsers that don’t support flexbox, use float instead.
|
|
|
|
|
|
Float does not create floating of flex item, and do not take it
|
|
|
|
|
|
out-of-flow. So this is ignored by browsers that support flexbox.
|
|
|
|
|
|
See: https://www.w3.org/TR/css-flexbox-1/#flex-containers
|
|
|
|
|
|
*/
|
2018-11-13 14:01:19 +00:00
|
|
|
|
float: left;
|
2017-02-14 14:21:36 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2016-04-18 11:10:47 +01:00
|
|
|
|
a,
|
2017-02-14 15:09:54 +00:00
|
|
|
|
&-selected-item {
|
2016-04-13 12:50:28 +01:00
|
|
|
|
display: block;
|
2017-01-23 10:34:08 +00:00
|
|
|
|
float: left;
|
2017-02-14 14:21:36 +00:00
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
width: 100%;
|
2016-06-08 15:15:59 +01:00
|
|
|
|
padding: 10px;
|
2016-04-13 12:50:28 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
a {
|
2016-06-08 15:41:02 +01:00
|
|
|
|
$background: $link-colour;
|
|
|
|
|
|
background: $background;
|
|
|
|
|
|
color: $white;
|
|
|
|
|
|
border: 2px solid $background;
|
2016-04-13 12:50:28 +01:00
|
|
|
|
position: relative;
|
2016-06-08 15:15:59 +01:00
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
|
|
|
|
.pill-label {
|
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
}
|
2016-04-13 12:50:28 +01:00
|
|
|
|
|
2016-06-08 15:41:02 +01:00
|
|
|
|
&:link,
|
|
|
|
|
|
&:visited {
|
|
|
|
|
|
color: $white;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2016-04-13 12:50:28 +01:00
|
|
|
|
&:hover {
|
2016-06-08 15:41:02 +01:00
|
|
|
|
color: $light-blue-25;
|
2016-04-13 12:50:28 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
|
|
&:focus {
|
|
|
|
|
|
z-index: 10;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2017-02-14 15:09:54 +00:00
|
|
|
|
&-selected-item {
|
2016-06-08 15:41:02 +01:00
|
|
|
|
border: 2px solid $black;
|
|
|
|
|
|
outline: 1px solid rgba($white, 0.1);
|
|
|
|
|
|
position: relative;
|
2019-01-04 13:44:52 +00:00
|
|
|
|
z-index: 10;
|
2016-04-13 12:50:28 +01:00
|
|
|
|
color: $text-colour;
|
2017-02-14 14:21:36 +00:00
|
|
|
|
|
|
|
|
|
|
&:focus {
|
2019-01-04 13:44:52 +00:00
|
|
|
|
z-index: 1000;
|
2017-02-14 14:21:36 +00:00
|
|
|
|
outline: 3px solid $yellow;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2016-04-13 12:50:28 +01:00
|
|
|
|
}
|
2017-06-23 10:53:24 +01:00
|
|
|
|
|
|
|
|
|
|
&-centered-item {
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
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;
|
2018-07-19 10:36:15 +01:00
|
|
|
|
text-align: center;
|
2016-09-20 11:46:56 +01:00
|
|
|
|
|
|
|
|
|
|
&:link,
|
|
|
|
|
|
&:visited {
|
|
|
|
|
|
background: $link-colour;
|
|
|
|
|
|
color: $white;
|
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2017-10-17 16:34:47 +01:00
|
|
|
|
&:hover,
|
|
|
|
|
|
&:focus,
|
|
|
|
|
|
&:link:focus {
|
2016-09-20 11:46:56 +01:00
|
|
|
|
color: $light-blue-25;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|