1
0
mirror of https://github.com/Chalarangelo/mini.css.git synced 2025-08-22 13:33:03 +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

File diff suppressed because one or more lines are too long

View File

@@ -1213,3 +1213,4 @@
- Reworked complex `tab` module selectors to utilize the functionality of `:not(:first-of-type)` on `label` elements.
- Updated `tab` selectors to use new, *loose* definitions, effectively making the module `0.04KB` lighter. Not a huge difference, but good enough due to the maintenance impact it has on the module, plus the consistency fixed for `.stacked`.
- Moved `input_control`'s `disabled` styling to low-specificity behind the existing flag, saved another `0.05KB`, which is quite a big change. Parsing should also be faster than before. Good catch, **hugging cat**!
- Lowered specificity of selectors used in `.button-group` for styling `border`s, cut off another `0.02KB`.