openclassify/addons/default/visiosoft/profile-module/resources/assets/css/profile-nav.scss
2026-03-02 23:41:21 +03:00

132 lines
2.2 KiB
SCSS

.profile-nav-toggler {
position: fixed;
bottom: 10%;
z-index: 2;
img {
width: 3rem;
height: 3rem;
}
}
.profile-section{
background-color: #fcfcfc;
}
#btn_prev, #btn_next{
font-size: 16px !important;
}
.profile-wrapper {
@media only screen and (min-width: 768px) {
border: 1px solid #dee2e6;
}
@media only screen and(max-width: 576px){
margin: 40px 0;
}
h3 {
font-size: 1.25rem;
color: #707070;
@media only screen and (min-width: 768px) {
font-size: 1.5rem;
}
& + p {
color: #707070;
font-size: 13px;
@media only screen and (min-width: 768px) {
font-size: 15px;
}
}
}
.btn-sm{
padding: 0.25rem 0.5rem !important;
font-size: .875rem !important;
line-height: 1.5 !important;
border-radius: 0.2rem !important;
}
.btn{
margin-left: 0 !important;
}
}
.profile-navigation {
padding: 1.5rem .25rem;
height: 100%;
position: fixed;
top: 0;
left: 0;
overflow-y: auto;
-webkit-transform: translateX(-100%);
-ms-transform: translateX(-100%);
transform: translateX(-100%);
-webkit-transition: 300ms ease;
transition: 300ms ease;
background-color: #FCFCFC;
@media only screen and (min-width: 768px) {
height: initial;
position: initial;
-webkit-transform: initial;
-ms-transform: initial;
transform: initial;
}
@media only screen and (min-width: 992px) {
padding: 1.5rem;
}
&.reveal {
-webkit-transform: translateX(0%);
-ms-transform: translateX(0%);
transform: translateX(0%);
-webkit-transition: 300ms ease;
transition: 300ms ease;
z-index: 1040;
}
a, span {
display: flex;
align-items: center;
margin-bottom: 1.25rem;
&.active, &:hover {
cursor: pointer;
p {
color: #707070;
font-weight: 500;
}
}
svg, img {
margin-right: .75rem;
width: 1.5rem;
height: 1.5rem;
flex-shrink: 0;
}
p {
color: #A1A1A1;
margin-bottom: 0;
}
}
}
.overlay {
position: fixed;
display: none;
top: 0;
left: 0;
right: 0;
bottom: 0;
cursor: pointer;
background: #000;
opacity: .2;
}