Adding functionality for tabs on forms

this adds the functionality for the tabs, and removes the old code around accordions.
This commit is contained in:
Jared Tabor
2016-01-17 17:48:47 -07:00
parent 516955fe12
commit 6687b30177
11 changed files with 100 additions and 53 deletions

View File

@@ -7,7 +7,7 @@
*
*/
@import "src/shared/branding/colors.default.less";
@import "awx/ui/client/src/shared/branding/colors.default.less";
.Form{
display:flex;
@@ -95,6 +95,26 @@
border-color: @btn-bord-sel;
}
.Form-tab--disabled {
opacity: 0.4;
cursor: not-allowed !important;
}
.Form-tab--disabled:hover {
color: @btn-txt;
background-color: @btn-bg;
}
.Form-tabSection{
display: none;
width: 0%;
}
.Form-tabSection.is-selected{
width: 100%;
display: block;
}
.Form-formGroup {
flex: 1 0 auto;
margin-bottom: 25px;