diff --git a/gadjo/static/css/_wcs.scss b/gadjo/static/css/_wcs.scss index 95f0887..0b5655e 100644 --- a/gadjo/static/css/_wcs.scss +++ b/gadjo/static/css/_wcs.scss @@ -60,6 +60,7 @@ div#side { // w.c.s. steps in backoffice submission @each $action in $actions { &.#{$action} a { background: url(icons/action-#{$action}.small.#{$string-color}.png) center center no-repeat; + background-size: 20px; background-image: url(icons/action-#{$action}.small.#{$string-color}.png), url(icons/action-#{$action}.hover.png); &:hover { diff --git a/gadjo/static/css/gadjo.scss b/gadjo/static/css/gadjo.scss index 89fc61a..6c588a0 100644 --- a/gadjo/static/css/gadjo.scss +++ b/gadjo/static/css/gadjo.scss @@ -940,6 +940,7 @@ body.sidepage-expanded #sidepage span#applabel::before { ul#sidepage-menu li a { background: transparent no-repeat $sidepage-icon-width / 2 - 12px 50%; + background-size: 20px; padding: 5px 0 5px $sidepage-icon-width + 1px; } diff --git a/setup.py b/setup.py index f4865cc..5f96023 100644 --- a/setup.py +++ b/setup.py @@ -134,19 +134,19 @@ class build_icons(Command): if not os.path.exists(destpath): os.mkdir(destpath) variants_applications = { - 'small': {'colour': 'e7e7e7', 'width': '20'}, - 'small.white': {'colour': 'ffffff', 'width': '20'}, - 'small.386ede': {'colour': '386ede', 'width': '20'}, - 'small.ff375e': {'colour': 'ff375e', 'width': '20'}, - 'small.6f2b92': {'colour': '6f2b92', 'width': '20'}, + 'small': {'colour': 'e7e7e7', 'width': '40'}, + 'small.white': {'colour': 'ffffff', 'width': '40'}, + 'small.386ede': {'colour': '386ede', 'width': '40'}, + 'small.ff375e': {'colour': 'ff375e', 'width': '40'}, + 'small.6f2b92': {'colour': '6f2b92', 'width': '40'}, 'large': {'colour': 'e7e7e7', 'width': '80'}, 'large-hover': {'colour': 'bebebe', 'width': '80'}, } variants_actions = { - 'small.386ede': {'colour': '386ede', 'width': '20'}, - 'small.ff375e': {'colour': 'ff375e', 'width': '20'}, - 'small.6f2b92': {'colour': '6f2b92', 'width': '20'}, - 'hover': {'colour': '2b2b2b', 'width': '20'}, + 'small.386ede': {'colour': '386ede', 'width': '40'}, + 'small.ff375e': {'colour': 'ff375e', 'width': '40'}, + 'small.6f2b92': {'colour': '6f2b92', 'width': '40'}, + 'hover': {'colour': '2b2b2b', 'width': '40'}, } for basepath, dirnames, filenames in os.walk('icons'): for filename in filenames: