open-consul/ui/packages/consul-ui/app/components/consul/auth-method/index.scss
Kenia 1be5b80d26
ui: Auth Methods - Namespace rules tab (#9935)
* Add mock data for NamespaceRules

* Create NamespaceTable component and styling

* Add NamespaceRules route and add to model

* Create Namespace Rules tab and implement with flag to only show in ent

* Add emptystate to namespace rules page

* Rename namespace-rules to be nspace-rules

* Rename NamespaceTable to be NspaceList
2021-03-31 10:55:31 -04:00

88 lines
1.4 KiB
SCSS

// List
.consul-auth-method-list ul {
.locality::before {
@extend %with-public-default-mask, %as-pseudo;
margin-right: 4px;
}
}
// View
.consul-auth-method-view {
margin-bottom: 32px;
section {
@extend %p1;
width: 100%;
position: relative;
overflow-y: auto;
h2 {
@extend %h200;
padding-bottom: 12px;
}
table {
thead td {
color: var(--gray-500);
font-weight: $typo-weight-semibold;
font-size: $typo-size-700;
}
tbody {
td {
font-size: $typo-size-600;
color: $black;
}
tr {
cursor: default;
}
tr:hover {
box-shadow: none;
}
}
}
}
dl,
section dl {
@extend %tabular-dl;
}
}
// Binding List
.consul-auth-method-binding-list {
p {
margin-bottom: 4px !important;
}
h2 {
@extend %h200;
padding-bottom: 12px;
}
dl {
@extend %tabular-dl;
}
code {
background-color: var(--gray-050);
padding: 0 12px;
}
}
// Nspace List
.consul-auth-method-nspace-list {
thead {
td {
color: var(--gray-500) !important;
font-weight: $typo-weight-semibold !important;
font-size: $typo-size-700 !important;
}
}
tbody {
td {
font-size: $typo-size-600;
color: $black;
}
tr {
cursor: default;
}
tr:hover {
box-shadow: none;
}
}
}