mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Changing HTML for tabs instead of accordions
This gets the tabs on the screen and adds styling for the tabs. Does not include isSelected styling
This commit is contained in:
@@ -50,6 +50,51 @@
|
||||
color:@default-icon;
|
||||
}
|
||||
|
||||
.Form-tabHolder{
|
||||
display: flex;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.Form-tab {
|
||||
color: @btn-txt;
|
||||
background-color: @btn-bg;
|
||||
font-size: 12px;
|
||||
border: 1px solid @btn-bord;
|
||||
height: 30px;
|
||||
border-radius: 5px;
|
||||
margin-right: 20px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
padding-bottom: 5px;
|
||||
padding-top: 5px;
|
||||
transition: background-color 0.2s;
|
||||
text-transform: uppercase;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.Form-tab:hover {
|
||||
color: @btn-txt;
|
||||
background-color: @btn-bg-hov;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.Form-tab:active {
|
||||
color: @btn-txt-sel;
|
||||
background-color: @btn-bg-sel;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.Form-tab:focus {
|
||||
color: @btn-txt-sel;
|
||||
}
|
||||
|
||||
.Form-tab.is-selected {
|
||||
color: @btn-txt-sel;
|
||||
background-color: @btn-bg-sel;
|
||||
border-color: @btn-bord-sel;
|
||||
}
|
||||
|
||||
.Form-formGroup {
|
||||
flex: 1 0 auto;
|
||||
margin-bottom: 25px;
|
||||
|
||||
Reference in New Issue
Block a user