tt-rss/lib/dijit/themes/claro/form/Slider.css

324 lines
12 KiB
CSS
Raw Normal View History

2011-11-08 17:40:44 +01:00
/* Slider
*
* Styling Slider mainly includes styling the Slider progress bar (dijitSliderProgressBar)
*
* Slider progress bar:
* 1. Slider progress bar (default styling):
* .dijitSliderProgressBarH - progress bar at the middle of horizontal slider
* .dijitSliderLeftBumper - bar at the left of horizontal slider
* .dijitSliderRightBumper - bar at the right of horizontal slider
* .dijitSliderProgressBarV - progress bar at the middle of vertical slider
* .dijitSliderTopBumper - bar at the top of vertical slider
* .dijitSliderBottomtBumper - bar at the bottom of vertical slider
*
* 2. hovered Slider progress bar (ie, mouse hover on progress bar)
* .dijitSliderHover .dijitSliderProgressBarH(horizontal) - hovered bar style: background, border
*
* 3. focused Slider progress bar (ie, mouse focused on progress bar)
* .dijitSliderFocused .dijitSliderProgressBarH(horizontal) - focus bar style: background, border
*
* 4. disabled/read-only Slider progress bar
* .dijitSliderDisabled .dijitSliderProgressBarH(horizontal) - bar styles when slider is disabled
*
*
* Slider Thumbs:
* 1. Slider Thumbs (default styling):
* .dijitSliderImageHandleH / .dijitSliderImageHandleV - styles for the controller on the progress bar
*
* 2. hovered Slider Thumbs (ie, mouse hover on slider thumbs)
* .dijitSliderHover .dijitSliderImageHandleH - hovered controller style
*
* 3. focused Slider progress bar (ie, mouse focused on slider thumbs)
* .dijitSliderFocused .dijitSliderImageHandleV - focused controller style
*
*
* Slider Increment/Decrement Buttons:
* 1. Slider Increment/Decrement Buttons (default styling):
* .dijitSliderDecrementIconH - decrement icon which lies at the left of horizontal slider
* .dijitSliderIncrementIconH - increment icon which lies at the right of horizontal slider
* .dijitSliderDecrementIconV - decrement icon which lies at the bottom of vertical slider
* .dijitSliderIncrementIconV - increment icon which lies at the top of vertical slider
*
* 2. hovered Slider Increment/Decrement Buttons (mouse hover on the icons)
* .dijitSliderHover .dijitSliderDecrementIconH - for background, border
*
* 3. active Slider Increment/Decrement Buttons (mouse down on the icons)
* .dijitSliderActive .dijitSliderIncrementIconV - for background, border
*
* 4. disabled/read-only Slider Increment/Decrement Buttons
* .dijitSliderDisabled .dijitSliderDecrementIconH - styles for the icons in disabled slider
* .dijitSliderReadOnly .dijitSliderIncrementIconV - styles for the icons in read-only slider
*/
.claro .dijitSliderBar {
2011-11-08 17:40:44 +01:00
border-style: solid;
outline: 1px;
}
.claro .dijitSliderFocused .dijitSliderBar {
2012-08-14 16:59:10 +02:00
border-color: #759dc0;
}
.claro .dijitSliderHover .dijitSliderBar {
2012-08-14 16:59:10 +02:00
border-color: #759dc0;
}
.claro .dijitSliderDisabled .dijitSliderBar {
2011-11-08 17:40:44 +01:00
background-image: none;
border-color: #d3d3d3;
}
2013-03-18 07:26:24 +01:00
.claro .dijitRuleLabelsContainer {
2012-08-14 16:59:10 +02:00
color: #000000;
}
2011-11-08 17:40:44 +01:00
/* Horizontal Slider */
.claro .dijitRuleLabelsContainerH {
2011-11-08 17:40:44 +01:00
padding: 2px 0;
}
.claro .dijitSlider .dijitSliderProgressBarH, .claro .dijitSlider .dijitSliderLeftBumper {
border-color: #b5bcc7;
background-color: #cfe5fa;
2013-03-18 07:26:24 +01:00
background-image: -moz-linear-gradient(top, #ffffff 0px, #ffffff 1px, rgba(255, 255, 255, 0) 2px);
background-image: -webkit-linear-gradient(top, #ffffff 0px, #ffffff 1px, rgba(255, 255, 255, 0) 2px);
background-image: -o-linear-gradient(top, #ffffff 0px, #ffffff 1px, rgba(255, 255, 255, 0) 2px);
background-image: linear-gradient(top, #ffffff 0px, #ffffff 1px, rgba(255, 255, 255, 0) 2px);
2011-11-08 17:40:44 +01:00
}
.claro .dijitSlider .dijitSliderRemainingBarH, .claro .dijitSlider .dijitSliderRightBumper {
border-color: #b5bcc7;
background-color: #ffffff;
}
.claro .dijitSliderRightBumper {
2011-11-08 17:40:44 +01:00
border-right: solid 1px #b5bcc7;
}
.claro .dijitSliderLeftBumper {
2011-11-08 17:40:44 +01:00
border-left: solid 1px #b5bcc7;
}
.claro .dijitSliderHover .dijitSliderProgressBarH, .claro .dijitSliderHover .dijitSliderLeftBumper {
background-color: #abd6ff;
2012-08-14 16:59:10 +02:00
border-color: #759dc0;
2011-11-08 17:40:44 +01:00
}
.claro .dijitSliderHover .dijitSliderRemainingBarH, .claro .dijitSliderHover .dijitSliderRightBumper {
background-color: #ffffff;
2012-08-14 16:59:10 +02:00
border-color: #759dc0;
2011-11-08 17:40:44 +01:00
}
.claro .dijitSliderFocused .dijitSliderProgressBarH, .claro .dijitSliderFocused .dijitSliderLeftBumper {
background-color: #abd6ff;
2012-08-14 16:59:10 +02:00
border-color: #759dc0;
2013-03-18 07:26:24 +01:00
-webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.2);
-moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.2);
box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.2);
2011-11-08 17:40:44 +01:00
}
.claro .dijitSliderFocused .dijitSliderRemainingBarH, .claro .dijitSliderFocused .dijitSliderRightBumper {
background-color: #ffffff;
2012-08-14 16:59:10 +02:00
border-color: #759dc0;
2013-03-18 07:26:24 +01:00
-webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.2);
-moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.2);
box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.2);
2011-11-08 17:40:44 +01:00
}
.claro .dijitSliderDisabled .dijitSliderProgressBarH, .claro .dijitSliderDisabled .dijitSliderLeftBumper {
background-color: #d3d3d3;
/* left side of slider, fill matches border */
background-image: none;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderDisabled .dijitSliderRemainingBarH, .claro .dijitSliderDisabled .dijitSliderRightBumper {
background-color: #efefef;
}
/* Vertical Slider */
.claro .dijitRuleLabelsContainerV {
2011-11-08 17:40:44 +01:00
padding: 0 2px;
}
.claro .dijitSlider .dijitSliderProgressBarV, .claro .dijitSlider .dijitSliderBottomBumper {
border-color: #b5bcc7;
background-color: #cfe5fa;
2013-03-18 07:26:24 +01:00
background-image: -moz-linear-gradient(left, #ffffff 0px, rgba(255, 255, 255, 0) 1px);
background-image: -webkit-linear-gradient(left, #ffffff 0px, rgba(255, 255, 255, 0) 1px);
background-image: -o-linear-gradient(left, #ffffff 0px, rgba(255, 255, 255, 0) 1px);
background-image: linear-gradient(left, #ffffff 0px, rgba(255, 255, 255, 0) 1px);
2011-11-08 17:40:44 +01:00
}
.claro .dijitSlider .dijitSliderRemainingBarV, .claro .dijitSlider .dijitSliderTopBumper {
border-color: #b5bcc7;
background-color: #ffffff;
}
.claro .dijitSliderBottomBumper {
2011-11-08 17:40:44 +01:00
border-bottom: solid 1px #b5bcc7;
}
.claro .dijitSliderTopBumper {
2011-11-08 17:40:44 +01:00
border-top: solid 1px #b5bcc7;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderHover .dijitSliderProgressBarV, .claro .dijitSliderHover .dijitSliderBottomBumper {
background-color: #abd6ff;
2013-03-18 07:26:24 +01:00
border-color: #759dc0;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderHover .dijitSliderRemainingBarV, .claro .dijitSliderHover .dijitSliderTopBumper {
background-color: #ffffff;
2013-03-18 07:26:24 +01:00
border-color: #759dc0;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderFocused .dijitSliderProgressBarV, .claro .dijitSliderFocused .dijitSliderBottomBumper {
background-color: #abd6ff;
2013-03-18 07:26:24 +01:00
border-color: #759dc0;
-webkit-box-shadow: inset 1px 0px 1px rgba(0, 0, 0, 0.2);
-moz-box-shadow: inset 1px 0px 1px rgba(0, 0, 0, 0.2);
box-shadow: inset 1px 0px 1px rgba(0, 0, 0, 0.2);
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderFocused .dijitSliderRemainingBarV, .claro .dijitSliderFocused .dijitSliderTopBumper {
background-color: #ffffff;
2013-03-18 07:26:24 +01:00
border-color: #759dc0;
-webkit-box-shadow: inset 1px 0px 1px rgba(0, 0, 0, 0.2);
-moz-box-shadow: inset 1px 0px 1px rgba(0, 0, 0, 0.2);
box-shadow: inset 1px 0px 1px rgba(0, 0, 0, 0.2);
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderDisabled .dijitSliderProgressBarV, .claro .dijitSliderDisabled .dijitSliderBottomBumper {
background-color: #d3d3d3;
/* bottom side of slider, fill matches border */
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderDisabled .dijitSliderRemainingBarV, .claro .dijitSliderDisabled .dijitSliderTopBumper {
background-color: #efefef;
}
2011-11-08 17:40:44 +01:00
/* ------- Thumbs ------- */
.claro .dijitSliderImageHandleH {
2011-11-08 17:40:44 +01:00
border: 0;
width: 18px;
height: 16px;
2012-08-14 16:59:10 +02:00
background-image: url("../form/images/sliderThumbs.png");
2011-11-08 17:40:44 +01:00
background-repeat: no-repeat;
background-position: 0 0;
}
.claro .dijitSliderHover .dijitSliderImageHandleH {
2011-11-08 17:40:44 +01:00
background-position: -18px 0;
}
.claro .dijitSliderFocused .dijitSliderImageHandleH {
2011-11-08 17:40:44 +01:00
background-position: -36px 0;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderProgressBarH .dijitSliderThumbHover {
background-position: -36px 0;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderProgressBarH .dijitSliderThumbActive {
background-position: -36px 0;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderReadOnly .dijitSliderImageHandleH, .claro .dijitSliderDisabled .dijitSliderImageHandleH {
background-position: -54px 0;
}
.claro .dijitSliderImageHandleV {
2011-11-08 17:40:44 +01:00
border: 0;
width: 18px;
height: 16px;
2012-08-14 16:59:10 +02:00
background-image: url("../form/images/sliderThumbs.png");
2011-11-08 17:40:44 +01:00
background-repeat: no-repeat;
background-position: -289px 0;
}
.claro .dijitSliderHover .dijitSliderImageHandleV {
2011-11-08 17:40:44 +01:00
background-position: -307px 0;
}
.claro .dijitSliderFocused .dijitSliderImageHandleV {
2011-11-08 17:40:44 +01:00
background-position: -325px 0;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderProgressBarV .dijitSliderThumbHover {
background-position: -325px 0;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderProgressBarV .dijitSliderThumbActive {
background-position: -325px 0;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderReadOnly .dijitSliderImageHandleV, .claro .dijitSliderDisabled .dijitSliderImageHandleV {
background-position: -343px 0;
}
2011-11-08 17:40:44 +01:00
/* ---- Increment/Decrement Buttons ---- */
.claro .dijitSliderButtonContainerH {
padding: 1px 3px 1px 2px;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderButtonContainerV {
padding: 3px 1px 2px 1px;
}
.claro .dijitSliderDecrementIconH,
.claro .dijitSliderIncrementIconH,
.claro .dijitSliderDecrementIconV,
.claro .dijitSliderIncrementIconV {
2012-08-14 16:59:10 +02:00
background-image: url("../form/images/commonFormArrows.png");
2011-11-08 17:40:44 +01:00
background-repeat: no-repeat;
background-color: #efefef;
-moz-border-radius: 2px;
border-radius: 2px;
border: solid 1px #b5bcc7;
font-size: 1px;
}
.claro .dijitSliderDecrementIconH, .claro .dijitSliderIncrementIconH {
height: 12px;
width: 9px;
}
.claro .dijitSliderDecrementIconV, .claro .dijitSliderIncrementIconV {
height: 9px;
width: 12px;
}
.claro .dijitSliderActive .dijitSliderDecrementIconH,
.claro .dijitSliderActive .dijitSliderIncrementIconH,
.claro .dijitSliderActive .dijitSliderDecrementIconV,
.claro .dijitSliderActive .dijitSliderIncrementIconV,
.claro .dijitSliderHover .dijitSliderDecrementIconH,
.claro .dijitSliderHover .dijitSliderIncrementIconH,
.claro .dijitSliderHover .dijitSliderDecrementIconV,
.claro .dijitSliderHover .dijitSliderIncrementIconV {
2011-11-08 17:40:44 +01:00
/* dijitSliderActive should be treated as dijitSliderHover since "clicking the slider" has no meaning */
2012-08-14 16:59:10 +02:00
border: solid 1px #759dc0;
2011-11-08 17:40:44 +01:00
background-color: #ffffff;
}
.claro .dijitSliderDecrementIconH {
2011-11-08 17:40:44 +01:00
background-position: -357px 50%;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderActive .dijitSliderDecrementIconH.claro .dijitSliderHover .dijitSliderDecrementIconH {
background-position: -393px 50%;
}
.claro .dijitSliderIncrementIconH {
2011-11-08 17:40:44 +01:00
background-position: -251px 50%;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderActive .dijitSliderIncrementIconH.claro .dijitSliderHover .dijitSliderIncrementIconH {
background-position: -283px 50%;
}
.claro .dijitSliderDecrementIconV {
2011-11-08 17:40:44 +01:00
background-position: -38px 50%;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderActive .dijitSliderDecrementIconV.claro .dijitSliderHover .dijitSliderDecrementIconV {
background-position: -73px 50%;
}
.claro .dijitSliderIncrementIconV {
2011-11-08 17:40:44 +01:00
background-position: -143px 49%;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderActive .dijitSliderIncrementIconV.claro .dijitSliderHover .dijitSliderIncrementIconV {
background-position: -178px 49%;
}
.claro .dijitSliderButtonContainerV .dijitSliderDecrementButtonHover,
.claro .dijitSliderButtonContainerH .dijitSliderDecrementButtonHover,
.claro .dijitSliderButtonContainerV .dijitSliderIncrementButtonHover,
.claro .dijitSliderButtonContainerH .dijitSliderIncrementButtonHover {
2011-11-08 17:40:44 +01:00
background-color: #cfe5fa;
}
.claro .dijitSliderButtonContainerV .dijitSliderDecrementButtonActive,
.claro .dijitSliderButtonContainerH .dijitSliderDecrementButtonActive,
.claro .dijitSliderButtonContainerV .dijitSliderIncrementButtonActive,
.claro .dijitSliderButtonContainerH .dijitSliderIncrementButtonActive {
2011-11-08 17:40:44 +01:00
background-color: #abd6ff;
2012-08-14 16:59:10 +02:00
border-color: #759dc0;
}
.claro .dijitSliderButtonInner {
2011-11-08 17:40:44 +01:00
visibility: hidden;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderDisabled .dijitSliderBar {
border-color: #d3d3d3;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderReadOnly *, .claro .dijitSliderDisabled * {
border-color: #d3d3d3;
color: #818181;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderReadOnly .dijitSliderDecrementIconH, .claro .dijitSliderDisabled .dijitSliderDecrementIconH {
background-position: -321px 50%;
background-color: #efefef;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderReadOnly .dijitSliderIncrementIconH, .claro .dijitSliderDisabled .dijitSliderIncrementIconH {
background-position: -215px 50%;
background-color: #efefef;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderReadOnly .dijitSliderDecrementIconV, .claro .dijitSliderDisabled .dijitSliderDecrementIconV {
background-position: -3px 49%;
background-color: #efefef;
}
2011-11-08 17:40:44 +01:00
.claro .dijitSliderReadOnly .dijitSliderIncrementIconV, .claro .dijitSliderDisabled .dijitSliderIncrementIconV {
background-position: -107px 49%;
background-color: #efefef;
}