1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-22 15:07:44 +00:00
Files
Stefan Giehl aea8f07de8 Use materializecss/materialize instead of Dogfalo/materialize (#19622)
* 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>
2023-03-28 11:51:14 +02:00

56 خطوط
1.1 KiB
SCSS
Vendored

// Badges
span.badge {
min-width: 3rem;
padding: 0 6px;
margin-left: 14px;
text-align: center;
font-size: 1rem;
line-height: $badge-height;
height: $badge-height;
color: color('grey', 'darken-1');
float: right;
box-sizing: border-box;
&.new {
font-weight: 300;
font-size: 0.8rem;
color: #fff;
background-color: $badge-bg-color;
border-radius: 2px;
}
&.new:after {
content: " new";
}
&[data-badge-caption]::after {
content: " " attr(data-badge-caption);
}
}
// Special cases
nav ul a span.badge {
display: inline-block;
float: none;
margin-left: 4px;
line-height: $badge-height;
height: $badge-height;
-webkit-font-smoothing: auto;
}
// Line height centering
.collection-item span.badge {
margin-top: calc(#{$collection-line-height * 0.5} - #{$badge-height * 0.5});
}
.collapsible span.badge {
margin-left: auto;
}
.sidenav span.badge {
margin-top: calc(#{$sidenav-line-height * 0.5} - #{$badge-height * 0.5});
}
table span.badge {
display: inline-block;
float: none;
margin-left: auto;
}