Style progress menu bar links and circles
This commit is contained in:
parent
805c0b64c7
commit
804497f64a
@ -1,42 +1,68 @@
|
|||||||
.progress-menu {
|
.progress-menu {
|
||||||
display: table;
|
display: table;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding-bottom: $gap * 2;
|
padding: ($gap * 2) 0;
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__item {
|
&__item {
|
||||||
float: left;
|
float: left;
|
||||||
font-weight: $font-bold;
|
font-weight: $font-bold;
|
||||||
|
width: 19%;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: block;
|
display: block;
|
||||||
padding: $gap ($gap * 2);
|
position: relative;
|
||||||
|
padding: ($gap * 4) ($gap * 2);
|
||||||
|
margin: 0 ($gap * 2);
|
||||||
color: $color-black;
|
color: $color-black;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
margin: 0 ($gap * 2);
|
text-align: center;
|
||||||
|
z-index: 2;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $color-blue;
|
color: $color-blue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:first-child:after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: 2px;
|
height: 2px;
|
||||||
content: "..";
|
content: " ";
|
||||||
color: $color-gray-lightest;
|
color: $color-gray-lightest;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
background-color: $color-gray-light;
|
background-color: $color-gray-light;
|
||||||
position: relative;
|
position: absolute;
|
||||||
top: -5.5rem;
|
top: 11px;
|
||||||
|
width: 100%;
|
||||||
|
right: 50%;
|
||||||
|
border-right: 22px solid transparent;
|
||||||
|
border-left: 22px solid transparent;
|
||||||
|
background-clip: padding-box;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
|
content: "";
|
||||||
display: block;
|
display: block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
border: 1px solid $color-gray;
|
||||||
|
border-radius: 100%;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
margin-left: -10px;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--active:before {
|
&--active:before {
|
||||||
|
@ -1,14 +1,11 @@
|
|||||||
{% extends "base.html.to" %}
|
{% extends "base.html.to" %}
|
||||||
|
|
||||||
|
|
||||||
{% block sidenav %}
|
|
||||||
{% include 'requests/sidebar.html.to' %}
|
|
||||||
{% end %}
|
|
||||||
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<div class="col col--grow">
|
<div class="col">
|
||||||
|
|
||||||
|
{% include 'requests/menu.html.to' %}
|
||||||
|
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user