Untitled
unknown
plain_text
3 years ago
13 kB
8
Indexable
// Slider ui
html {
position: relative;
min-height: 100%;
overflow-x: hidden;
}
body {
overflow-x: hidden;
overflow-y: hidden;
}
html,
body,
#app,
#app > div,
#app > div > div {
height: 100%;
}
#app {
display: flex;
flex-direction: row;
}
.slick-slider {
height: 100%;
> .slick-list {
height: 100%;
> .slick-track {
height: 100% !important;
width: 90%;
@media (min-width: $screen-xs-max) {
> .slick-slide {
width: 100%;
display: flex;
height: 100% !important;
margin: 0 auto;
overflow-x: hidden;
overflow-y: auto;
align-items: center;
> div {
margin: 0 auto;
display: table-cell !important;
vertical-align: middle;
> .slide-wrapper {
width: 100%;
min-width: 100%;
max-width: 90%;
display: block !important;
max-width: 900px;
height: 100%;
max-height: 700px;
position: relative;
}
@-moz-document url-prefix() {
.slide-wrapper {
height: 700px;
}
}
}
}
}
@media (max-width: $screen-xs-max) {
> .slick-slide {
overflow-x: hidden;
overflow-y: auto;
padding: $padding-small-horizontal;
padding-bottom: $padding-small-horizontal * 3;
min-height: 80vh;
height: 100% !important;
> div {
min-height: 80vh;
> .slide-wrapper {
min-height: 80vh;
}
}
}
}
}
}
> .slick-dots {
border-radius: 10px;
padding: 10px;
width: 100px;
transform: rotate(0deg);
right: 4.5%;
top: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
> ul {
margin: 0px;
align-self: center;
display: flex;
align-items: center;
justify-content: space-evenly;
flex-direction: column;
flex: 0.8;
padding-right: 50%;
> li {
width: 6px;
height: 6px;
border-radius: 999px;
background: $gray;
transition: all 0.5s ease-in-out;
will-change: width;
display: inline;
.step {
height: $padding-large-vertical;
width: $padding-small-horizontal;
border-radius: 50%;
background: $gray;
display: block;
.tooltip-span {
display: block;
color: transparent;
&:before {
content: '';
}
}
}
&.slick-active {
background-color: orange;
width: 24px;
height: 10px;
transform: rotate(90deg);
margin-left: 8px;
.step {
background-color: transparent;
}
}
}
}
@media (max-width: $screen-xs-max) {
display: flex !important;
> ul {
> li {
margin: 0 2px;
.step {
height: $padding-large-vertical / 2;
width: $padding-small-horizontal / 2;
border-radius: 50%;
background: $gray;
display: block;
}
&.slick-active {
background-color: orange;
width: 12px;
height: 5px;
margin-left: 2px;
.step {
background-color: transparent;
}
}
}
}
}
> .icon-chevron-up {
height: 40px;
width: 40px;
font-size: 20px;
align-items: center;
justify-content: center;
&:before {
font-family: 'icon' !important;
color: $gray;
}
@media (max-width: $screen-xs-max) {
height: 20px;
width: 20px;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
}
}
> .icon-chevron-down {
height: 40px;
width: 40px;
font-size: 20px;
align-items: center;
justify-content: center;
&:before {
font-family: 'icon' !important;
color: $gray;
}
@media (max-width: $screen-xs-max) {
height: 20px;
width: 20px;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
}
}
}
}
.page-footer {
display: flex;
flex-direction: row-reverse;
justify-content: space-between;
@media (orientation: portrait) {
left: 0% !important;
right: 0%;
padding: 0 30px;
}
> .page-number {
border-top: 3px solid $brand-success;
font-family: $kalam-regular;
font-weight: 700;
float: right;
padding-top: $padding-large-vertical;
margin: 0;
z-index: 999;
background: $white;
}
}
.slide-wrapper {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
max-width: 702px !important;
}
}
div[data-index='0'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='0'] .abstract-text {
@media (max-width: $screen-md) {
padding-left: 40px;
padding-right: 40px;
}
}
div[data-index='1'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='1'] .base-container {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
width: 115% !important;
}
}
div[data-index='1'] .slide-title {
@media (max-width: $screen-md) {
font-size: 4rem !important;
margin-right: 110px !important;
}
}
div[data-index='1'] .ws-row.row {
@media (max-width: $screen-md) {
transform: scale(0.75) !important;
width: 100% !important;
margin-left: -7% !important;
}
}
div[data-index='2'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='2'] .base-container .row {
@media (max-width: $screen-md) {
margin-left: 70px;
}
}
div[data-index='2'] .base-container .row .mb15.col-sm-4.col-xs-6 {
@media (max-width: $screen-md) {
width: 29.3333%;
}
}
div[data-index='4'] .slide-title {
@media screen and (max-width: $screen-md-max) {
font-size: 4rem !important;
}
}
div[data-index='5'] .slide-title {
@media screen and (max-width: $screen-md-max) {
font-size: 4rem !important;
}
}
div[data-index='5'] .col-md-12.col-sm-12.col-xs-12 {
@media screen and (max-width: $screen-md-max) {
transform: scale(0.95) !important;
}
}
div[data-index='7'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='7'] .slide-title {
@media (max-width: $screen-md-max) {
font-size: 4.5rem !important;
}
}
div[data-index='7'] .table-responsive table {
@media (max-width: $screen-md-max) {
transform: scale(0.85) !important;
}
}
div[data-index='8'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='8'] .full-height {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
height: 750px !important;
}
}
div[data-index='9'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='11'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='11'] .slide-title {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
margin-right: 130px;
}
}
div[data-index='11'] .table-centering.table-alignment .table-responsive {
@media screen and (max-width: $screen-md-max) {
width: 85% !important;
margin-left: 50px !important;
thead {
tr {
th {
max-width: 60px;
font-size: 16px;
span {
display: inline-block;
width: 100%;
white-space: nowrap;
overflow: hidden !important;
text-overflow: ellipsis;
}
}
}
}
}
}
div[data-index='12'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='12'] .abstract-subtitle {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
font-size: 8rem;
}
}
div[data-index='13'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='14'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='14'] .general-data-item-wrap {
// only for tablet
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
transform: scale(0.9);
}
}
div[data-index='15'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='16'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='17'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='18'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='18'] .age-range-social {
padding-left: unset !important;
}
div[data-index='18'] .row {
margin-left: 15px !important;
}
div[data-index='19'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='19'] .base-container {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
margin-left: 35px !important;
}
}
div[data-index='20'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='20'] .base-container {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
transform: scale(0.9);
}
}
div[data-index='22'] .fade-in.row {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
transform: scale(0.95);
}
}
div[data-index='22'] .fade-in.row > div.col-sm-6:nth-child(4) {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
float: right;
}
}
div[data-index='22'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='23'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='23'] .row .col-sm-7 {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
width: unset;
float: unset;
}
}
div[data-index='23'] .row .col-sm-5 {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
width: unset;
float: unset;
}
}
div[data-index='24'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='24'] .row {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
transform: scale(0.95);
margin-bottom: 15px;
}
}
div[data-index='25'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
div[data-index='25'] .row {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
transform: scale(0.95);
margin-bottom: 15px;
}
}
div[data-index='27'] .page-footer {
@media (max-width: $screen-sm-max) and (min-width: $screen-xs-max) {
padding-right: 100px;
}
}
// Slider ui: End
.carousel {
.carousel-indicators {
bottom: -20px;
> li {
border: 1px solid $gray-light;
background-color: $gray-light;
&.active {
border: 1px solid $gray;
background-color: $gray;
}
}
}
}
.slide-wrapper {
@media screen and (max-width: 1280px) and (max-height: 960px) {
transform: scale(0.9);
}
@media screen and (max-width: 1024px) and (max-height: 768px) {
transform: scale(0.7);
-webkit-transform-origin-x: 30%;
-webkit-transform-origin-y: 0;
}
@media screen and (max-width: 800px) and (max-height: 600px) {
transform: scale(0.6);
}
}
Editor is loading...