Skip to content

Commit

Permalink
make css compatible with firefox and somewhat with IE too
Browse files Browse the repository at this point in the history
  • Loading branch information
asdwsda committed Jan 20, 2016
1 parent af251ce commit b44fce9
Showing 1 changed file with 67 additions and 5 deletions.
72 changes: 67 additions & 5 deletions moodlamp/data/style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
* {
box-sizing: border-box;
}
.row {
height: 113px;
}
.row:after {
content: "";
clear: both;
Expand All @@ -26,7 +29,6 @@ h1.header {
padding: 5px;
}
.box {
height: 170px;
border: 1px solid #ddd;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
Expand Down Expand Up @@ -63,19 +65,79 @@ input.green[type=range]::-webkit-slider-runnable-track {
input.blue[type=range]::-webkit-slider-runnable-track {
background: #3333ee;
}
input[type=range]:disabled::-webkit-slider-thumb {
background: #7c7f83;
input[type=range]::-moz-range-track {
width: 100%;
height: 3px;
cursor: pointer;
animate: 0.2s;
border: 1px solid #7c7f83;
}
input.red[type=range]::-moz-range-track {
background: #ee3333;
}
input.green[type=range]::-moz-range-track {
background: #33ee33;
}
input.blue[type=range]::-moz-range-track {
background: #3333ee;
}
input[type=range]::-ms-track {
width: 100%;
height: 3px;
cursor: pointer;
animate: 0.2s;
border: 1px solid #7c7f83;
}
input[type=range]::-ms-fill-lower,
input[type=range]::-ms-fill-upper {
background: transparent;
}
input.red[type=range]::-ms-track {
background: #ee3333;
}
input.green[type=range]::-ms-track {
background: #33ee33;
}
input.blue[type=range]::-ms-track {
background: #3333ee;
}
input[type=range]::-webkit-slider-thumb {
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
border: 1px solid #7c7f83;
height: 20px;
width: 15px;
background: #FFFFFF;
background: #ffffff;
cursor: pointer;
-webkit-appearance: none;
margin-top: -8px;
}
input[type=range]::-moz-range-thumb {
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
border: 1px solid #7c7f83;
border-radius: 0;
height: 20px;
width: 15px;
background: #ffffff;
cursor: pointer;
}
input[type=range]::-ms-thumb {
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
border: 1px solid #7c7f83;
border-radius: 0;
height: 20px;
width: 15px;
background: #ffffff;
cursor: pointer;
}
input[type=range]:disabled::-webkit-slider-thumb {
background: #7c7f83;
}
input[type=range]:disabled::-moz-range-thumb {
background: #7c7f83;
}
input[type=range]:disabled::-ms-thumb {
background: #7c7f83;
}
table {
table-layout: fixed;
width: 100%;
Expand Down Expand Up @@ -105,7 +167,7 @@ button:hover {
}
table.rainbow {
width: 100%;
height: 70%;
height:100%;
}
td.btnCell {
height: 50%;
Expand Down

0 comments on commit b44fce9

Please sign in to comment.