CSS: Remove element qualifiers in main.less

refs #5543
This commit is contained in:
Eric Lippmann 2015-11-09 11:45:04 +01:00
parent c46b3258b6
commit 8c13583aba

View File

@ -21,6 +21,11 @@
text-decoration: line-through; text-decoration: line-through;
} }
.preformatted {
font-family: @font-family-fixed;
white-space: pre-wrap;
}
.pull-left { .pull-left {
float: left; float: left;
} }
@ -48,6 +53,8 @@ a:hover > .icon-cancel {
color: @color-critical; color: @color-critical;
} }
// Link styles
.button-link { .button-link {
.action-link(); .action-link();
.button(); .button();
@ -69,6 +76,8 @@ a:hover > .icon-cancel {
} }
} }
// List styles
.comment-list { .comment-list {
> .comment-header { > .comment-header {
border-bottom: 1px solid @gray-lighter; border-bottom: 1px solid @gray-lighter;
@ -113,7 +122,7 @@ a:hover > .icon-cancel {
margin-top: @vertical-padding / 2; margin-top: @vertical-padding / 2;
} }
dl.name-value-list { .name-value-list {
dd { dd {
// Reset default margin // Reset default margin
margin: 0; margin: 0;
@ -125,7 +134,9 @@ dl.name-value-list {
} }
} }
table.common-table { // Table styles
.common-table {
width: 100%; width: 100%;
td, th { td, th {
@ -180,11 +191,6 @@ table.common-table {
width: 14em; width: 14em;
} }
.preformatted {
font-family: @font-family-fixed;
white-space: pre-wrap;
}
// TODO(el): Fix // TODO(el): Fix
.controls { .controls {
.limiter-control { .limiter-control {