Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Update css from prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
cardosogabriel committed Oct 8, 2015
1 parent 732c776 commit 2f058ff
Showing 1 changed file with 79 additions and 14 deletions.
93 changes: 79 additions & 14 deletions console/src/main/scripts/plugins/metrics/less/metrics.less
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,11 @@ h3 {
}

dd {
margin-bottom: 5px;

.btn {
margin-top: 15px;
margin-bottom: 10px;
}

&:first-child {
margin-right: 10px;
}
}
.bootstrap-select.btn-group {
margin-bottom: 0;
}
}

Expand All @@ -129,6 +125,21 @@ a:hover {
font-weight: bold;
}

.btn + .btn {
margin-left: @grid-gutter-width/8;
}


// Help components

.hk-display-table {
display: table;

> div {
display: table-cell;
}
}


// Alerts

Expand Down Expand Up @@ -674,7 +685,7 @@ p + .form-horizontal {
color: @brand-danger;
}

.form-actions .btn + .btn {
.btn + .btn {
margin-left: @grid-gutter-width/8;
}

Expand Down Expand Up @@ -1000,14 +1011,18 @@ a:hover .fa-spinner {
border: none;

.panel-heading {
border-color: @list-group-border;
background-color: transparent;

.hk-heading {
color: inherit;
font-weight: 600;
}

h2 {
line-height: 1.3;
margin: @grid-gutter-width/8 0;
}

.dropdown {
margin-top: -5px;

Expand Down Expand Up @@ -1076,16 +1091,28 @@ a:hover .fa-spinner {
}
}
}

.hk-box-v-item {
border-top: 1px solid @list-group-border;
margin-left: -15px;
margin-right: -15px;
padding: 15px;

&:first-child {
border-top: none;
padding-top: 0;
}

&:last-child {
padding-bottom: 0;
}
}
}

.hk-info-top + .hk-panel-table-list {
margin-top: @grid-gutter-width/4;
}

.panel.hk-alert-details {
padding: 10px;
}

.hk-alert-center-detail .hk-panel-table-list {
padding: @grid-gutter-width/2;
}
Expand Down Expand Up @@ -1357,6 +1384,13 @@ td.hk-actions-two {
width: 20px;
}

.hk-actions-table-search {
position: absolute;
top: 0;
z-index: 10;
left: 177px
}


// Toastr Overrides

Expand Down Expand Up @@ -1820,6 +1854,37 @@ section {
}


// Alert Details screen

.hk-alert-center-detail {

.hk-icon-container {
padding-right: 10px;
text-align: center;
width: 24px;
}

.hk-info-container span {
display: block;

&.email {
font-weight: bold;
margin-bottom: 2px;
}

&.type {
margin-bottom: 5px;
}
}

.form-actions {
.btn:first-child {
margin-left: -14px;
}
}
}


// Access portal screens

.navbar-pf .navbar-utility li.dropdown > .dropdown-toggle .pficon-user {
Expand Down

0 comments on commit 2f058ff

Please sign in to comment.