Skip to content

Commit

Permalink
fix tasks color
Browse files Browse the repository at this point in the history
  • Loading branch information
svuillet committed Apr 21, 2015
1 parent 580f35d commit f63b33e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Expand Up @@ -46,7 +46,7 @@ public native void addListenerInput(Element range, TaskPage page) /*-{

private void updateRange(final int value) {
double val = value / 100.0;
String css = "background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, color-stop(" + val + ", rgb(148, 161, 78)), color-stop(" + val + ", rgb(197, 197, 197)));";
String css = "background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, color-stop(" + val + ", rgb(114, 171, 14)), color-stop(" + val + ", rgb(197, 197, 197)));";
range.getElement().setAttribute("style", css);
}

Expand Down
Expand Up @@ -77,7 +77,7 @@ void changePercent(final ValueChangeEvent<String> event) {

private void updateRange(final int value) {
double val = value / 100.0;
String css = "background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, color-stop(" + val + ", rgb(148, 161, 78)), color-stop(" + val + ", rgb(197, 197, 197)));";
String css = "background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, color-stop(" + val + ", rgb(114, 171, 14)), color-stop(" + val + ", rgb(197, 197, 197)));";
range.getElement().setAttribute("style", css);
}
}
6 changes: 3 additions & 3 deletions web/src/main/java/com/silverpeas/mobile/public/spmobile.css
Expand Up @@ -1193,15 +1193,15 @@ input[type="range"]{
linear,
left top,
right top,
color-stop(0, #94A14E),
color-stop(0, #72ab0e),
color-stop(0, #C5C5C5)
);
}

input[type='range']::-webkit-slider-thumb {
-webkit-appearance: none !important;
background-color: #94A14E;
border: 1px solid #94A14E;
background-color: #72ab0e;
border: 1px solid #72ab0e;
height: 2em;
width: 2em;
}
Expand Down

0 comments on commit f63b33e

Please sign in to comment.