1
0
mirror of https://github.com/Chalarangelo/mini.css.git synced 2025-08-31 01:29:46 +02:00

Lowered specificity of button-group selectors

Under the existing flag, the specificity of button-group selectors was lowered even further using :not(:first-child).
This commit is contained in:
Angelos Chalaris
2017-06-05 18:26:25 +03:00
parent 3bf8a25811
commit 568aea95b4
5 changed files with 14 additions and 21 deletions

10
dist/mini-default.css vendored
View File

@@ -873,8 +873,8 @@ input[type="file"] {
margin: 0.5rem;
}
.button-group button, .button-group [type="button"], .button-group [type="submit"], .button-group [type="reset"],
.button-group .button, .button-group [role="button"] {
.button-group > button, .button-group [type="button"], .button-group > [type="submit"], .button-group > [type="reset"],
.button-group > .button, .button-group > [role="button"] {
margin: 0;
-webkit-box-flex: 1;
max-width: 100%;
@@ -885,8 +885,7 @@ input[type="file"] {
border-radius: 0;
}
.button-group * + button, .button-group * + [type="button"], .button-group * + [type="submit"], .button-group * + [type="reset"],
.button-group * + .button, .button-group * + [role="button"] {
.button-group > :not(:first-child) {
border-left: 1px solid #bdbdbd;
}
@@ -896,8 +895,7 @@ input[type="file"] {
-webkit-flex-direction: column;
flex-direction: column;
}
.button-group * + button, .button-group * + [type="button"], .button-group * + [type="submit"], .button-group * + [type="reset"],
.button-group * + .button, .button-group * + [role="button"] {
.button-group > :not(:first-child) {
border: 0;
border-top: 1px solid #bdbdbd;
}

File diff suppressed because one or more lines are too long