mirror of
https://github.com/status-im/consul.git
synced 2025-02-02 00:46:43 +00:00
4d13e31ae0
* Create BindingRule adapter and tests * Create BindingRule serializer and test * Create BindingRule model and repository * Add binding-rules mock data * Create binding-rules router and call endpoint * Create Binding rules tab * Create and use BindingView component * Create empty state for BindingView * Remove binding rule requestForQueryRecord endpoint and tests * Update binding rules selector to be monospaced * Add bind type tooltip * Create and Tabular-dl styling component * Update hr tag global styling * Rename BindingView to BindingList and refactor * Add translations for bind types tooltip info * Remove unused endpoint * Refactor based on review notes
39 lines
622 B
SCSS
39 lines
622 B
SCSS
%tabular-dl {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
> dt:last-of-type,
|
|
> dd:last-of-type {
|
|
border-bottom: 1px solid !important;
|
|
}
|
|
dt,
|
|
dd {
|
|
padding: 12px 0;
|
|
margin: 0;
|
|
border-top: 1px solid !important;
|
|
}
|
|
dt {
|
|
width: 20%;
|
|
}
|
|
dd {
|
|
margin-left: auto;
|
|
width: 80%;
|
|
display: flex;
|
|
}
|
|
dd > ul li {
|
|
display: flex;
|
|
}
|
|
dd > ul li:not(:last-of-type) {
|
|
padding-bottom: 12px;
|
|
}
|
|
dd .copy-button button {
|
|
padding: 0 !important;
|
|
margin: 0 4px 0 0 !important;
|
|
}
|
|
dt.check + dd {
|
|
padding-top: 16px;
|
|
}
|
|
dt.type + dd span::before {
|
|
margin-left: 4px;
|
|
}
|
|
}
|