112 lines
2.0 KiB
Plaintext
112 lines
2.0 KiB
Plaintext
.umb-sub-views-nav {
|
|
list-style: none;
|
|
display: flex;
|
|
margin: 0;
|
|
border-left: 1px solid @gray-9;
|
|
}
|
|
|
|
.umb-sub-views-nav-item {
|
|
text-align: center;
|
|
cursor: pointer;
|
|
display: block;
|
|
padding: 4px 10px 0 10px;
|
|
border-bottom: 2px solid transparent;
|
|
min-width: 70px;
|
|
border-right: 1px solid @gray-9;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: @editorHeaderHeight;
|
|
position: relative;
|
|
}
|
|
|
|
.umb-sub-views-nav-item:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.umb-sub-views-nav-item:hover,
|
|
.umb-sub-views-nav-item:focus {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.umb-sub-views-nav-item.is-active {
|
|
color: @turquoise-d1;
|
|
border-bottom-color: @turquoise-d1;
|
|
}
|
|
|
|
.show-validation .umb-sub-views-nav-item.-has-error {
|
|
color: @red;
|
|
}
|
|
|
|
.umb-sub-views-nav-item .icon {
|
|
font-size: 24px;
|
|
display: block;
|
|
text-align: center;
|
|
margin-bottom: 7px;
|
|
}
|
|
|
|
.umb-sub-views-nav-item .badge {
|
|
position: absolute;
|
|
top: 6px;
|
|
right: 6px;
|
|
min-width: 16px;
|
|
color: @white;
|
|
background-color: @turquoise-d1;
|
|
border: 2px solid @white;
|
|
border-radius: 50%;
|
|
font-size: 10px;
|
|
font-weight: bold;
|
|
padding: 2px;
|
|
line-height: 16px;
|
|
display: block;
|
|
|
|
&.-type-alert {
|
|
background-color: @red-l1;
|
|
}
|
|
&.-type-warning {
|
|
background-color: @yellow-d2;
|
|
}
|
|
&:empty {
|
|
height: 12px;
|
|
min-width: 12px;
|
|
}
|
|
}
|
|
|
|
.umb-sub-views-nav-item-text {
|
|
font-size: 12px;
|
|
line-height: 1em;
|
|
}
|
|
|
|
.umb-sub-views-nav-item__more {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.umb-sub-views-nav-item__more i {
|
|
height: 5px;
|
|
width: 5px;
|
|
border-radius: 50%;
|
|
background: @gray-3;
|
|
display: inline-block;
|
|
margin: 0 5px 0 0;
|
|
}
|
|
|
|
.umb-sub-views-nav-item__more i:last-of-type {
|
|
margin-right: 0;
|
|
}
|
|
|
|
// make dots green the an item is active
|
|
.umb-sub-views-nav-item.is-active .umb-sub-views-nav-item__more i {
|
|
background-color: @turquoise-d1;
|
|
}
|
|
|
|
.umb-sub-views-nav__dropdown.umb-sub-views-nav__dropdown {
|
|
left: auto;
|
|
right: 0;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
min-width: auto;
|
|
margin-top: 10px;
|
|
}
|