Parcourir la source

Add 15% alpha variants of --nbx-color

Preparatory work for factoring row styling out of Python
Per von Zweigbergk il y a 2 ans
Parent
commit
d44f67aea5

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
netbox/project-static/dist/netbox-dark.css


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
netbox/project-static/dist/netbox-light.css


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
netbox/project-static/dist/netbox-print.css


+ 2 - 0
netbox/project-static/styles/netbox.scss

@@ -836,9 +836,11 @@ table tbody {
 }
 
 // Expose theme colors as variables. (Useful for dynamic styling of choices etc.)
+// Both as opaque colour and translucent (alpha 15%)
 :root {
   @each $color, $value in $theme-colors {
     --nbx-color-#{$color}: #{$value};
+    --nbx-color-#{$color}-a15: #{rgba($value, 0.15)};
   }
 }
 

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff