2018-10-19 15:17:02 +00:00
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
%table-actions {
|
|
|
|
width: 60px;
|
|
|
|
}
|
|
|
|
th.actions input {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
th.actions {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
td.actions .with-confirmation.confirming {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 4px;
|
|
|
|
right: 1px;
|
|
|
|
}
|
|
|
|
td.actions .with-confirmation.confirming p {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
table caption {
|
|
|
|
text-align: left;
|
|
|
|
margin-bottom: 0.8em;
|
|
|
|
}
|
|
|
|
td > button,
|
|
|
|
td > .with-confirmation > button {
|
|
|
|
position: relative;
|
|
|
|
top: -6px;
|
|
|
|
}
|
|
|
|
table th {
|
|
|
|
padding-bottom: 0.6em;
|
|
|
|
}
|
|
|
|
table td,
|
2019-02-21 13:10:53 +00:00
|
|
|
table td:first-child a {
|
2018-10-19 15:17:02 +00:00
|
|
|
padding: 0.9em 0;
|
|
|
|
}
|
|
|
|
table th,
|
|
|
|
table td:not(.actions),
|
|
|
|
table td a {
|
|
|
|
padding-right: 0.9em;
|
|
|
|
}
|
|
|
|
table td a {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
th,
|
|
|
|
td:not(.actions),
|
|
|
|
td:not(.actions) a {
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* hide actions on narrow screens, you can always click in do everything from there */
|
|
|
|
@media #{$--lt-wide-table} {
|
|
|
|
tr > .actions {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* ideally these would be in route css files, but left here as they */
|
|
|
|
/* accomplish the same thing (hide non-essential columns for tables) */
|
2019-02-21 13:10:53 +00:00
|
|
|
/* TODO: Move these to component/table.scss for the moment */
|
|
|
|
/* Also mixed with things in component/tabular-collection.scss move those also */
|
2018-10-19 15:17:02 +00:00
|
|
|
@media #{$--lt-medium-table} {
|
|
|
|
/* Policy > Datacenters */
|
|
|
|
html.template-policy.template-list tr > :nth-child(2) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media #{$--lt-wide-table} {
|
|
|
|
html.template-intention.template-list tr > :nth-last-child(2) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
html.template-service.template-list tr > :last-child {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
html.template-node.template-show #services tr > :last-child {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
html.template-node.template-show #lock-sessions tr > :not(:first-child):not(:last-child) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
html.template-node.template-show #lock-sessions td:last-child {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
html.template-node.template-show #lock-sessions td:last-child button {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|