Manual_Vantive/css/stylee.css
2025-10-06 11:13:23 -06:00

497 lines
8.6 KiB
CSS

html {
box-sizing: border-box;
height: 100%;
}
*,
*::before,
*::after {
box-sizing: inherit;
}
body {
display: flex;
flex-direction: column;
min-height: 100vh;
margin: 0;
padding: 0;
font-family: "Arial", sans-serif;
line-height: 1.3;
font-size: 18px;
}
body > header,
body > footer {
flex: 0 0 auto;
}
body > header .coursenav-btn-navigation,
body > footer .coursenav-btn-navigation {
width: 48px;
height: 48px;
padding: 0;
border: none;
background: none;
display: flex;
align-items: center;
justify-content: center;
color: inherit;
position: relative;
cursor: pointer;
}
body > header .coursenav-btn-navigation:disabled,
body > footer .coursenav-btn-navigation:disabled {
cursor: not-allowed;
filter: opacity(0.5);
}
body > main {
flex: 1 0 auto;
width: 100%;
}
#coursenav-offcanvas {
padding: 1em;
width: 50%;
}
#coursenav-offcanvas-label {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
#coursenav-navbar .navbar-brand img {
-o-object-fit: contain;
object-fit: contain;
aspect-ratio: 1/1;
height: 45px;
}
.course-menu,
.course-menu ul {
list-style: none !important;
margin: 0;
padding: 0;
}
.course-menu .witem {
display: flex;
width: 100%;
flex-direction: row;
}
.course-menu .witem > span {
margin-left: auto;
}
.course-menu .menu-item + .course-menu .menu-item {
margin-top: 0.5rem;
}
.course-menu .coursenav-link {
display: block;
padding: 0.5rem 1rem;
color: inherit;
text-decoration: none;
font-weight: 500;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.course-menu .sub-ul {
display: none;
padding-left: 1rem;
}
.course-menu .sub-ul.open {
display: block;
}
.course-menu .sub-ul .coursenav-link {
cursor: pointer;
}
.course-menu .sub-ul .coursenav-link:hover {
filter: invert(100%);
}
.course-menu .sub-ul .coursenav-link[data-coursenavvisited=false]::before {
content: "\f023";
font-family: "Font Awesome 6 Pro";
font-weight: lighter;
display: inline-block;
margin-right: 0.5rem;
color: inherit;
}
.course-menu .sub-ul .coursenav-link[data-coursenavvisited=true]::before {
content: "\f00c";
font-family: "Font Awesome 6 Pro";
font-weight: 900;
display: inline-block;
margin-right: 0.5rem;
color: var(--bs-success);
}
.course-menu .toggle-icon {
cursor: pointer;
margin-left: 0.5rem;
color: inherit;
}
.controls-btn {
width: 48px;
height: 48px;
padding: 0;
border: none;
background: none;
display: flex;
align-items: center;
justify-content: center;
color: inherit;
position: relative;
}
.controls-btn > svg {
width: 100%;
height: 100%;
display: block;
}
.controls-btn > i {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.controls-btn:focus {
outline: 2px solid #ffa300;
outline-offset: 2px;
}
.controls-btn .position-relative {
position: relative;
width: 100%;
height: 100%;
}
.controls-btn .position-relative svg {
width: 100%;
height: 100%;
display: block;
}
.controls-btn .position-relative i {
/* position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%); */
font-size: 2rem;
}
.controls-btn {
width: 55px;
height: 100%;
padding: 0;
border: none;
background: none;
display: flex;
align-items: center;
justify-content: center;
color: inherit;
position: relative;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.font-custom {
font-size: 2.5rem;
}
.navbar-toggler {
width: 48px;
height: 48px;
padding: 0;
border: none;
background: none;
display: flex;
align-items: center;
justify-content: center;
color: inherit;
position: relative;
}
.navbar-toggler > svg {
width: 100%;
height: 100%;
display: block;
}
.navbar-toggler > i {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.navbar-toggler:focus {
outline: 2px solid #ffa300;
outline-offset: 2px;
}
.navbar-toggler .position-relative {
position: relative;
width: 100%;
height: 100%;
}
.navbar-toggler .position-relative svg {
width: 100%;
height: 100%;
display: block;
}
.navbar-toggler .position-relative i {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.disabled {
pointer-events: none;
animation: none;
}
.text-white * {
color: #fff;
}
.page-sco {
height: 100%;
display: flex;
flex-direction: column;
position: relative;
}
.card.flat {
margin: 0;
padding: 0;
border-radius: 0;
border: none;
box-shadow: none;
background-color: transparent;
}
.card.flat .card-body {
margin: 0;
padding: 0;
border-radius: 0;
border: none;
box-shadow: none;
background-color: transparent;
}
.cursor {
cursor: pointer;
}
.wrap-course-adaptive {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
min-width: 100vw;
min-height: 100vh;
max-width: none;
max-height: none;
overflow: hidden;
z-index: 0;
background: inherit;
}
.wrap-course-content {
width: 1366px;
height: 768px;
position: absolute;
left: 0;
top: 0;
overflow: hidden;
z-index: 1;
}
@media (min-width: 1500px) {
.wrap-course-content {
width: 1920px;
height: 1080px;
}
}
#coursenav-offcanvas {
border-top-right-radius: 30px !important;
border-bottom-right-radius: 30px !important;
}
.footer-details {
border-top-right-radius: 30px !important;
border-bottom-right-radius: 30px !important;
width: 100%;
padding: 0% 0.5rem;
}
.stepper-container {
width: 80%;
max-width: 400px;
}
.stepper {
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 0;
}
.stepper::before {
content: "";
position: absolute;
top: 50%;
left: 0;
right: 0;
height: 4px;
background: #ddd;
transform: translateY(-50%);
border-radius: 2px;
z-index: 0;
}
.stepper::after {
content: "";
position: absolute;
top: 50%;
left: 0;
height: 4px;
background: #4caf50;
transform: translateY(-50%);
border-radius: 2px;
z-index: 1;
width: var(--pct, 0);
transition: width 0.3s ease;
}
.stepper .step {
position: relative;
z-index: 2;
width: 24px;
height: 24px;
background: #ddd;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.3s ease, width 0.3s ease, height 0.3s ease, top 0.3s ease;
}
.stepper .step.completed {
background: #4caf50;
}
.stepper .step.current {
background: #4caf50;
border: 4px solid #fff;
width: 32px;
height: 32px;
top: -4px;
}
.stepper .step.current::before {
content: attr(data-label);
position: absolute;
top: -2.5rem;
left: 50%;
transform: translateX(-50%);
font-size: 1rem;
color: #fff;
white-space: nowrap;
}
#wrap-course-content-navigation {
padding: 0.5rem;
border-radius: 30px !important;
border-bottom-left-radius: 0 !important;
border-bottom-right-radius: 0 !important;
/* transform: translateY(-1rem); */
}
#wrap-course-content-navigation button {
margin-left: 0.33rem;
margin-right: 0.33rem;
padding: 0;
border: none;
box-shadow: none;
background: none;
}
#wrap-course-paginator {
justify-self: end;
margin-left: auto;
border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
padding: 0% 0.5rem;
width: 120px;
justify-content: center;
}
#wrap-course-controls {
width: 40%;
}
#coursenav-main-content {
height: calc(100% - 85px);
overflow-x: hidden;
}
.stepper #step-movil {
background: #4caf50;
border: 4px solid #fff;
width: 32px;
height: 32px;
top: 12px;
position: absolute;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
z-index: 4;
}
.stepper #step-movil::before {
content: attr(data-label);
position: absolute;
top: 1.9rem;
left: 50%;
transform: translateX(-50%);
font-size: 0.8rem;
color: #fff;
white-space: nowrap;
}
.coursenav-btn-navigation:disabled {
cursor: not-allowed;
filter: opacity(0.5);
pointer-events: none;
}
.offcanvas-backdrop {
width: 100%;
height: 100%;
}
.pop_class {
width: 100%;
max-width: 1000px;
padding: 0;
border-radius: 1em;
overflow: hidden;
}
.pop_class .swal2-html-container {
padding: 0;
}
.pop_class .img-fit-pop {
-o-object-fit: cover;
object-fit: cover;
height: 100%;
width: 100%;
}
.pop_class .swal2-close {
width: 50px;
height: 50px;
border-radius: 50%;
}
h6 {
color: #4c4c4c;
font-weight: bold;
font-size: 14px;
}
.pop_html_style .swal2-html-container {
padding: 0.5em;
}
/* .wrap-course-content {
transition: transform 0.3s ease, left 0.3s ease, top 0.3s ease;
} */
.bx-shadow {
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}