open-consul/ui-v2/app/styles/base/components/table/layout.scss
John Cowen 31f36ce096 ui: Namespace Support (#6639)
Adds namespace support to the UI:

1. Namespace CRUD/management
2. Show Namespace in relevant areas (intentions, upstreams)
3. Main navigation bar improvements
4. Logic/integration to interact with a new `internal/acl/authorize` endpoint
2019-12-18 12:26:47 +00:00

64 lines
1,001 B
SCSS

%table {
width: 100%;
border-collapse: collapse;
}
%table-flex tr {
display: flex;
}
%table-flex tr > * {
flex: 1 1 auto;
display: inline-flex;
align-items: center;
}
%table caption,
%table thead th {
text-align: left;
}
%table-actions {
width: 60px !important;
}
%table th.actions input {
display: none;
}
%table th.actions {
text-align: right;
}
%table td a {
display: block;
}
%table td.no-actions ~ .actions {
display: none;
}
%table td:not(.actions),
%table td:not(.actions) > *:only-child {
overflow-x: hidden;
}
%table td:not(.actions) > * {
white-space: nowrap;
}
%table td:not(.actions) > *:only-child {
text-overflow: ellipsis;
}
%table td {
height: 50px;
}
%table caption {
margin-bottom: 0.8em;
}
%table th {
padding-bottom: 0.6em;
}
%table th:not(.actions),
%table td:not(.actions),
%table td a {
padding-right: 0.9em;
}
%table tbody td em {
display: block;
font-style: normal;
font-weight: normal;
}
%table tbody td em {
color: $gray-500;
}