2016-10-30 01:02:14 +02:00
|
|
|
/* ==========================================================================
|
|
|
|
UTILITY CLASSES
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
/*
|
|
|
|
Visibility
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
/* http://www.456bereastreet.com/archive/200711/screen_readers_sometimes_ignore_displaynone/ */
|
|
|
|
|
2023-09-29 04:03:51 +02:00
|
|
|
.hidden,
|
|
|
|
.is--hidden {
|
2016-10-30 01:02:14 +02:00
|
|
|
display: none;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* for preloading images */
|
|
|
|
|
|
|
|
.load {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.transparent {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* https://developer.yahoo.com/blogs/ydn/clip-hidden-content-better-accessibility-53456.html */
|
|
|
|
|
|
|
|
.visually-hidden,
|
|
|
|
.screen-reader-text,
|
|
|
|
.screen-reader-text span,
|
|
|
|
.screen-reader-shortcut {
|
|
|
|
position: absolute !important;
|
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
|
|
height: 1px !important;
|
|
|
|
width: 1px !important;
|
|
|
|
border: 0 !important;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
body:hover .visually-hidden a,
|
|
|
|
body:hover .visually-hidden input,
|
|
|
|
body:hover .visually-hidden button {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* screen readers */
|
|
|
|
|
|
|
|
.screen-reader-text:focus,
|
2023-09-29 04:03:51 +02:00
|
|
|
.screen-reader-shortcut:focus {
|
2016-10-30 01:02:14 +02:00
|
|
|
clip: auto !important;
|
|
|
|
height: auto !important;
|
|
|
|
width: auto !important;
|
|
|
|
display: block;
|
|
|
|
font-size: 1em;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 15px 23px 14px;
|
|
|
|
background: #fff;
|
|
|
|
z-index: 100000;
|
|
|
|
text-decoration: none;
|
2017-10-28 21:58:34 +02:00
|
|
|
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
2016-10-30 01:02:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
Skip links
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.skip-link {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 20;
|
|
|
|
margin: 0;
|
|
|
|
font-family: $sans-serif;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.skip-link li {
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
Type
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.text-left {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-right {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-justify {
|
|
|
|
text-align: justify;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-nowrap {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2023-09-29 04:03:51 +02:00
|
|
|
/*
|
|
|
|
Task lists
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.task-list {
|
|
|
|
padding:0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.task-list-item-checkbox {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.task-list .task-list {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
2016-10-30 01:02:14 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
Alignment
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
/* clearfix */
|
|
|
|
|
2023-09-29 04:03:51 +02:00
|
|
|
.cf {
|
|
|
|
clear: both;
|
|
|
|
}
|
2016-10-30 01:02:14 +02:00
|
|
|
|
|
|
|
.wrapper {
|
2017-10-28 21:58:34 +02:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
width: 100%;
|
2016-10-30 01:02:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
Images
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
/* image align left */
|
|
|
|
|
|
|
|
.align-left {
|
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
|
|
|
|
@include breakpoint($small) {
|
|
|
|
float: left;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* image align right */
|
|
|
|
|
|
|
|
.align-right {
|
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
|
|
|
|
@include breakpoint($small) {
|
|
|
|
float: right;
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* image align center */
|
|
|
|
|
|
|
|
.align-center {
|
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* file page content container */
|
|
|
|
|
|
|
|
.full {
|
2023-09-29 04:03:51 +02:00
|
|
|
@include breakpoint($large) {
|
2016-10-30 01:02:14 +02:00
|
|
|
margin-right: -1 * span(2.5 of 12) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
Icons
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
display: inline-block;
|
|
|
|
fill: currentColor;
|
|
|
|
width: 1em;
|
|
|
|
height: 1.1em;
|
|
|
|
line-height: 1;
|
|
|
|
position: relative;
|
|
|
|
top: -0.1em;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* social icons*/
|
|
|
|
|
|
|
|
.social-icons {
|
2023-09-29 04:03:51 +02:00
|
|
|
.fas,
|
|
|
|
.fab,
|
|
|
|
.far,
|
|
|
|
.fal {
|
2017-10-28 21:58:34 +02:00
|
|
|
color: $text-color;
|
2016-10-30 01:02:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.fa-behance,
|
|
|
|
.fa-behance-square {
|
|
|
|
color: $behance-color;
|
|
|
|
}
|
|
|
|
|
2023-09-29 04:03:51 +02:00
|
|
|
.fa-bitbucket {
|
2017-10-28 21:58:34 +02:00
|
|
|
color: $bitbucket-color;
|
|
|
|
}
|
|
|
|
|
2023-09-29 04:03:51 +02:00
|
|
|
.fa-dribbble,
|
|
|
|
.fa-dribble-square {
|
2016-10-30 01:02:14 +02:00
|
|
|
color: $dribbble-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-facebook,
|
2023-09-29 04:03:51 +02:00
|
|
|
.fa-facebook-square,
|
|
|
|
.fa-facebook-f {
|
2016-10-30 01:02:14 +02:00
|
|
|
color: $facebook-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-flickr {
|
|
|
|
color: $flickr-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-foursquare {
|
|
|
|
color: $foursquare-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-github,
|
|
|
|
.fa-github-alt,
|
|
|
|
.fa-github-square {
|
|
|
|
color: $github-color;
|
|
|
|
}
|
|
|
|
|
2023-09-29 04:03:51 +02:00
|
|
|
.fa-gitlab {
|
|
|
|
color: $gitlab-color;
|
2016-10-30 01:02:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.fa-instagram {
|
|
|
|
color: $instagram-color;
|
|
|
|
}
|
|
|
|
|
2023-09-29 04:03:51 +02:00
|
|
|
.fa-keybase {
|
|
|
|
color: $keybase-color;
|
|
|
|
}
|
|
|
|
|
2016-10-30 01:02:14 +02:00
|
|
|
.fa-lastfm,
|
|
|
|
.fa-lastfm-square {
|
|
|
|
color: $lastfm-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-linkedin,
|
2023-09-29 04:03:51 +02:00
|
|
|
.fa-linkedin-in {
|
2016-10-30 01:02:14 +02:00
|
|
|
color: $linkedin-color;
|
|
|
|
}
|
|
|
|
|
2023-09-29 04:03:51 +02:00
|
|
|
.fa-mastodon,
|
|
|
|
.fa-mastodon-square {
|
|
|
|
color: $mastodon-color;
|
|
|
|
}
|
|
|
|
|
2016-10-30 01:02:14 +02:00
|
|
|
.fa-pinterest,
|
|
|
|
.fa-pinterest-p,
|
|
|
|
.fa-pinterest-square {
|
|
|
|
color: $pinterest-color;
|
|
|
|
}
|
|
|
|
|
2023-09-29 04:03:51 +02:00
|
|
|
.fa-reddit {
|
|
|
|
color: $reddit-color;
|
|
|
|
}
|
|
|
|
|
2016-10-30 01:02:14 +02:00
|
|
|
.fa-rss,
|
|
|
|
.fa-rss-square {
|
|
|
|
color: $rss-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-soundcloud {
|
|
|
|
color: $soundcloud-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-stack-exchange,
|
|
|
|
.fa-stack-overflow {
|
|
|
|
color: $stackoverflow-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-tumblr,
|
|
|
|
.fa-tumblr-square {
|
|
|
|
color: $tumblr-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-twitter,
|
|
|
|
.fa-twitter-square {
|
|
|
|
color: $twitter-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-vimeo,
|
2023-09-29 04:03:51 +02:00
|
|
|
.fa-vimeo-square,
|
|
|
|
.fa-vimeo-v {
|
2016-10-30 01:02:14 +02:00
|
|
|
color: $vimeo-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-vine {
|
|
|
|
color: $vine-color;
|
|
|
|
}
|
|
|
|
|
2023-09-29 04:03:51 +02:00
|
|
|
.fa-youtube {
|
2016-10-30 01:02:14 +02:00
|
|
|
color: $youtube-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-xing,
|
|
|
|
.fa-xing-square {
|
|
|
|
color: $xing-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2023-09-29 04:03:51 +02:00
|
|
|
Navicons
|
|
|
|
========================================================================== */
|
2016-10-30 01:02:14 +02:00
|
|
|
|
|
|
|
.navicon {
|
|
|
|
position: relative;
|
|
|
|
width: $navicon-width;
|
|
|
|
height: $navicon-height;
|
2023-09-29 04:03:51 +02:00
|
|
|
background: $primary-color;
|
2016-10-30 01:02:14 +02:00
|
|
|
margin: auto;
|
2023-09-29 04:03:51 +02:00
|
|
|
-webkit-transition: 0.3s;
|
|
|
|
transition: 0.3s;
|
2016-10-30 01:02:14 +02:00
|
|
|
|
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
width: $navicon-width;
|
|
|
|
height: $navicon-height;
|
2023-09-29 04:03:51 +02:00
|
|
|
background: $primary-color;
|
|
|
|
-webkit-transition: 0.3s;
|
|
|
|
transition: 0.3s;
|
2016-10-30 01:02:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
top: (-2 * $navicon-height);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
bottom: (-2 * $navicon-height);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.close .navicon {
|
2023-09-29 04:03:51 +02:00
|
|
|
/* hide the middle line*/
|
2016-10-30 01:02:14 +02:00
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
/* overlay the lines by setting both their top values to 0*/
|
2023-09-29 04:03:51 +02:00
|
|
|
&:before,
|
|
|
|
&:after {
|
2016-10-30 01:02:14 +02:00
|
|
|
-webkit-transform-origin: 50% 50%;
|
2023-09-29 04:03:51 +02:00
|
|
|
-ms-transform-origin: 50% 50%;
|
|
|
|
transform-origin: 50% 50%;
|
2016-10-30 01:02:14 +02:00
|
|
|
top: 0;
|
|
|
|
width: $navicon-width;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* rotate the lines to form the x shape*/
|
2023-09-29 04:03:51 +02:00
|
|
|
&:before {
|
|
|
|
-webkit-transform: rotate3d(0, 0, 1, 45deg);
|
|
|
|
transform: rotate3d(0, 0, 1, 45deg);
|
2019-07-06 03:46:01 +02:00
|
|
|
}
|
|
|
|
&:after {
|
2023-09-29 04:03:51 +02:00
|
|
|
-webkit-transform: rotate3d(0, 0, 1, -45deg);
|
|
|
|
transform: rotate3d(0, 0, 1, -45deg);
|
2019-07-06 03:46:01 +02:00
|
|
|
}
|
2023-09-29 04:03:51 +02:00
|
|
|
}
|
2023-09-30 18:45:32 +02:00
|
|
|
|
|
|
|
/* hacks-guide change start: disable toggle effects on navigation as it breaks the site in some cases */
|
2023-09-29 04:03:51 +02:00
|
|
|
/*
|
|
|
|
.greedy-nav__toggle {
|
2017-10-28 21:58:34 +02:00
|
|
|
&:before {
|
2023-09-29 04:03:51 +02:00
|
|
|
@supports (pointer-events: none) {
|
|
|
|
content: '';
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
opacity: 0;
|
|
|
|
background-color: $background-color;
|
|
|
|
-webkit-transition: $global-transition;
|
|
|
|
transition: $global-transition;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2017-01-15 07:06:59 +01:00
|
|
|
}
|
2019-07-06 03:46:01 +02:00
|
|
|
|
2023-09-29 04:03:51 +02:00
|
|
|
&.close {
|
|
|
|
&:before {
|
|
|
|
opacity: 0.9;
|
|
|
|
-webkit-transition: $global-transition;
|
|
|
|
transition: $global-transition;
|
|
|
|
pointer-events: auto;
|
|
|
|
}
|
2017-01-15 07:06:59 +01:00
|
|
|
}
|
|
|
|
}
|
2021-10-10 21:02:22 +02:00
|
|
|
|
2023-09-29 04:03:51 +02:00
|
|
|
.greedy-nav__toggle:hover {
|
|
|
|
.navicon,
|
|
|
|
.navicon:before,
|
|
|
|
.navicon:after {
|
|
|
|
background: mix(#000, $primary-color, 25%);
|
2019-07-06 03:46:01 +02:00
|
|
|
}
|
|
|
|
|
2023-09-29 04:03:51 +02:00
|
|
|
&.close {
|
|
|
|
.navicon {
|
|
|
|
background: transparent;
|
|
|
|
}
|
2017-01-15 07:06:59 +01:00
|
|
|
}
|
|
|
|
}
|
2023-09-29 04:03:51 +02:00
|
|
|
*/
|
2023-09-30 18:45:32 +02:00
|
|
|
/* hacks-guide change end */
|
2019-07-06 03:46:01 +02:00
|
|
|
|
2016-10-30 01:02:14 +02:00
|
|
|
/*
|
|
|
|
Sticky, fixed to top content
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.sticky {
|
|
|
|
@include breakpoint($large) {
|
|
|
|
@include clearfix();
|
|
|
|
position: -webkit-sticky;
|
|
|
|
position: sticky;
|
|
|
|
top: 2em;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
Wells
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.well {
|
|
|
|
min-height: 20px;
|
|
|
|
padding: 19px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
border: 1px solid #e3e3e3;
|
|
|
|
border-radius: $border-radius;
|
|
|
|
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
Modals
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.show-modal {
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
position: absolute;
|
|
|
|
content: "";
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 999;
|
|
|
|
background-color: rgba(255, 255, 255, 0.85);
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal {
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
width: 300px;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -150px;
|
|
|
|
margin-top: -150px;
|
|
|
|
min-height: 0;
|
|
|
|
z-index: 9999;
|
|
|
|
background: #fff;
|
|
|
|
border: 1px solid $border-color;
|
|
|
|
border-radius: $border-radius;
|
|
|
|
box-shadow: $box-shadow;
|
|
|
|
|
|
|
|
&__title {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0.5em 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__supporting-text {
|
|
|
|
padding: 0 1em 0.5em 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__actions {
|
|
|
|
padding: 0.5em 1em;
|
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
Footnotes
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.footnote {
|
|
|
|
color: mix(#fff, $gray, 25%);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footnotes {
|
|
|
|
color: mix(#fff, $gray, 25%);
|
|
|
|
|
2023-09-29 04:03:51 +02:00
|
|
|
ol,
|
|
|
|
li,
|
|
|
|
p {
|
2016-10-30 01:02:14 +02:00
|
|
|
margin-bottom: 0;
|
|
|
|
font-size: $type-size-6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a.reversefootnote {
|
|
|
|
color: $gray;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
Required
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.required {
|
|
|
|
color: $danger-color;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2017-04-25 03:09:27 +02:00
|
|
|
|
2017-10-28 21:58:34 +02:00
|
|
|
/*
|
|
|
|
Google Custom Search Engine
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.gsc-control-cse {
|
2023-09-29 04:03:51 +02:00
|
|
|
table,
|
|
|
|
tr,
|
|
|
|
td {
|
2017-10-28 21:58:34 +02:00
|
|
|
border: 0; /* remove table borders widget */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
Responsive Video Embed
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.responsive-video-container {
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
padding-bottom: 56.25%;
|
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
|
|
iframe,
|
|
|
|
object,
|
|
|
|
embed {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// full screen video fixes
|
|
|
|
:-webkit-full-screen-ancestor {
|
2023-09-29 04:03:51 +02:00
|
|
|
.masthead,
|
|
|
|
.page__footer {
|
2017-10-28 21:58:34 +02:00
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
}
|
2019-07-06 03:46:01 +02:00
|
|
|
|
2023-09-30 18:45:32 +02:00
|
|
|
/* hacks-guide change start: Add language selector */
|
2019-07-06 03:46:01 +02:00
|
|
|
/*
|
2023-09-29 04:03:51 +02:00
|
|
|
Langicons
|
|
|
|
========================================================================== */
|
2019-07-06 03:46:01 +02:00
|
|
|
|
2023-09-29 04:03:51 +02:00
|
|
|
.langicon {
|
|
|
|
position: relative;
|
|
|
|
width: $navicon-width;
|
|
|
|
display: inline-block;
|
|
|
|
background: transparent;
|
|
|
|
margin: auto;
|
|
|
|
color: $text-color;
|
2019-07-06 03:46:01 +02:00
|
|
|
|
2023-09-29 04:03:51 +02:00
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
width: $navicon-width;
|
|
|
|
height: $navicon-height;
|
|
|
|
background: $text-color;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
top: (-2 * $navicon-height);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
bottom: (-2 * $navicon-height);
|
|
|
|
}
|
2021-10-10 21:02:22 +02:00
|
|
|
}
|
2023-09-29 04:03:51 +02:00
|
|
|
|
|
|
|
.close .langicon {
|
|
|
|
/* hide the middle line*/
|
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
.fa-language {
|
|
|
|
display: none;
|
|
|
|
-webkit-transition: 0.3s;
|
|
|
|
transition: 0.3s;
|
|
|
|
}
|
2021-10-10 21:02:22 +02:00
|
|
|
|
2023-09-29 04:03:51 +02:00
|
|
|
/* overlay the lines by setting both their top values to 0*/
|
|
|
|
&:before, &:after{
|
|
|
|
-webkit-transform-origin: 50% 50%;
|
|
|
|
-ms-transform-origin: 50% 50%;
|
|
|
|
transform-origin: 50% 50%;
|
|
|
|
width: $navicon-width;
|
|
|
|
display: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* rotate the lines to form the x shape*/
|
|
|
|
&:before{
|
|
|
|
-webkit-transform: rotate3d(0,0,1,45deg);
|
|
|
|
transform: rotate3d(0,0,1,45deg);
|
|
|
|
}
|
|
|
|
&:after{
|
|
|
|
top: (-2 * $navicon-height);
|
|
|
|
-webkit-transform: rotate3d(0,0,1,-45deg);
|
|
|
|
transform: rotate3d(0,0,1,-45deg);
|
|
|
|
}
|
|
|
|
}
|
2023-09-30 18:45:32 +02:00
|
|
|
/* hacks-guide change end */
|