قرینه از
https://github.com/matomo-org/matomo.git
synced 2025-08-22 23:17:46 +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>
97 خطوط
1.6 KiB
SCSS
Vendored
97 خطوط
1.6 KiB
SCSS
Vendored
.chip {
|
|
&:focus {
|
|
outline: none;
|
|
background-color: $chip-selected-color;
|
|
color: #fff;
|
|
}
|
|
|
|
display: inline-block;
|
|
height: 32px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: rgba(0,0,0,.6);
|
|
line-height: 32px;
|
|
padding: 0 12px;
|
|
border-radius: 16px;
|
|
background-color: $chip-bg-color;
|
|
margin-bottom: $chip-margin;
|
|
margin-right: $chip-margin;
|
|
|
|
> img {
|
|
float: left;
|
|
margin: 0 8px 0 -12px;
|
|
height: 32px;
|
|
width: 32px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.close {
|
|
cursor: pointer;
|
|
float: right;
|
|
font-size: 16px;
|
|
line-height: 32px;
|
|
padding-left: 8px;
|
|
}
|
|
}
|
|
|
|
.chips {
|
|
border: none;
|
|
border-bottom: 1px solid $chip-border-color;
|
|
box-shadow: none;
|
|
margin: $input-margin;
|
|
min-height: 45px;
|
|
outline: none;
|
|
transition: all .3s;
|
|
|
|
&.focus {
|
|
border-bottom: 1px solid $chip-selected-color;
|
|
box-shadow: 0 1px 0 0 $chip-selected-color;
|
|
}
|
|
|
|
&:hover {
|
|
cursor: text;
|
|
}
|
|
|
|
input:not([type]):not(.browser-default).input {
|
|
background: none;
|
|
border: 0;
|
|
color: rgba(0,0,0,.6);
|
|
display: inline-block;
|
|
font-size: $input-font-size;
|
|
height: $input-height;
|
|
line-height: 32px;
|
|
outline: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 120px;
|
|
|
|
&:focus {
|
|
border: 0;
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
// Autocomplete
|
|
.autocomplete-content {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
// Form prefix
|
|
.prefix ~ .chips {
|
|
margin-left: 3rem;
|
|
width: 92%;
|
|
width: calc(100% - 3rem);
|
|
}
|
|
// Form suffix
|
|
.suffix ~ .chips {
|
|
margin-right: 3rem;
|
|
width: 92%;
|
|
width: calc(100% - 3rem);
|
|
}
|
|
.chips:empty ~ label {
|
|
font-size: 0.8rem;
|
|
transform: translateY(-140%);
|
|
}
|