Commented out progressbar stuff

pull/224/head
Satyajit Sahoo 2014-12-06 15:33:34 +05:30
parent c0767cd305
commit aaac3654c6
1 changed files with 129 additions and 129 deletions

View File

@ -74,132 +74,132 @@ GtkLevelBar {
} }
} }
.level-bar { // TODO all stuff below
&.trough { //.level-bar {
border: 1px solid shade($bg_color, 0.8); // &.trough {
background-color: shade($bg_color, 1.08); // border: 1px solid shade($bg_color, 0.8);
background-image: none; // background-color: shade($bg_color, 1.08);
} // background-image: none;
// }
&.fill-block { //
// FIXME: it would be nice to set make fill blocks bigger, but we'd need // &.fill-block {
// :nth-child working on discrete indicators // // FIXME: it would be nice to set make fill blocks bigger, but we'd need
border: 1px shade($selected_bg_color, 5%)); // // :nth-child working on discrete indicators
background-color: $selected_bg_color; // border: 1px shade($selected_bg_color, 5%);
box-shadow: 0 1px transparentize(black, 0.9); // background-color: $selected_bg_color;
border-radius: 1px; // box-shadow: 0 1px transparentize(black, 0.9);
&:backdrop { // border-radius: 1px;
border-color: $selected_bg_color; // &:backdrop {
box-shadow: none; // border-color: $selected_bg_color;
} // box-shadow: none;
&.indicator-discrete { // }
&.horizontal { margin: 0 1px; } // &.indicator-discrete {
&.vertical { margin: 1px 0; } // &.horizontal { margin: 0 1px; }
} // &.vertical { margin: 1px 0; }
&.level-high { // }
border-color: darken($success_color,10%); // &.level-high {
background-color: $success_color; // border-color: darken($success_color,10%);
&:backdrop { border-color: $success_color; } // background-color: $success_color;
} // &:backdrop { border-color: $success_color; }
&.level-low { // }
border-color: darken($warning_color,10%); // &.level-low {
background-color: $warning_color; // border-color: darken($warning_color,10%);
&:backdrop { border-color: $warning_color; }; // background-color: $warning_color;
} // &:backdrop { border-color: $warning_color; };
&.empty-fill-block { // }
background-color: transparent; // &.empty-fill-block {
border-color: if($variant=='light', transparentize($fg_color,0.8), // background-color: transparent;
transparentize($fg_color,0.9)); // border-color: transparentize($fg_color,0.9);
box-shadow: none; // box-shadow: none;
&:backdrop { border-color: transparentize($backdrop_fg_color,0.85); } // &:backdrop { border-color: transparentize($backdrop_fg_color,0.85); }
} // }
} // }
} //}
//
.scale { //.scale {
-GtkRange-slider-width: 16; // -GtkRange-slider-width: 16;
-GtkRange-trough-border: 1; // -GtkRange-trough-border: 1;
-GtkScale-slider-length: 16; // -GtkScale-slider-length: 16;
//
padding: 0; // padding: 0;
border-width: 1px; // border-width: 1px;
border-radius: 2px; // border-radius: 2px;
outline-offset: -1px; // outline-offset: -1px;
} //}
//
.scale.slider { //.scale.slider {
border-radius: 8px; // border-radius: 8px;
background-color: shade($bg_color, 1.08); // background-color: shade($bg_color, 1.08);
background-image: none; // background-image: none;
/* we will draw the border using box shadow for now */ // /* we will draw the border using box shadow for now */
box-shadow: inset 1px 0 shade($bg_color, 0.8), // box-shadow: inset 1px 0 shade($bg_color, 0.8),
inset 0 1px shade($bg_color, 0.8), // inset 0 1px shade($bg_color, 0.8),
inset -1px 0 shade($bg_color, 0.8), // inset -1px 0 shade($bg_color, 0.8),
inset 0 -1px shade($bg_color, 0.8); // inset 0 -1px shade($bg_color, 0.8);
} //}
//
.scale.slider:hover { //.scale.slider:hover {
box-shadow: inset 1px 0 shade($bg_color, 0.7), // box-shadow: inset 1px 0 shade($bg_color, 0.7),
inset 0 1px shade($bg_color, 0.7), // inset 0 1px shade($bg_color, 0.7),
inset -1px 0 shade($bg_color, 0.7), // inset -1px 0 shade($bg_color, 0.7),
inset 0 -1px shade($bg_color, 0.7); // inset 0 -1px shade($bg_color, 0.7);
} //}
//
.scale.slider:insensitive { //.scale.slider:insensitive {
background-color: shade($bg_color, 0.9); // background-color: shade($bg_color, 0.9);
background-image: none; // background-image: none;
box-shadow: inset 1px 0 shade($bg_color, 0.85), // box-shadow: inset 1px 0 shade($bg_color, 0.85),
inset 0 1px shade($bg_color, 0.85), // inset 0 1px shade($bg_color, 0.85),
inset -1px 0 shade($bg_color, 0.85), // inset -1px 0 shade($bg_color, 0.85),
inset 0 -1px shade($bg_color, 0.85); // inset 0 -1px shade($bg_color, 0.85);
} //}
//
.scale.slider.fine-tune:active, //.scale.slider.fine-tune:active,
.scale.slider.fine-tune:active:hover, //.scale.slider.fine-tune:active:hover,
.scale.slider.fine-tune.horizontal:active, //.scale.slider.fine-tune.horizontal:active,
.scale.slider.fine-tune.horizontal:active:hover { //.scale.slider.fine-tune.horizontal:active:hover {
background-size: 50%; // background-size: 50%;
background-repeat: no-repeat; // background-repeat: no-repeat;
background-position: center; // background-position: center;
} //}
//
.scale.mark { //.scale.mark {
border-color: shade($bg_color, 0.8); // border-color: shade($bg_color, 0.8);
} //}
//
.scale.trough { //.scale.trough {
margin: 7px 0; // margin: 7px 0;
border-color: shade($bg_color, 0.8); // border-color: shade($bg_color, 0.8);
border-radius: 2px; // border-radius: 2px;
background-color: shade($bg_color, 1.08); // background-color: shade($bg_color, 1.08);
background-image: none; // background-image: none;
} //}
//
.scale.trough.vertical { //.scale.trough.vertical {
margin: 0 7px; // margin: 0 7px;
} //}
//
.menuitem .scale.highlight.left, //.menuitem .scale.highlight.left,
.scale.highlight.left { //.scale.highlight.left {
border-color: $selected_bg_color; // border-color: $selected_bg_color;
background-color: $selected_bg_color; // background-color: $selected_bg_color;
background-image: none; // background-image: none;
} //}
//
.menuitem .scale.highlight.left:hover { //.menuitem .scale.highlight.left:hover {
border-color: shade($selected_bg_color, 0.8); // border-color: shade($selected_bg_color, 0.8);
background-color: shade($selected_bg_color, 0.8); // background-color: shade($selected_bg_color, 0.8);
} //}
//
.scale.highlight.bottom { //.scale.highlight.bottom {
border-color: $selected_bg_color; // border-color: $selected_bg_color;
background-color: $selected_bg_color; // background-color: $selected_bg_color;
background-image: none; // background-image: none;
} //}
//
.scale.trough:insensitive, //.scale.trough:insensitive,
.scale.highlight.left:insensitive { //.scale.highlight.left:insensitive {
border-color: shade($bg_color, 0.85); // border-color: shade($bg_color, 0.85);
background-color: shade($bg_color, 0.9); // background-color: shade($bg_color, 0.9);
background-image: none; // background-image: none;
} //}