This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
rouen-publik-theme/static/rouen/_links.scss

273 lines
6.9 KiB
SCSS

/* Links */
a, div#account-management ul>li>a {
text-decoration: none;
border-bottom-width: 0.08em;
border-bottom-style: solid;
transition: border 0.2s ease-out;
color: #c64a59;
border-bottom-color: #c64a59;
&:hover {
color: #c64a59;
border-bottom-color: #c64a59;
border-bottom-width: 0.20em;
}
&:visited {
color: #198468;
border-bottom-color: #198468;
}
}
#logo a { border: none; }
/* Collapsible */
.collapsible a, .collapsible a:visited {
color: #fff;
border-color: #fff;
}
a.elf-external.elf-icon:after {
content: " \e05f";
font-family: MarsIcons;
}
/* Block links */
a.blocklink, div#account-management ul>li>a {
font-weight: bold;
border-bottom-width: 0.16em;
border-bottom-style: solid;
transition: border 0.2s ease-out;
line-height: 200%;
&.inline { display: inline-block; }
&:hover { border-bottom-width: 0.32em; }
&:before {
display: block;
float: left;
content: "\e032\a0";
font-family: MarsIcons;
position: relative;
font-size: 150%;
font-weight: normal;
top: 0.1em;
}
}
/* Button links */
a.btlnk {
display: inline-block;
position: relative;
font-weight: bold;
font-size: 122%;
color: #000;
padding: 0.5em 0.727em;
border: none;
border-right: 2.3em solid #2d2d2d;
margin-bottom: 1.5em;
background-color: #ee787c;
&.fullwidth { display: block; width: auto; }
&.complement { background-color: #82CEBB; }
&:visited { color: #000; }
&::after {
display: block;
width: 1.15em;
right: -1.15em;
position: absolute;
top: 50%;
margin-top: -0.47em;
margin-right: -0.27em;
font-size: 130%;
content: "\e014";
font-family: MarsIcons;
font-weight: normal;
text-align: center;
line-height: 100%;
color: #ee787c;
}
&.strong { background-color: #82cebb; }
&.strong::after { color: #82cebb; }
&.complement::after { color: #82CEBB; }
}
a.E003::after { content: "\e003"; }
a.E004::after { content: "\e004"; }
a.E005::after { content: "\e005"; }
a.E006::after { content: "\e006"; }
a.E007::after { content: "\e007"; }
a.E008::after { content: "\e008"; }
a.E009::after { content: "\e009"; }
a.E00A::after { content: "\e00a"; }
a.E00B::after { content: "\e00b"; }
a.E00C::after { content: "\e00c"; }
a.E00D::after { content: "\e00d"; }
a.E00E::after { content: "\e00e"; }
a.E00F::after { content: "\e00f"; }
a.E010::after { content: "\e010"; }
a.E011::after { content: "\e011"; }
a.E012::after { content: "\e012"; }
a.E013::after { content: "\e013"; }
a.E014::after { content: "\e014"; }
a.E015::after { content: "\e015"; }
a.E016::after { content: "\e016"; }
a.E017::after { content: "\e017"; }
a.E018::after { content: "\e018"; }
a.E019::after { content: "\e019"; }
a.E01A::after { content: "\e01a"; }
a.E01B::after { content: "\e01b"; }
a.E01C::after { content: "\e01c"; }
a.E01D::after { content: "\e01d"; }
a.E01E::after { content: "\e01e"; }
a.E01F::after { content: "\e01f"; }
a.E020::after { content: "\e020"; }
a.E021::after { content: "\e021"; }
a.E022::after { content: "\e022"; }
a.E023::after { content: "\e023"; }
a.E024::after { content: "\e024"; }
a.E025::after { content: "\e025"; }
a.E026::after { content: "\e026"; }
a.E027::after { content: "\e027"; }
a.E028::after { content: "\e028"; }
a.E029::after { content: "\e029"; }
a.E02A::after { content: "\e02a"; }
a.E02B::after { content: "\e02b"; }
a.E02C::after { content: "\e02c"; }
a.E02D::after { content: "\e02d"; }
a.E02E::after { content: "\e02e"; }
a.E02F::after { content: "\e02f"; }
a.E030::after { content: "\e030"; }
a.E031::after { content: "\e031"; }
a.E032::after { content: "\e032"; }
a.E033::after { content: "\e033"; }
a.E034::after { content: "\e034"; }
a.E035::after { content: "\e035"; }
a.E036::after { content: "\e036"; }
a.E037::after { content: "\e037"; }
a.E038::after { content: "\e038"; }
a.E039::after { content: "\e039"; }
a.E03A::after { content: "\e03a"; }
a.E03B::after { content: "\e03b"; }
a.E03C::after { content: "\e03c"; }
a.E03D::after { content: "\e03d"; }
a.E03E::after { content: "\e03e"; }
a.E03F::after { content: "\e03f"; }
a.E040::after { content: "\e040"; }
a.E041::after { content: "\e041"; }
a.E042::after { content: "\e042"; }
a.E043::after { content: "\e043"; }
a.E044::after { content: "\e044"; }
a.E05C::after { content: "\e05c"; }
a.E05D::after { content: "\e05d"; }
a.E05E::after { content: "\e05e"; }
a.E05F::after { content: "\e05f"; }
a.E060::after { content: "\e060"; }
a.E061::after { content: "\e061"; }
a.E062::after { content: "\e062"; }
a.E063::after { content: "\e063"; }
a.E064::after { content: "\e064"; }
a.E065::after { content: "\e065"; }
a.E066::after { content: "\e066"; }
a.E06E::after { content: "\e06e"; }
a.E08E::after { content: "\e08e"; }
a.E08F::after { content: "\e08f"; }
a.E090::after { content: "\e090"; }
a.E09C::after { content: "\e09c"; }
a.E09D::after { content: "\e09d"; }
a.E09E::after { content: "\e09e"; }
a.E09F::after { content: "\e09f"; }
a.E0A0::after { content: "\e0a0"; }
a.E0A1::after { content: "\e0a1"; }
a.E0A2::after { content: "\e0a2"; }
a.E0A3::after { content: "\e0a3"; }
a.E0A4::after { content: "\e0a4"; }
a.E0A5::after { content: "\e0a5"; }
a.E0A6::after { content: "\e0a6"; }
a.E0A7::after { content: "\e0a7"; }
a.E0E9::after { content: "\e0e9"; }
a.E0EA::after { content: "\e0ea"; }
a.E0EB::after { content: "\e0eb"; }
a.E0EC::after { content: "\e0ec"; }
a.E0ED::after { content: "\e0ed"; }
a.E100::after { content: "\e100"; }
a.E101::after { content: "\e101"; }
a.E102::after { content: "\e102"; }
a.E104::after { content: "\e104"; }
a.E105::after { content: "\e105"; }
a.E106::after { content: "\e106"; }
a.E107::after { content: "\e107"; }
a.E108::after { content: "\e108"; }
a.E109::after { content: "\e109"; }
/* Authentication links */
div#toplinks {
border: none;
border-radius: 0;
box-shadow: none;
margin-top: 0.5em;
padding: 0;
right: 0.2em;
text-align: right;
a.login, a.logout {
@include flexbox();
@include vendor-prefix(justify-content, flex-end);
border: none;
div.logtext {
background: $primary-color;
color: $black;
font-size: 122%;
font-weight: 700;
height: 2em;
padding: 0 0.5em;
text-align: center;
line-height: 2em;
}
div.logicon {
background-color: $black;
background-image: url(img/picto_btn_connexion.svg);
background-position: center;
background-repeat: no-repeat;
background-size: 70%;
content: "";
width: 2.441em;
}
}
a.registration {
color: $red;
font-weight: 500;
margin-top: 0.4em;
&:visited {
color: #198468;
border-bottom-color: #198468;
}
span.pre-register {
color: $light-black;
margin-right: 0.2em;
}
}
}
/* Account management */
div#account-management ul {
padding: 1rem;
&>li {
&>a {
display: inline;
padding: inherit;
&:hover { background-color: transparent; }
}
}
}