@c8y/style
Version:
Styles for Cumulocity IoT applications
98 lines (83 loc) • 1.69 kB
text/less
svg:not(.leaflet-zoom-animated) {
display: block;
width: 100%;
height: 100%;
}
nvd3-multi-bar-chart svg{
fill: var(--c8y-text-color);
}
[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
display: none ;
}
@media (min-width: @screen-lg) {
.showOnHover {
&:not(.open) {
opacity: 0;
&:focus,
&:focus-within {
opacity: 1;
}
}
}
div:hover > .showOnHover,
div:hover > p > .showOnHover,
li:hover > .showOnHover,
tr:hover .showOnHover,
a:hover > .showOnHover,
.c8y-list__item__body:hover .showOnHover {
opacity: 1;
}
}
.listLink {
display: inline-block;
width: 100%;
color: inherit ;
text-decoration: none ;
}
.interact {
cursor: pointer;
}
// FIXME: after nvd3 upgrades this correction in css we can remove this
.leaflet-container svg:not(.leaflet-zoom-animated) {
width: auto;
height: auto;
}
.draggableCursor {
cursor: move;
}
.tooltip-no-max-width + .tooltip .tooltip-inner {
max-width: none;
white-space: pre;
}
// label inside checkbox
.checkbox label {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
// MS EDGE Icon fix (effective IE10+)
_:-ms-lang(x),
.ie10up,
img[src*='.svg'] {
width: 100%;
}
input[type='number'].no-spinners::-webkit-inner-spin-button,
input[type='number'].no-spinners::-webkit-outer-spin-button {
margin: 0;
appearance: none;
-webkit-appearance: none;
}
// disable blue outline in chrome on disabled elements
.disabled {
outline: 0 ;
}
.wide-linebreak-tooltip .tooltip-inner {
min-width: 360px;
white-space: pre-wrap;
}