274 lines
4.7 KiB
Plaintext
274 lines
4.7 KiB
Plaintext
// Table Styles
|
|
.umb-table {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
border: 1px solid @gray-8;
|
|
flex-wrap: nowrap;
|
|
justify-content: space-between;
|
|
min-width: auto;
|
|
}
|
|
|
|
.umb-table.umb-table-inactive {
|
|
|
|
&:before {
|
|
content: "";
|
|
background: rgba(255, 255, 255, 0.75);
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 10;
|
|
outline: 1px solid rgba(255, 255, 255, 0.75);
|
|
}
|
|
|
|
}
|
|
|
|
.umb-table a {
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
input.umb-table__input {
|
|
margin: 0 auto;
|
|
}
|
|
|
|
|
|
|
|
|
|
// Table Head Styles
|
|
.umb-table-head {
|
|
background-color: @gray-10;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.umb-table-head__link {
|
|
position: relative;
|
|
cursor: default;
|
|
text-decoration: none;
|
|
color: @gray-3;
|
|
&:hover {
|
|
text-decoration: none;
|
|
color: @gray-3;
|
|
}
|
|
}
|
|
|
|
.umb-table-head__link .sortable {
|
|
&:hover {
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
color: @black;
|
|
}
|
|
}
|
|
|
|
.umb-table-thead__icon {
|
|
position: absolute;
|
|
padding-top: 1px;
|
|
padding-left: 3px;
|
|
font-size: 13px;
|
|
cursor: default;
|
|
}
|
|
|
|
.umb-table-thead .sortable:hover {
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
|
|
|
|
// Table Body Styles
|
|
.umb-table-body {
|
|
position: relative;
|
|
}
|
|
|
|
.umb-table-body .umb-table-row {
|
|
color: fade(@gray, 75%);
|
|
border-top: 1px solid @gray-8;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
position: relative;
|
|
min-height: 32px;
|
|
&:hover {
|
|
background-color: @gray-10;
|
|
}
|
|
}
|
|
|
|
.umb-table-body .umb-table-row.-solid {
|
|
cursor: default;
|
|
|
|
&:hover {
|
|
background-color: white;
|
|
}
|
|
}
|
|
|
|
.umb-table-body__link {
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
.umb-table-body__icon,
|
|
.umb-table-body__icon[class^="icon-"],
|
|
.umb-table-body__icon[class*=" icon-"] {
|
|
margin: 0 auto;
|
|
font-size: 22px;
|
|
line-height: 22px;
|
|
color: @turquoise-d1;
|
|
}
|
|
|
|
.umb-table-body__checkicon,
|
|
.umb-table-body__checkicon[class^="icon-"],
|
|
.umb-table-body__checkicon[class*=" icon-"] {
|
|
display: none;
|
|
font-size: 18px;
|
|
line-height: 22px;
|
|
color: @green;
|
|
}
|
|
|
|
.umb-table-body .umb-table__name {
|
|
color: @black;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
// Styles of no items in the listview
|
|
.umb-table-body__empty {
|
|
font-size: 16px;
|
|
text-align: center;
|
|
color: @gray-3;
|
|
padding: 20px 0;
|
|
height: 100%;
|
|
}
|
|
|
|
// Show checkmark when checked, hide file icon
|
|
.-selected {
|
|
.umb-table-body__fileicon {
|
|
display: none;
|
|
}
|
|
|
|
.umb-table-body__checkicon {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
|
|
// Styling for when item is published or not
|
|
.-published {
|
|
|
|
}
|
|
|
|
.-content .-unpublished {
|
|
.umb-table__name > * {
|
|
opacity: .4;
|
|
}
|
|
|
|
.umb-table-body__icon {
|
|
opacity: .4;
|
|
}
|
|
}
|
|
|
|
.-selected.-unpublished {
|
|
.umb-table-body__icon {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
// Table Row Styles
|
|
.umb-table-row {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
align-items: center;
|
|
user-select: none;
|
|
}
|
|
|
|
.umb-table-body .umb-table-row--empty {
|
|
flex: 1 1 auto;
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 5px 0;
|
|
cursor: auto;
|
|
user-select: auto;
|
|
}
|
|
|
|
.umb-table-body .umb-table-row--empty:hover {
|
|
background-color: transparent;
|
|
cursor: auto;
|
|
}
|
|
|
|
// Table Cell Styles
|
|
.umb-table-cell {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
flex: 1 1 1%; //NOTE 1% is a Internet Explore hack, so that cells don't collapse
|
|
position: relative;
|
|
margin: auto 14px;
|
|
padding: 6px 2px;
|
|
text-align: left;
|
|
overflow:hidden;
|
|
}
|
|
|
|
.umb-table-cell > * {
|
|
overflow: hidden;
|
|
white-space: nowrap; //NOTE Disable/Enable this to keep textstring on one line
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.umb-table-cell:first-of-type:not(.not-fixed) {
|
|
flex: 0 0 25px;
|
|
margin: 0 0 0 15px;
|
|
padding: 15px 0;
|
|
}
|
|
|
|
.umb-table-cell--auto-width {
|
|
flex: 0 0 auto !important;
|
|
}
|
|
|
|
.umb-table-cell--faded {
|
|
opacity: 0.4;
|
|
}
|
|
|
|
|
|
// Increases the space for the name cell
|
|
.umb-table__name {
|
|
flex: 1 1 25%;
|
|
max-width: 25%;
|
|
}
|
|
|
|
.umb-table__loading-overlay {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(255, 255, 255, 0.7);
|
|
z-index: 1;
|
|
}
|
|
|
|
.umb-table__row-expand {
|
|
font-size: 12px;
|
|
text-decoration: none;
|
|
color: @black;
|
|
}
|
|
|
|
.umb-table__row-expand--hidden {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.umb-table--condensed {
|
|
|
|
.umb-table-cell:first-of-type:not(.not-fixed) {
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.umb-table-body__icon {
|
|
font-size: 20px;
|
|
}
|
|
|
|
} |