Closed (cannot reproduce)
Project:
Zen
Version:
7.x-5.1
Component:
CSS/SASS/HTML markup
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2012 at 21:26 UTC
Updated:
30 Jul 2013 at 12:06 UTC
Hello,
I was trying to modify my button's of type input CSS. I am using SASS, but I am not sure what file I should be insering my new SASS. In normalize.scss there are the current specs.
input[type="submit"] {
cursor: pointer; /* 1 */
-webkit-appearance: button; /* 2 */
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
*overflow: visible; /* 3 */
}
}Should I place my SCSS here? When I do so in no matter what order it overrides all :hover effects as well. Thank you.
Comments
Comment #1
johnalbinIf you put your new properties inside normalize.scss'
input[type="submit"]ruleset, then it will only apply to submit buttons. Is that what you want?I have no idea what you mean by “button's of type input CSS”.
If the rule you created overrides all :hover effects, then you've likely written the selector wrong.
Comment #2
mermemladeK commentedHi JohnAlbin,
That's the problem, my rule overrides all :hover effets. How would I modify the CSS button without modifying :hover effects? If I simply paste my CSS code there it overrides them.
Thanks!
Comment #3
johnalbinYou haven't provided enough information for me to tell what steps you performed when you encountered your bug.