Changeset - 40871e0eb13a
[Not reviewed]
default
0 3 0
Mads Kiilerich - 10 years ago 2015-07-31 15:44:07
madski@unity3d.com
style: add trailing newline to files
2 files changed with 4 insertions and 2 deletions:
0 comments (0 inline, 0 general)
kallithea/public/css/bootstrap.css
Show inline comments
 
@@ -6613,193 +6613,193 @@ td.hidden-sm {
 
}
 

	
 
@media (min-width: 992px) and (max-width: 1199px) {
 
  .hidden-sm.hidden-md {
 
    display: none !important;
 
  }
 
  tr.hidden-sm.hidden-md {
 
    display: none !important;
 
  }
 
  th.hidden-sm.hidden-md,
 
  td.hidden-sm.hidden-md {
 
    display: none !important;
 
  }
 
}
 

	
 
@media (min-width: 1200px) {
 
  .hidden-sm.hidden-lg {
 
    display: none !important;
 
  }
 
  tr.hidden-sm.hidden-lg {
 
    display: none !important;
 
  }
 
  th.hidden-sm.hidden-lg,
 
  td.hidden-sm.hidden-lg {
 
    display: none !important;
 
  }
 
}
 

	
 
.hidden-md {
 
  display: block !important;
 
}
 

	
 
tr.hidden-md {
 
  display: table-row !important;
 
}
 

	
 
th.hidden-md,
 
td.hidden-md {
 
  display: table-cell !important;
 
}
 

	
 
@media (max-width: 767px) {
 
  .hidden-md.hidden-xs {
 
    display: none !important;
 
  }
 
  tr.hidden-md.hidden-xs {
 
    display: none !important;
 
  }
 
  th.hidden-md.hidden-xs,
 
  td.hidden-md.hidden-xs {
 
    display: none !important;
 
  }
 
}
 

	
 
@media (min-width: 768px) and (max-width: 991px) {
 
  .hidden-md.hidden-sm {
 
    display: none !important;
 
  }
 
  tr.hidden-md.hidden-sm {
 
    display: none !important;
 
  }
 
  th.hidden-md.hidden-sm,
 
  td.hidden-md.hidden-sm {
 
    display: none !important;
 
  }
 
}
 

	
 
@media (min-width: 992px) and (max-width: 1199px) {
 
  .hidden-md {
 
    display: none !important;
 
  }
 
  tr.hidden-md {
 
    display: none !important;
 
  }
 
  th.hidden-md,
 
  td.hidden-md {
 
    display: none !important;
 
  }
 
}
 

	
 
@media (min-width: 1200px) {
 
  .hidden-md.hidden-lg {
 
    display: none !important;
 
  }
 
  tr.hidden-md.hidden-lg {
 
    display: none !important;
 
  }
 
  th.hidden-md.hidden-lg,
 
  td.hidden-md.hidden-lg {
 
    display: none !important;
 
  }
 
}
 

	
 
.hidden-lg {
 
  display: block !important;
 
}
 

	
 
tr.hidden-lg {
 
  display: table-row !important;
 
}
 

	
 
th.hidden-lg,
 
td.hidden-lg {
 
  display: table-cell !important;
 
}
 

	
 
@media (max-width: 767px) {
 
  .hidden-lg.hidden-xs {
 
    display: none !important;
 
  }
 
  tr.hidden-lg.hidden-xs {
 
    display: none !important;
 
  }
 
  th.hidden-lg.hidden-xs,
 
  td.hidden-lg.hidden-xs {
 
    display: none !important;
 
  }
 
}
 

	
 
@media (min-width: 768px) and (max-width: 991px) {
 
  .hidden-lg.hidden-sm {
 
    display: none !important;
 
  }
 
  tr.hidden-lg.hidden-sm {
 
    display: none !important;
 
  }
 
  th.hidden-lg.hidden-sm,
 
  td.hidden-lg.hidden-sm {
 
    display: none !important;
 
  }
 
}
 

	
 
@media (min-width: 992px) and (max-width: 1199px) {
 
  .hidden-lg.hidden-md {
 
    display: none !important;
 
  }
 
  tr.hidden-lg.hidden-md {
 
    display: none !important;
 
  }
 
  th.hidden-lg.hidden-md,
 
  td.hidden-lg.hidden-md {
 
    display: none !important;
 
  }
 
}
 

	
 
@media (min-width: 1200px) {
 
  .hidden-lg {
 
    display: none !important;
 
  }
 
  tr.hidden-lg {
 
    display: none !important;
 
  }
 
  th.hidden-lg,
 
  td.hidden-lg {
 
    display: none !important;
 
  }
 
}
 

	
 
.visible-print {
 
  display: none !important;
 
}
 

	
 
tr.visible-print {
 
  display: none !important;
 
}
 

	
 
th.visible-print,
 
td.visible-print {
 
  display: none !important;
 
}
 

	
 
@media print {
 
  .visible-print {
 
    display: block !important;
 
  }
 
  tr.visible-print {
 
    display: table-row !important;
 
  }
 
  th.visible-print,
 
  td.visible-print {
 
    display: table-cell !important;
 
  }
 
  .hidden-print {
 
    display: none !important;
 
  }
 
  tr.hidden-print {
 
    display: none !important;
 
  }
 
  th.hidden-print,
 
  td.hidden-print {
 
    display: none !important;
 
  }
 
}
 
\ No newline at end of file
 
}
whitespacecleanup.sh
Show inline comments
 
#!/bin/bash -x
 

	
 
# Enforce some consistency in whitespace - just to avoid spurious whitespaces changes
 

	
 
files=`hg loc '*.py' '*.html' '*.css' '*.rst' '*.txt' '*.js' | egrep -v '/lockfiles.py|LICENSE-MERGELY.html|/codemirror/|/fontello/|(graph|mergely|native.history|select2/select2|yui.flot)\.js$'`
 
files=`hg loc '*.py' '*.html' '*.css' '*.rst' '*.txt' '*.js' | egrep -v '/lockfiles.py|LICENSE-MERGELY.html|/codemirror/|/fontello/|(graph|mergely|native.history|select2/select2|yui.flot|yui.2.9)\.js$'`
 
sed -i "s,`printf '\t'`,    ,g" $files
 
sed -i "s,  *$,,g" $files
 
# add trailing newline if missing:
 
sed -i '$a\' $files
 

	
 
sed -i 's,\([^ /]\){,\1 {,g' `hg loc '*.css'`
 
sed -i 's|^\([^ /].*,\)\([^ ]\)|\1 \2|g' `hg loc '*.css'`
 

	
 
sed -i 's/^\(    [^: ]*\) *: *\([^/]\)/\1: \2/g' kallithea/public/css/{style,contextbar}.css
 
sed -i '1s|, |,|g' kallithea/public/css/{style,contextbar}.css
 
sed -i 's/^\([^ ,/]\+ [^,]*[^ ,]\) *, *\(.\)/\1,\n\2/g' kallithea/public/css/{style,contextbar}.css
 
sed -i 's/^\([^ ,/].*\)   */\1 /g' kallithea/public/css/{style,contextbar}.css
 
sed -i 's,^--$,-- ,g' kallithea/templates/email_templates/main.txt
 

	
 
hg diff
0 comments (0 inline, 0 general)