misc: generate hdpi icons (#44087)
This commit is contained in:
parent
52e178f34a
commit
afa8e82c81
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
18
setup.py
18
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:
|
||||
|
|
Loading…
Reference in New Issue