adjust spacing of org add/edit form, add CardCloseButton

This commit is contained in:
Keith Grant
2019-05-02 08:34:09 -04:00
parent 1be496cfc1
commit 1490235752
7 changed files with 84 additions and 46 deletions

View File

@@ -34,7 +34,7 @@
// sidebar overrides
//
.pf-c-page__sidebar{
.pf-c-page__sidebar {
--pf-c-page__sidebar--md--Width: 255px;
.pf-c-nav {
@@ -205,8 +205,25 @@
// pf card overrides
//
.pf-c-card {
// specificity hack to override PatternFly
.pf-c-card.pf-c-card {
--pf-c-card--child--PaddingRight: 20px;
--pf-c-card--child--PaddingBottom: 24px;
--pf-c-card--child--PaddingLeft: 20px;
display: flex;
position: relative;
}
.pf-c-card__close {
position: absolute;
top: 10px;
right: 4px;
color: var(--pf-c-button--m-plain--Color);
&.pf-c-button {
position: absolute;
}
}
.pf-c-card__header {
@@ -300,14 +317,6 @@
margin-bottom: 10px;
}
.OrgsTab-closeButton {
color: black;
float: right;
position: relative;
top: -25px;
margin: 0 10px;
right: 10px;
}
.awx-c-form-action-group {
float: right;
display: block;