@c8y/style
Version:
Styles for Cumulocity IoT applications
122 lines (100 loc) • 1.95 kB
text/less
// Sizing Utilities - Max/min width/height utility classes
/**
* Sizing Utilities - Width/Height utility classes
*
* Note: These are utility classes with fixed API - values are intentionally hardcoded.
*
* Intentionally hardcoded values:
* - Percentages (100%): Layout utilities
* - Pixel values (20px): Fixed size utilities
* - Keywords (unset, inherit, fit-content): CSS utility values
* - Number values (0): No size
*/
// Max width
.max-width-unset {
max-width: unset ;
}
.max-width-inherit {
max-width: inherit ;
}
.max-width-100 {
max-width: 100% ;
}
.max-width-fit {
max-width: fit-content ;
}
// Min width
.min-width-unset {
min-width: unset ;
}
.min-width-100 {
min-width: 100% ;
}
.min-width-0{
min-width: 0;
}
.min-width-fit {
min-width: fit-content ;
}
// min-height
.min-height-unset,
.no-min-height{
min-height: unset ;
}
.min-height-fit {
min-height: fit-content ;
}
.fit-min-h,
.min-height-100 {
min-height: 100% ;
}
.min-height-0{
min-height: 0;
}
// width
.fit-w {
width: 100% ;
}
// height
.fit-h {
height: 100% ;
}
.fit-h--md{
@media (min-width: @screen-md-min){
height: 100% ;
}
}
.fit-h-20 {
height: 20px ;
}
// Sticky header
.sticky-header-top-0 {
position: sticky ;
top: 0 ;
background: inherit;
}
.sticky-right{
position: sticky;
right:0;
background: inherit;
margin-bottom: 1px;
}
// Transitions
.transition-bg {
transition: background 0.25s ease;
}
[ng-click],
.pointer {
cursor: pointer ;
// Removed unused cursor utility - verified 0 usages: .no-cursor
}
.no-pointer {
pointer-events: none ;
}
.pointer-all{
pointer-events: all ;
}
// remove display from transclude elements
[ng-transclude].ng-scope {
display: contents;
}