قرینه از
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>
200 خطوط
3.1 KiB
SCSS
Vendored
200 خطوط
3.1 KiB
SCSS
Vendored
/* Timepicker Containers */
|
|
.timepicker-modal {
|
|
max-width: 325px;
|
|
max-height: none;
|
|
}
|
|
|
|
.timepicker-container.modal-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0;
|
|
}
|
|
|
|
.text-primary {
|
|
color: rgba(255, 255, 255, 1);
|
|
}
|
|
|
|
|
|
/* Clock Digital Display */
|
|
.timepicker-digital-display {
|
|
width: 200px;
|
|
flex: 1 auto;
|
|
background-color: $secondary-color;
|
|
padding: 10px;
|
|
font-weight: 300;
|
|
}
|
|
|
|
.timepicker-text-container {
|
|
font-size: 4rem;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-weight: 400;
|
|
position: relative;
|
|
user-select: none;
|
|
|
|
input[type=text]{
|
|
height: 4rem;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
border-bottom: 0px;
|
|
font-size: 4rem;
|
|
direction: ltr;
|
|
}
|
|
}
|
|
|
|
.timepicker-input-hours,
|
|
.timepicker-input-minutes,
|
|
.timepicker-span-am-pm div {
|
|
cursor: pointer;
|
|
}
|
|
|
|
input[type=text].timepicker-input-hours {
|
|
text-align: right;
|
|
width: 28%;
|
|
margin-right: 3px;
|
|
}
|
|
|
|
input[type=text].timepicker-input-minutes {
|
|
width: 33%;
|
|
margin-left: 3px;
|
|
}
|
|
|
|
input[type=text].text-primary {
|
|
color: rgba(255, 255, 255, 1);
|
|
}
|
|
|
|
.timepicker-display-am-pm {
|
|
font-size: 1.3rem;
|
|
position: absolute;
|
|
right: 1rem;
|
|
bottom: 1rem;
|
|
font-weight: 400;
|
|
}
|
|
|
|
|
|
/* Analog Clock Display */
|
|
.timepicker-analog-display {
|
|
flex: 2.5 auto;
|
|
}
|
|
|
|
.timepicker-plate {
|
|
background-color: $timepicker-clock-plate-bg;
|
|
border-radius: 50%;
|
|
width: 270px;
|
|
height: 270px;
|
|
overflow: visible;
|
|
position: relative;
|
|
margin: auto;
|
|
margin-top: 25px;
|
|
margin-bottom: 5px;
|
|
user-select: none;
|
|
}
|
|
|
|
.timepicker-canvas,
|
|
.timepicker-dial {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
.timepicker-minutes {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.timepicker-tick {
|
|
border-radius: 50%;
|
|
color: $timepicker-clock-color;
|
|
line-height: 40px;
|
|
text-align: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
position: absolute;
|
|
cursor: pointer;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.timepicker-tick.active,
|
|
.timepicker-tick:hover {
|
|
background-color: transparentize($secondary-color, .75);
|
|
}
|
|
.timepicker-dial {
|
|
transition: transform 350ms, opacity 350ms;
|
|
}
|
|
.timepicker-dial-out {
|
|
&.timepicker-hours {
|
|
transform: scale(1.1, 1.1);
|
|
}
|
|
|
|
&.timepicker-minutes {
|
|
transform: scale(.8, .8);
|
|
}
|
|
|
|
opacity: 0;
|
|
}
|
|
.timepicker-canvas {
|
|
transition: opacity 175ms;
|
|
|
|
line {
|
|
stroke: $secondary-color;
|
|
stroke-width: 4;
|
|
stroke-linecap: round;
|
|
}
|
|
}
|
|
.timepicker-canvas-out {
|
|
opacity: 0.25;
|
|
}
|
|
.timepicker-canvas-bearing {
|
|
stroke: none;
|
|
fill: $secondary-color;
|
|
}
|
|
.timepicker-canvas-bg {
|
|
stroke: none;
|
|
fill: $secondary-color;
|
|
}
|
|
|
|
|
|
/* Footer */
|
|
.timepicker-footer {
|
|
margin: 0 auto;
|
|
padding: 5px 1rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.timepicker-clear {
|
|
color: $error-color;
|
|
}
|
|
|
|
.timepicker-close {
|
|
color: $secondary-color;
|
|
}
|
|
|
|
.timepicker-clear,
|
|
.timepicker-close {
|
|
padding: 0 20px;
|
|
}
|
|
|
|
/* Media Queries */
|
|
@media #{$medium-and-up} {
|
|
.timepicker-modal {
|
|
max-width: 600px;
|
|
}
|
|
|
|
.timepicker-container.modal-content {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.timepicker-text-container {
|
|
top: 32%;
|
|
}
|
|
|
|
.timepicker-display-am-pm {
|
|
position: relative;
|
|
right: auto;
|
|
bottom: auto;
|
|
text-align: center;
|
|
margin-top: 1.2rem;
|
|
}
|
|
}
|