قرینه از
https://github.com/matomo-org/matomo.git
synced 2025-08-22 06:57:53 +00:00

* remove old materialize css * add new materlialize css * update paths of materialize css * fix visibility of normal selects * fix selected in segmentation layer * fix style for disabled selects * update materializecss to 1.2.0 * update/fix some ui tests * update materializecss to 1.2.1 * Apply patch from https://github.com/materializecss/materialize/pull/331 * update expected test files * ignore list elements for modal buttons * update expected test files * update materializecss to 1.2.2 * fix ui test * Update UI test screenshots --------- Co-authored-by: Ben <ben.burgess@innocraft.com>
101 خطوط
1.6 KiB
SCSS
Vendored
101 خطوط
1.6 KiB
SCSS
Vendored
.slider {
|
|
position: relative;
|
|
height: 400px;
|
|
width: 100%;
|
|
|
|
// Fullscreen slider
|
|
&.fullscreen {
|
|
height: 100%;
|
|
width: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
|
|
ul.slides {
|
|
height: 100%;
|
|
}
|
|
|
|
ul.indicators {
|
|
z-index: 2;
|
|
bottom: 30px;
|
|
}
|
|
}
|
|
|
|
.slides {
|
|
background-color: $slider-bg-color;
|
|
margin: 0;
|
|
height: 400px;
|
|
|
|
li {
|
|
opacity: 0;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 1;
|
|
width: 100%;
|
|
height: inherit;
|
|
overflow: hidden;
|
|
|
|
img {
|
|
height: 100%;
|
|
width: 100%;
|
|
background-size: cover;
|
|
background-position: center;
|
|
}
|
|
|
|
.caption {
|
|
color: #fff;
|
|
position: absolute;
|
|
top: 15%;
|
|
left: 15%;
|
|
width: 70%;
|
|
opacity: 0;
|
|
|
|
p { color: $slider-bg-color-light; }
|
|
}
|
|
|
|
&.active {
|
|
z-index: 2;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.indicators {
|
|
position: absolute;
|
|
text-align: center;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
margin: 0;
|
|
|
|
.indicator-item {
|
|
display: inline-block;
|
|
position: relative;
|
|
height: 16px;
|
|
width: 16px;
|
|
margin: 0 12px;
|
|
}
|
|
|
|
.indicator-item-btn {
|
|
&.active {
|
|
background-color: $slider-indicator-color;
|
|
}
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
cursor: pointer;
|
|
background-color: $slider-bg-color-light;
|
|
|
|
transition: background-color .3s;
|
|
border-radius: 50%;
|
|
border-width: 0;
|
|
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
} |