2014-08-08 00:23:36 +02:00
|
|
|
$ribbon-color: #999;
|
|
|
|
$gdg-ribbon-border-color: #427fed;
|
2014-08-31 20:52:35 +02:00
|
|
|
$gdgw-ribbon-border-color: #ed2c82;
|
2014-08-08 00:23:36 +02:00
|
|
|
$gde-ribbon-border-color: #db4437;
|
2014-08-31 20:52:35 +02:00
|
|
|
$wt-ribbon-border-color: #72e1b3;
|
2014-08-08 00:23:36 +02:00
|
|
|
.ribbon-wrapper {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 5;
|
|
|
|
right: 0;
|
|
|
|
margin-top: 10px;
|
|
|
|
list-style: none;
|
|
|
|
li {
|
|
|
|
overflow: hidden;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
&:nth-child(3) .abbr, &:nth-child(3) .full-title {
|
|
|
|
transition-delay: .1s;
|
|
|
|
}
|
|
|
|
&:nth-child(2) .abbr, &:nth-child(2) .full-title {
|
|
|
|
transition-delay: .15s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.gdg {
|
|
|
|
border-right: 4px solid $gdg-ribbon-border-color;
|
|
|
|
}
|
2014-08-31 20:52:35 +02:00
|
|
|
.gdgw {
|
|
|
|
border-right: 4px solid $gdgw-ribbon-border-color;
|
|
|
|
}
|
2014-08-08 00:23:36 +02:00
|
|
|
.gde {
|
|
|
|
border-right: 4px solid $gde-ribbon-border-color;
|
|
|
|
}
|
2014-08-31 20:52:35 +02:00
|
|
|
.wt {
|
|
|
|
border-right: 4px solid $wt-ribbon-border-color;
|
|
|
|
}
|
2014-08-08 00:23:36 +02:00
|
|
|
.ribbon {
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 300;
|
|
|
|
line-height: 22px;
|
|
|
|
display: inline-block;
|
|
|
|
float: right;
|
|
|
|
min-width: 44px;
|
|
|
|
height: 22px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 7px;
|
|
|
|
transition: $base-transition;
|
|
|
|
text-align: left;
|
|
|
|
word-wrap: normal;
|
|
|
|
color: $ribbon-color;
|
|
|
|
background-color: #fff;
|
|
|
|
box-shadow: 0 0 20px rgba(0, 0, 0, .2);
|
|
|
|
}
|
2017-12-16 17:45:39 +01:00
|
|
|
.first {
|
|
|
|
color: black;
|
|
|
|
background-color: #FFD100;
|
|
|
|
box-shadow: 0 0 20px rgba(0, 0, 0, .2);
|
|
|
|
}
|
|
|
|
.second {
|
|
|
|
color: white;
|
|
|
|
background-color: #666666;
|
|
|
|
}
|
|
|
|
.third{
|
|
|
|
color: black;
|
|
|
|
background-color: #FF7500;
|
|
|
|
}
|
2014-08-08 00:23:36 +02:00
|
|
|
.abbr {
|
|
|
|
.ribbon-activator:hover & {
|
2017-12-16 17:45:39 +01:00
|
|
|
transform: translateX(100%);
|
2014-08-08 00:23:36 +02:00
|
|
|
@media (max-width: 767px) {
|
2017-12-16 17:45:39 +01:00
|
|
|
transform: translateX(0);
|
|
|
|
}
|
|
|
|
}
|
2014-08-08 00:23:36 +02:00
|
|
|
}
|
|
|
|
.full-title {
|
|
|
|
clear: both;
|
|
|
|
margin-top: -22px;
|
|
|
|
transform: translateX(100%);
|
|
|
|
.ribbon-activator:hover & {
|
2017-12-16 17:45:39 +01:00
|
|
|
transform: translateX(0);
|
2014-08-08 00:23:36 +02:00
|
|
|
@media (max-width: 767px) {
|
2017-12-16 17:45:39 +01:00
|
|
|
transform: translateX(100%);
|
|
|
|
}
|
|
|
|
}
|
2014-08-08 00:23:36 +02:00
|
|
|
}
|
2017-12-16 17:45:39 +01:00
|
|
|
}
|