Finish work on the new role group and make sure it only appears when the new layout is enabled

This commit is contained in:
Joseph Schorr 2015-04-21 12:02:59 -04:00
parent a4cacd7307
commit 54097c351e
9 changed files with 58 additions and 32 deletions

View file

@ -18,4 +18,19 @@
margin-top: 6px;
padding-top: 10px;
border-top: 2px solid #eee;
}
.repository-permissions-table .mobile-add-row .add-button,
.repository-permissions-table .mobile-add-row .role-group {
display: block;
width: 100%;
margin-top: 10px;
}
.repository-permissions-table .mobile-add-row .role-group .btn-group {
display: block;
}
.repository-permissions-table .mobile-add-row .role-group .btn-group .btn {
width: 100%;
}

View file

@ -1,39 +1,39 @@
.role-group .btn {
.new-role-group .btn {
width: 90px;
position: relative;
text-align: left;
}
.role-group .btn .caret {
.new-role-group .btn .caret {
position: absolute;
top: 15px;
right: 7px;
}
.role-group .role-help-text {
.new-role-group .role-help-text {
font-size: 12px;
color: #ccc;
margin-top: 4px;
margin-bottom: 2px;
}
.role-group .btn {
.new-role-group .btn {
border-left: 4px solid #ccc;
}
.role-group .btn.success {
.new-role-group .btn.success {
border-left-color: #5cb85c;
}
.role-group .btn.primary {
.new-role-group .btn.primary {
border-left-color: #337ab7;
}
.role-group li a {
.new-role-group li a {
vertical-align: middle;
}
.role-group li a:before {
.new-role-group li a:before {
content: "";
border-radius: 50%;
width: 10px;
@ -43,10 +43,10 @@
margin-right: 6px;
}
.role-group li.success a:before {
.new-role-group li.success a:before {
background-color: #5cb85c;
}
.role-group li.primary a:before {
.new-role-group li.primary a:before {
background-color: #337ab7;
}