mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Commit realizando cambios en los roles de los usuarios
This commit is contained in:
161
httpdocs/themes/focus2/scss/components/ui/_ui-ribbon.scss
Normal file
161
httpdocs/themes/focus2/scss/components/ui/_ui-ribbon.scss
Normal file
@ -0,0 +1,161 @@
|
||||
.ribbon {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
text-transform: uppercase;
|
||||
|
||||
&__one {
|
||||
top: 15px;
|
||||
left: -11px;
|
||||
min-height: 20px;
|
||||
min-width: 52px;
|
||||
text-align: center;
|
||||
padding: 3px 10px;
|
||||
background: #3AB54B;
|
||||
color: #fff;
|
||||
font-size: 0.625rem;
|
||||
|
||||
&::after {
|
||||
position: absolute;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-top: 10px solid #239132;
|
||||
border-left: 11px solid transparent;
|
||||
left: 0;
|
||||
content: "";
|
||||
bottom: -10px;
|
||||
}
|
||||
}
|
||||
|
||||
&__two {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
display: inline-block;
|
||||
background: $warning;
|
||||
line-height: 50px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
color: $white;
|
||||
right: 15px;
|
||||
top: 15px;
|
||||
border-radius: 3px;
|
||||
|
||||
// &::after {
|
||||
// position: absolute;
|
||||
// content: "";
|
||||
// -webkit-clip-path: polygon(90% 0, 100% 100%, 50% 75%, 0 100%, 10% 0, 50% 0);
|
||||
// clip-path: polygon(90% 0, 100% 100%, 50% 75%, 0 100%, 10% 0, 50% 0);
|
||||
// height: 22px;
|
||||
// width: 40px;
|
||||
// left: 50%;
|
||||
// top: 75%;
|
||||
// background: $primary;
|
||||
// transform: translateX(-50%);
|
||||
// }
|
||||
}
|
||||
|
||||
&__three {
|
||||
left: -1.875rem;
|
||||
top: 0.875rem;
|
||||
width: 6.875rem;
|
||||
height: 1.5625rem;
|
||||
background-color: $danger;
|
||||
clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
|
||||
transform: rotate(-45deg);
|
||||
color: $white;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
&__four {
|
||||
left: 8px;
|
||||
top: -8px;
|
||||
width: 110px;
|
||||
height: 50px;
|
||||
background-color: $primary;
|
||||
z-index: auto;
|
||||
color: $white;
|
||||
font-size: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
&:after {
|
||||
right: -5px;
|
||||
}
|
||||
|
||||
&:before {
|
||||
left: -5px;
|
||||
}
|
||||
|
||||
// &:after, &:before {
|
||||
|
||||
// }
|
||||
|
||||
&:after, &:before {
|
||||
z-index: -1;
|
||||
background-color: lighten($color: $primary, $amount: 20%);
|
||||
top: 3px;
|
||||
transform: rotate(45deg);
|
||||
content: "";
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
|
||||
&__five {
|
||||
left: -1.875rem;
|
||||
top: 0.625rem;
|
||||
width: 6.875rem;
|
||||
height: 1.875rem;
|
||||
background-color: $primary;
|
||||
transform: rotate(-45deg);
|
||||
font-size: 0.75rem;
|
||||
color: $white;
|
||||
padding-bottom: 0.3125rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 1rem;
|
||||
|
||||
&::before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-style: solid;
|
||||
border-width: 0 50px 50px 50px;
|
||||
border-color: transparent transparent $primary transparent;
|
||||
left: 0.25rem;
|
||||
top: -2.8125rem;
|
||||
}
|
||||
}
|
||||
|
||||
&__six {
|
||||
left: 0;
|
||||
top: 1.125rem;
|
||||
width: 6.875rem;
|
||||
height: 2.375rem;
|
||||
background-color: $primary;
|
||||
-webkit-clip-path: polygon(0 0, 100% 0%, 100% 0, 85% 50%, 100% 100%, 100% 100%, 0 100%);
|
||||
clip-path: polygon(0 0, 100% 0%, 100% 0, 85% 50%, 100% 100%, 100% 100%, 0 100%);
|
||||
display: flex;
|
||||
font-size: 1.25rem;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: $white;
|
||||
}
|
||||
|
||||
&-curve {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: -6px;
|
||||
width: 10px;
|
||||
height: 11px;
|
||||
border-top: 11px solid #3AB54B;
|
||||
border-bottom: 10px solid #3AB54B;
|
||||
border-right: 5px solid transparent;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user