linuxmint - Linux Mint Cinnamon CSS theme misbehaving -
i trying create cinnamon css theme, i'm having strange issue.
as can see below, have set .menu-application-button:hover
, .menu-application-button-selected
's backgound-colour attribute #3478db
.
this works fine except when scrollbar present, background appears white. bizarre, have not set white in menu code @ all. have tried using !important
problem still persists.
is silly mistake done me, or bug in cinnamon? , if mistake how can fix it?
here's menu code:
/* =================================================================== * menu (menu.js) * ===================================================================*/ .menu-favorites-box { width: 50px; margin: auto; padding: 10px; border: 1px solid #aaa; border-radius: 3px; background-color: rgba(85,85,85,0.1); transition-duration: 100; } .menu-favorites-button { padding: 10px; } .menu-favorites-button:hover { padding: 10px 4px 10px 16px; } .menu-help-button { padding-top: 2px; padding-left: 5px; padding-right: 5px; padding-bottom: 2px; } .menu-help-button:hover { color: white; background-gradient-direction: vertical; background-gradient-start: rgba(255,255,255,0.12); background-gradient-end: rgba(255,255,255,0.06); box-shadow: inset 0px 0px 1px 1px rgba(255,255,255,0.12); border-radius: 3px; } .menu-places-box { padding: 10px; } .menu-places-button { padding: 10px; } .menu-categories-box { padding-top: 15px; padding-left: 15px; padding-right: 5px; padding-bottom: 0px; } .menu-applications-box { padding-top: 15px; padding-left: 10px; padding-right: 15px; padding-bottom: 0px; } .menu-application-button { height: 36px; padding: 0px 7px; } .menu-application-button:hover, .menu-application-button-selected { height: 36px; padding: 0px 7px; color: rgba(255,255,255,1); background-color: #3478db; border-color: #3374d4; } .menu-application-button-label:ltr { padding-left: 5px; } .menu-application-button-label:rtl { padding-right: 5px; } .menu-category-button { height: 36px; padding: 0px 7px; } .menu-category-button-greyed { height: 36px; padding: 0px 7px; color: #aaa; } .menu-category-button-selected { height: 36px; padding: 0px 7px; background-color: #3478db; color: rgba(255,255,255,1); border-color: #3374d4; } .menu-category-button-label:ltr { padding-left: 5px; } .menu-category-button-label:rtl { padding-right: 5px; } /* name , description of hovered item in menu * appears on bottom right hand corner of menu*/ .menu-selected-app-box { padding-right: 30px; padding-left: 28px; text-align: right; } .menu-selected-app-title { font-weight: bold; color: #4784de; } .menu-selected-app-description { max-width: 150px; color: #333; } .menu-search-box:ltr { padding-left: 15px; } .menu-search-box:rtl { padding-right: 15px; } #menu-search-entry { border-image: url("entry.png") 5; color: #333; caret-color: #333; font-size: 12pt; caret-size: 1px; selected-color: white; selection-background-color: #4784de; padding: 0px 8px; width: 15em; height: 30px; } .menu-search-entry-icon { icon-size: 1em; color: #333; } .menu-context-menu { }
the full code, if needed, available @ http://pastebin.com/ytcf0b9f.
Comments
Post a Comment