Skip to content

Commit

Permalink
refactor: Cleanup less files
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Jan 1, 2016
1 parent ae006e0 commit 179d9f2
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 56 deletions.
5 changes: 4 additions & 1 deletion app/styles/app.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@import "./variables";
@import "./bootstrap";
@import "./base";
@import "../../node_modules/font-awesome/less/font-awesome";

@import "./base";
@import "./typography";
54 changes: 0 additions & 54 deletions app/styles/base.less
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/*
* Base structure
*/

/* Move down content because we have a fixed navbar that is 50px tall */

body {
padding-top: 70px;
font-size: 14px;
Expand All @@ -12,52 +6,12 @@ body {
font-family: Myriad Pro, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/*
* IPFS stuff
*/

/* titles */
h1, h2, h3, h4, h5, h6 {
color: #586071;
text-transform: uppercase;
font-weight: 600;
}
h1 {
font-size: 24px;
}
h2 {
font-size: 20px;
}
h3 {
font-size: 18px;
}
h4 {
font-size: 16px;
}
h5 {
font-size: 14px;
}
h6 {
font-size: 12px;
}

/* link */
a {
color: #85dede;
}
a:hover, a:active, a:visited, a:focus {
color: #78c1c1;
}

/* header style */
.page-header {
padding-bottom: 9px;
margin: 0 0 20px;
border: none !important;
}
strong {
color: #7a8394;
}

/* add it to all your text blocks */
.box {
Expand Down Expand Up @@ -437,8 +391,6 @@ li.active a span.icon-log {
}
}



p {
margin: 0 0 4px;
}
Expand Down Expand Up @@ -549,7 +501,6 @@ p {
}
}


.webui-connection {
margin-bottom: 6px;
border-radius: 4px;
Expand Down Expand Up @@ -716,11 +667,6 @@ p {
}
}

strong {
font-weight: 600;
color: #7a8394;
}

.globe-container {
max-height: 500px;
position: relative;
Expand Down
1 change: 0 additions & 1 deletion app/styles/bootstrap.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Core variables and mixins
@import "./variables";
@import "../../node_modules/bootstrap/less/mixins";

// Reset and dependencies
Expand Down
50 changes: 50 additions & 0 deletions app/styles/typography.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
h1,
h2,
h3,
h4,
h5,
h6 {
color: #586071;
text-transform: uppercase;
font-weight: 600;
}

h1 {
font-size: 24px;
}

h2 {
font-size: 20px;
}

h3 {
font-size: 18px;
}

h4 {
font-size: 16px;
}

h5 {
font-size: 14px;
}

h6 {
font-size: 12px;
}

a {
color: #85dede;

&:hover,
&:active,
&:visited,
&:focus {
color: #78c1c1;
}
}

strong {
color: #7a8394;
font-weight: 600;
}

0 comments on commit 179d9f2

Please sign in to comment.