Changeset - 00703cdbd343
[Not reviewed]
default
0 2 0
domruf - 8 years ago 2017-10-26 22:08:11
dominikruf@gmail.com
less: add some comments to kallithea-diff.less
2 files changed with 44 insertions and 10 deletions:
0 comments (0 inline, 0 general)
kallithea/public/css/style.css
Show inline comments
 
@@ -1927,19 +1927,22 @@ input.perm_filter {
 
.perm-gravatar-ac {
 
  vertical-align: middle;
 
  padding: 2px;
 
  width: 14px;
 
  height: 14px;
 
}
 
/* bootstrap progress bar has margin-bottom we don't want that in files list */
 
.cs_files .progress {
 
  margin-bottom: 0;
 
}
 
/* progress bars should be aligned right */
 
.cs_files .changes {
 
  float: right;
 
  color: #577632;
 
}
 
/* colors for changes */
 
.cs_files .changes .added {
 
  color: inherit;
 
  background-color: #BBFFBB;
 
  float: left;
 
  text-align: center;
 
  font-size: 9px;
 
@@ -1949,13 +1952,13 @@ input.perm_filter {
 
  background-color: #FF8888;
 
  float: left;
 
  text-align: center;
 
  font-size: 9px;
 
  padding: 2px 0px 2px 0px;
 
}
 
/*new binary
 
/* binary
 
NEW_FILENODE = 1
 
DEL_FILENODE = 2
 
MOD_FILENODE = 3
 
RENAMED_FILENODE = 4
 
CHMOD_FILENODE = 5
 
BIN_FILENODE = 6
 
@@ -1964,28 +1967,29 @@ BIN_FILENODE = 6
 
  background-color: #BBFFBB;
 
  float: left;
 
  text-align: center;
 
  font-size: 9px;
 
  padding: 2px 0px 2px 0px;
 
}
 
/* added binary */
 
.cs_files .changes .bin.bin1 {
 
  background-color: #BBFFBB;
 
}
 
/*deleted binary*/
 
/* deleted binary*/
 
.cs_files .changes .bin.bin2 {
 
  background-color: #FF8888;
 
}
 
/*mod binary*/
 
/* mod binary*/
 
.cs_files .changes .bin.bin3 {
 
  background-color: #DDDDDD;
 
}
 
/*rename file*/
 
/* rename file*/
 
.cs_files .changes .bin.bin4 {
 
  background-color: #6D99FF;
 
}
 
/*chmod file*/
 
/* chmod file*/
 
.cs_files .changes .bin.bin5 {
 
  background-color: #6D99FF;
 
}
 
.cs_files .cs_added {
 
  height: 16px;
 
  margin-top: 7px;
 
@@ -2004,21 +2008,24 @@ BIN_FILENODE = 6
 
}
 
.cs_files .cs_renamed {
 
  height: 16px;
 
  margin-top: 7px;
 
  text-align: left;
 
}
 
/* center collapse button */
 
.diff-collapse {
 
  text-align: center;
 
  margin-bottom: 15px;
 
}
 
/* the whole line should be colored */
 
table.code-difftable {
 
  border-collapse: collapse;
 
  border-radius: 0px !important;
 
  width: 100%;
 
}
 
/* line coloring */
 
table.code-difftable .context {
 
  background: none repeat scroll 0 0 #DDE7EF;
 
  color: #999;
 
}
 
table.code-difftable .add {
 
  background: none repeat scroll 0 0 #DDFFDD;
 
@@ -2031,25 +2038,29 @@ table.code-difftable .del {
 
  background: none repeat scroll 0 0 #FFDDDD;
 
}
 
table.code-difftable .del del {
 
  background: none repeat scroll 0 0 #FFAAAA;
 
  text-decoration: none;
 
}
 
/* tabs */
 
table.code-difftable td.code pre u:before {
 
  content: "\21a6";
 
  display: inline-block;
 
  width: 0;
 
}
 
/* CR */
 
table.code-difftable td.code pre u.cr:before {
 
  content: "\21a4";
 
  display: inline-block;
 
  color: rgba(0, 0, 0, 0.5);
 
}
 
/* whitespace characters */
 
table.code-difftable td.code pre u {
 
  color: rgba(0, 0, 0, 0.15);
 
}
 
/* trailing spaces */
 
table.code-difftable td.code pre i {
 
  border-style: solid;
 
  border-width: 0 0 0 1px;
 
  color: rgba(0, 0, 0, 0.5);
 
}
 
/** LINE NUMBERS **/
 
@@ -2100,12 +2111,13 @@ table.code-difftable .code pre {
 
  padding: 0;
 
  min-height: 17px;
 
  line-height: 17px;
 
  white-space: pre-wrap;
 
  word-break: break-all;
 
}
 
/* leading +/- on changed lines */
 
table.code-difftable .del .code pre:before {
 
  content: "-";
 
  color: #800;
 
  float: left;
 
  left: -1em;
 
  position: relative;
 
@@ -2123,12 +2135,13 @@ table.code-difftable .unmod .code pre:be
 
  content: " ";
 
  float: left;
 
  left: -1em;
 
  position: relative;
 
  width: 0;
 
}
 
/* comment bubble */
 
.add-bubble {
 
  position: relative;
 
  display: none;
 
  float: left;
 
  width: 0px;
 
  height: 0px;
kallithea/public/less/kallithea-diff.less
Show inline comments
 
/* bootstrap progress bar has margin-bottom we don't want that in files list */
 
.cs_files .progress {
 
  margin-bottom: 0;
 
}
 
/* progress bars should be aligned right */
 
.cs_files .changes {
 
  float: right;
 
  color: #577632;
 
}
 

	
 
/* colors for changes */
 
.cs_files .changes .added {
 
  color: inherit;
 
  background-color: #BBFFBB;
 
  float: left;
 
  text-align: center;
 
  font-size: 9px;
 
@@ -17,13 +21,13 @@
 
  background-color: #FF8888;
 
  float: left;
 
  text-align: center;
 
  font-size: 9px;
 
  padding: 2px 0px 2px 0px;
 
}
 
/*new binary
 
/* binary
 
NEW_FILENODE = 1
 
DEL_FILENODE = 2
 
MOD_FILENODE = 3
 
RENAMED_FILENODE = 4
 
CHMOD_FILENODE = 5
 
BIN_FILENODE = 6
 
@@ -32,28 +36,29 @@ BIN_FILENODE = 6
 
  background-color: #BBFFBB;
 
  float: left;
 
  text-align: center;
 
  font-size: 9px;
 
  padding: 2px 0px 2px 0px;
 
}
 
/* added binary */
 
.cs_files .changes .bin.bin1 {
 
  background-color: #BBFFBB;
 
}
 
/*deleted binary*/
 
/* deleted binary*/
 
.cs_files .changes .bin.bin2 {
 
  background-color: #FF8888;
 
}
 
/*mod binary*/
 
/* mod binary*/
 
.cs_files .changes .bin.bin3 {
 
  background-color: #DDDDDD;
 
}
 
/*rename file*/
 
/* rename file*/
 
.cs_files .changes .bin.bin4 {
 
  background-color: #6D99FF;
 
}
 
/*chmod file*/
 
/* chmod file*/
 
.cs_files .changes .bin.bin5 {
 
  background-color: #6D99FF;
 
}
 
.cs_files .cs_added {
 
  height: 16px;
 
  margin-top: 7px;
 
@@ -72,21 +77,27 @@ BIN_FILENODE = 6
 
}
 
.cs_files .cs_renamed {
 
  height: 16px;
 
  margin-top: 7px;
 
  text-align: left;
 
}
 

	
 
/* center collapse button */
 
.diff-collapse {
 
  text-align: center;
 
  margin-bottom: 15px;
 
}
 

	
 
/* the whole line should be colored */
 
table.code-difftable {
 
  border-collapse: collapse;
 
  border-radius: 0px !important;
 
  width: 100%;
 
}
 

	
 
/* line coloring */
 
table.code-difftable .context {
 
  background: none repeat scroll 0 0 #DDE7EF;
 
  color: #999;
 
}
 
table.code-difftable .add {
 
  background: none repeat scroll 0 0 #DDFFDD;
 
@@ -99,30 +110,36 @@ table.code-difftable .del {
 
  background: none repeat scroll 0 0 #FFDDDD;
 
}
 
table.code-difftable .del del {
 
  background: none repeat scroll 0 0 #FFAAAA;
 
  text-decoration: none;
 
}
 

	
 
/* tabs */
 
table.code-difftable td.code pre u:before {
 
  content: "\21a6";
 
  display: inline-block;
 
  width: 0;
 
}
 
/* CR */
 
table.code-difftable td.code pre u.cr:before {
 
  content: "\21a4";
 
  display: inline-block;
 
  color: rgba(0, 0, 0, 0.5);
 
}
 
/* whitespace characters */
 
table.code-difftable td.code pre u {
 
  color: rgba(0, 0, 0, 0.15);
 
}
 
/* trailing spaces */
 
table.code-difftable td.code pre i {
 
  border-style: solid;
 
  border-width: 0 0 0 1px;
 
  color: rgba(0, 0, 0, 0.5);
 
}
 

	
 
/** LINE NUMBERS **/
 
table.code-difftable .lineno {
 
  padding-left: 2px;
 
  padding-right: 2px !important;
 
  width: 30px;
 
  -moz-user-select: none;
 
@@ -168,12 +185,14 @@ table.code-difftable .code pre {
 
  padding: 0;
 
  min-height: 17px;
 
  line-height: 17px;
 
  white-space: pre-wrap;
 
  word-break: break-all;
 
}
 

	
 
/* leading +/- on changed lines */
 
table.code-difftable .del .code pre:before {
 
  content: "-";
 
  color: #800;
 
  float: left;
 
  left: -1em;
 
  position: relative;
 
@@ -191,12 +210,14 @@ table.code-difftable .unmod .code pre:be
 
  content: " ";
 
  float: left;
 
  left: -1em;
 
  position: relative;
 
  width: 0;
 
}
 

	
 
/* comment bubble */
 
.add-bubble {
 
  position: relative;
 
  display: none;
 
  float: left;
 
  width: 0px;
 
  height: 0px;
0 comments (0 inline, 0 general)