mirror of https://github.com/rancher/ui.git
badge nav table
This commit is contained in:
parent
31a4dc38cf
commit
a91f7dda06
|
|
@ -27,7 +27,7 @@
|
||||||
{{#if driver.state}}
|
{{#if driver.state}}
|
||||||
{{badge-state model=driver class="pull-left"}}
|
{{badge-state model=driver class="pull-left"}}
|
||||||
{{else}}
|
{{else}}
|
||||||
<span class="state badge text-danger bg-error pull-left">
|
<span class="state badge-state text-danger bg-error pull-left">
|
||||||
<i class="icon icon-circle"></i> {{t 'machinePage.inactive'}}
|
<i class="icon icon-circle"></i> {{t 'machinePage.inactive'}}
|
||||||
</span>
|
</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ nav {
|
||||||
> a {
|
> a {
|
||||||
color: $info;
|
color: $info;
|
||||||
border-bottom: solid $nav-spacing mix($user-btn, black, 50%);
|
border-bottom: solid $nav-spacing mix($user-btn, black, 50%);
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,8 @@ $group-row-height: 40px;
|
||||||
//table mixins
|
//table mixins
|
||||||
@mixin bordered {
|
@mixin bordered {
|
||||||
border-bottom: $table-border-color solid 2px;
|
border-bottom: $table-border-color solid 2px;
|
||||||
|
border-collapse: collapse;
|
||||||
|
|
||||||
> TBODY {
|
> TBODY {
|
||||||
|
|
||||||
&:not(:last-of-type):after {
|
&:not(:last-of-type):after {
|
||||||
|
|
@ -90,6 +92,7 @@ TABLE {
|
||||||
> TBODY > TR > TD {
|
> TBODY > TR > TD {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
|
transition: ease-in-out all 200ms;
|
||||||
}
|
}
|
||||||
&.no-lines {
|
&.no-lines {
|
||||||
* {
|
* {
|
||||||
|
|
@ -136,13 +139,15 @@ TABLE {
|
||||||
margin: 0 3px;
|
margin: 0 3px;
|
||||||
}
|
}
|
||||||
&.has-sub-rows {
|
&.has-sub-rows {
|
||||||
|
tr.row-selected TABLE > TBODY > TR > TD {
|
||||||
|
background: $body-bg;
|
||||||
|
}
|
||||||
TABLE {
|
TABLE {
|
||||||
|
|
||||||
> TBODY {
|
> TBODY {
|
||||||
@include striped;
|
@include striped;
|
||||||
|
|
||||||
> .row-selected {
|
|
||||||
background-color: $table-bg-selected;
|
|
||||||
}
|
|
||||||
TR:last-child{
|
TR:last-child{
|
||||||
background: transparent;
|
background: transparent;
|
||||||
&:after {
|
&:after {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue