mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-22 21:34:28 +02:00
Rename listing-table to common-table and remove action-table
Further, style for the common-table has been changed. (WIP) refs #5543
This commit is contained in:
parent
a613a683c5
commit
0b46f9317e
@ -97,10 +97,21 @@ table {
|
|||||||
border-collapse: separate;
|
border-collapse: separate;
|
||||||
border-spacing: 0 1px;
|
border-spacing: 0 1px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
line-height: 2em;
|
||||||
|
margin-top: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
thead {
|
||||||
|
line-height: 2.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
th {
|
||||||
|
padding: @vertical-padding / 2 @horizontal-padding / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
padding: @vertical-padding / 2 @horizontal-padding / 2;
|
padding: @vertical-padding / 2 @horizontal-padding / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
[class^="icon-"], [class*=" icon-"] {
|
[class^="icon-"], [class*=" icon-"] {
|
||||||
|
@ -125,14 +125,19 @@ dl.name-value-list {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
table.action-table {
|
table.common-table {
|
||||||
tbody tr {
|
|
||||||
.transition(background-color 0.3s ease);
|
|
||||||
|
|
||||||
|
border-collapse: collapse;
|
||||||
|
|
||||||
|
tr {
|
||||||
|
border-left: 5px solid rgba(0,0,0,0.5);
|
||||||
|
border-opacity:0.7;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr[href] {
|
||||||
&.active {
|
&.active {
|
||||||
background-color: @gray-lighter;
|
background-color: @gray-lighter;
|
||||||
// Auto-refresh must not start transition
|
border-left: 5px solid @icinga-blue;
|
||||||
transition: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@ -140,19 +145,17 @@ table.action-table {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
table.listing-table {
|
|
||||||
border-collapse: collapse;
|
|
||||||
|
|
||||||
tbody th {
|
tbody th {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
thead {
|
thead {
|
||||||
color: @text-color-light;
|
border-bottom: 1px solid @gray-light;
|
||||||
|
|
||||||
// Reset default font-weight
|
// Reset default font-weight
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr {
|
tr {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user