Permalink
Browse files

cool CSS style change

  • Loading branch information...
1 parent bf26b5e commit 68ae8200a476cfc5955547aeb5336720cd49ef90 @yinwang0 committed Sep 12, 2012
Showing with 31 additions and 19 deletions.
  1. +30 −18 diff-s.css
  2. +1 −1 nav-div.js
View
@@ -16,43 +16,40 @@
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
-
-.d {
+.d { /* deleted */
border: solid 1px #CC929A;
- /* border: solid 1px #E6A4AE; */
- background-color: LightPink;
+ border-radius: 4px;
+ background-color: #FCBFBA;
}
-.i {
+.i { /* inserted */
border: solid 1px #73BE73;
- /* border: solid 1px #82D682; */
- background-color: LightGreen;
+ border-radius: 4px;
+ background-color: #98FB98;
}
-.c {
+.c { /* changed */
border: solid 1px #8AADB8;
- /* border: solid 1px #9CC2CF; */
background-color: LightBlue;
cursor: pointer;
}
-.m {
- border: solid 1px LightPink;
- /* border: solid 1px #BEBEBE; */
- cursor: pointer;
+.m { /* moved */
+ border: dashed 1px #A9A9A9;
+ border-radius: 4px;
+ cursor: crosshair;
}
.mc {
border: solid 1px LightPink;
background-color: LightBlue;
- /* border: solid 1px #BEBEBE; */
cursor: pointer;
}
-.u {
+.u { /* unchanged */
border: solid 1px #A9A9A9;
- /* border: solid 1px #BEBEBE; */
- cursor: pointer;
+ border-radius: 4px;
+ cursor: crosshair;
}
span.lineno {
@@ -73,9 +70,10 @@ div.src {
width:48%;
height:98%;
overflow:scroll;
- border:1px solid;
float:left;
padding:0.5%;
+ border: solid 2px LightGrey;
+ border-radius: 5px;
}
@@ -99,3 +97,17 @@ pre {
p {
line-height: 200%;
}
+
+::-webkit-scrollbar {
+ width: 10px;
+}
+
+::-webkit-scrollbar-track {
+ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
+ border-radius: 10px;
+}
+
+::-webkit-scrollbar-thumb {
+ border-radius: 10px;
+ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
+}
View
@@ -30,7 +30,7 @@ var minStep = 10;
var nSteps = 30;
var stepInterval = 10;
var blockRange = 5; // how far consider one page blocked
-var nodeHLColor = 'yellow';
+var nodeHLColor = '#C9B0A9';
var lineHLColor = '#FFFF66';
var lineBlockedColor = '#E9AB17';
var bgColor = '';

0 comments on commit 68ae820

Please sign in to comment.