Compatibility fix for pyscss 1.3.4

This commit alters the action-list.scss file so it is compatible
with the newer version of pyScss (1.3.4+), allowing us to
upgrade to that version.

This change is a prerequisite for the update to get into the
global requirements so that that change can pass testing.

Change-Id: Idec7ce039b57476ce20b7b678431459c2ca0bdbf
Co-Authored-By: Kelly Domico <kelly.domico@hp.com>
This commit is contained in:
Richard Jones 2015-05-01 11:39:37 +10:00
parent ff52c1f9ec
commit cca93ade7c
1 changed files with 20 additions and 3 deletions

23
horizon/static/angular/action-list/action-list.scss Normal file → Executable file
View File

@ -22,16 +22,33 @@ action-list.btn-group {
right: -0.35em;
z-index: 3;
& + .btn:not(:first-child) {
& + .btn:last-child:not(:first-child):not(.dropdown-toggle),
& + .btn:not(:last-child):not(:first-child):not(.dropdown-toggle),
& + .btn.single-button:not(:first-child),
& + .btn.split-button:not(:first-child):not(:last-child) {
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
}
&.btn-sm {
&.btn-group-sm {
notifications {
& + .btn:last-child:not(:first-child):not(.dropdown-toggle),
& + .btn:not(:last-child):not(:first-child):not(.dropdown-toggle),
& + .btn.single-button:not(:first-child),
& + .btn.split-button:not(:first-child):not(:last-child) {
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
}
}
&.btn-lg {
&.btn-group-lg {
notifications {
& + .btn:last-child:not(:first-child):not(.dropdown-toggle),
& + .btn:not(:last-child):not(:first-child):not(.dropdown-toggle),
& + .btn.single-button:not(:first-child),
& + .btn.split-button:not(:first-child):not(:last-child) {
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
}