Bug 1070657 - Simplify input[type=range] pseudo element CSS. r=dholbert

This commit is contained in:
Tim Nguyen 2014-09-23 11:37:00 +02:00
parent fcbcbb70e6
commit 0542a29160

View File

@ -837,9 +837,7 @@ input[type=range]::-moz-range-track {
float: none !important;
position: static !important;
border: none;
border-top: solid 0.1em lightgrey;
border-bottom: solid 0.1em lightgrey;
background-color: grey;
background-color: #999;
width: 100%;
height: 0.2em;
/* Prevent nsFrame::HandlePress setting mouse capture to this element. */
@ -849,8 +847,6 @@ input[type=range]::-moz-range-track {
input[type=range][orient=vertical]::-moz-range-track {
border-top: none;
border-bottom: none;
border-left: solid 0.1em lightgrey;
border-right: solid 0.1em lightgrey;
width: 0.2em;
height: 100%;
}
@ -894,9 +890,9 @@ input[type=range]::-moz-range-thumb {
position: static !important;
width: 1em;
height: 1em;
border: 0.1em solid grey;
border: 0.1em solid #999;
border-radius: 0.5em;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><linearGradient id='g' x2='0' y2='100%'><stop stop-color='%23ddd'/><stop offset='100%' stop-color='white'/></linearGradient><rect fill='url(%23g)' width='100%' height='100%'/></svg>");
background-color: #F0F0F0;
/* Prevent nsFrame::HandlePress setting mouse capture to this element. */
-moz-user-select: none ! important;
}