Skip to content

Commit

Permalink
Client-side cleanup
Browse files Browse the repository at this point in the history
- Remove grunt
- Formatting and spacing. There shall be 4 spaces in a tab. Not 3. Not
5. And 2 is right out.
  • Loading branch information
cortesi committed Sep 15, 2014
1 parent 2cefd05 commit 563078d
Show file tree
Hide file tree
Showing 10 changed files with 110 additions and 280 deletions.
22 changes: 10 additions & 12 deletions libmproxy/web/static/js/app.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

154 changes: 0 additions & 154 deletions web/Gruntfile.js

This file was deleted.

11 changes: 0 additions & 11 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,6 @@
"bower": "",
"bower-installer": "^0.8.4",
"clean-css": "",
"grunt": "",
"grunt-contrib-connect": "",
"grunt-contrib-copy": "",
"grunt-contrib-jshint": "",
"grunt-contrib-less": "",
"grunt-contrib-qunit": "",
"grunt-contrib-uglify": "",
"grunt-contrib-watch": "",
"grunt-notify": "",
"grunt-react": "",
"grunt-shell": "",
"gulp": "^3.8.8",
"gulp-concat": "^2.4.0",
"gulp-jshint": "^1.8.4",
Expand Down
4 changes: 2 additions & 2 deletions web/src/css/app.less
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// www.paulirish.com/2012/box-sizing-border-box-ftw/
html {
box-sizing: border-box;
box-sizing: border-box;
}

*, *:before, *:after {
box-sizing: inherit;
box-sizing: inherit;
}

@import (less) "layout.less";
Expand Down
4 changes: 2 additions & 2 deletions web/src/css/footer.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
footer {
padding: 0 10px;
//text-align: center;
padding: 0 10px;
//text-align: center;
}
106 changes: 52 additions & 54 deletions web/src/css/header.less
Original file line number Diff line number Diff line change
@@ -1,62 +1,60 @@
header {
background-color: white;

background-color: white;

.title-bar {
line-height: 25px;
text-align: center;
}

@separator-color: lighten(grey, 15%);

nav {

border-bottom: solid @separator-color 1px;

a {
display: inline-block;
padding: 3px 14px;
margin: 0 2px -1px;
border: solid transparent 1px;
//text-transform: uppercase;
//font-family: Lato;

&.active {
border-color: @separator-color;
border-bottom-color: white;
}
&:hover {
/*
@preview: lightgrey;
border-top-color: @preview;
border-left-color: @preview;
border-right-color: @preview;
*/
text-decoration: none;
}
&.special {
@special-color: #396cad;
color: white;
background-color: @special-color;
border-bottom-color: @special-color;
&:hover {
background-color: lighten(@special-color, 10%);
}
}
.title-bar {
line-height: 25px;
text-align: center;
}

&:before {
content: " ";
}
@separator-color: lighten(grey, 15%);

nav {
border-bottom: solid @separator-color 1px;

a {
display: inline-block;
padding: 3px 14px;
margin: 0 2px -1px;
border: solid transparent 1px;
//text-transform: uppercase;
//font-family: Lato;

&.active {
border-color: @separator-color;
border-bottom-color: white;
}
&:hover {
/*
@preview: lightgrey;
border-top-color: @preview;
border-left-color: @preview;
border-right-color: @preview;
*/
text-decoration: none;
}
&.special {
@special-color: #396cad;
color: white;
background-color: @special-color;
border-bottom-color: @special-color;
&:hover {
background-color: lighten(@special-color, 10%);
}
}
}

&:after {
clear: both;
}
&:before {
content: " ";
}

}
&:after {
clear: both;
}

}

.menu {
height: 100px;
border-bottom: solid @separator-color 1px;
}
.menu {
height: 100px;
border-bottom: solid @separator-color 1px;
}
}
Loading

0 comments on commit 563078d

Please sign in to comment.