Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed all LESS syntax until we have a better use case for needing it.

  • Loading branch information...
commit ab13ce27c3286a42b84ace389eed3a32014f8c27 1 parent 92765a7
@ahume ahume authored
View
67 docs/static/css/core.pasteup.css
@@ -1,8 +1,3 @@
-.h {
- position: absolute !important;
- clip: rect(1px 1px 1px 1px);
- clip: rect(1px, 1px, 1px, 1px);
-}
/*! normalize.css 2012-03-06T10:21 UTC - http://github.com/necolas/normalize.css */
/* =============================================================================
HTML5 display definitions
@@ -463,7 +458,7 @@ table {
padding-bottom: 20px;
}
.zone-border {
- border-top: 3px solid #d61d00;
+ border-top: 3px solid #D61D00;
padding-top: 5px;
}
.zone-border-small {
@@ -471,13 +466,13 @@ table {
padding-top: 2px;
}
.zone-color {
- color: #d61d00;
+ color: #D61D00;
}
.zone-background-color {
- background-color: #d61d00;
+ background-color: #D61D00;
}
body {
- color: #333333;
+ color: #333;
font-size: 12px;
line-height: 15px;
font-family: arial, sans-serif;
@@ -520,7 +515,6 @@ a:active {
.h6 {
font-family: georgia, serif;
font-weight: normal;
- color: #333333;
}
.h1 {
font-size: 24px;
@@ -606,24 +600,63 @@ a:active {
.dropdown li:first-child {
border-top: 0 none;
}
+/*
+ Show the current zone border color.
+*/
.zone-news .zone-border {
- border-color: #d61d00;
+ border-color: #D61D00;
}
.zone-sport .zone-border {
- border-color: #008000;
+ border-color: green;
}
.zone-comment .zone-border {
- border-color: #0061a6;
+ border-color: #0061A6;
}
.zone-culture .zone-border {
- border-color: #d61d00;
+ border-color: #D61D00;
}
.zone-business .zone-border {
- border-color: #3246ab;
+ border-color: #3246AB;
}
.zone-money .zone-border {
- border-color: #8f1ab6;
+ border-color: #8F1AB6;
}
.zone-lifestyle .zone-border {
- border-color: #ad532f;
+ border-color: #AD532F;
+}
+.zone-travel .zone-border {
+ border-color: #066EC9;
+}
+.zone-environment .zone-border {
+ border-color: #4A7801;
+}
+/*
+ Show the current zone background color.
+*/
+.zone-news .zone-background {
+ background-color: #D61D00;
+}
+.zone-sport .zone-background {
+ background-color: green;
+}
+.zone-comment .zone-background {
+ background-color: #0061A6;
+}
+.zone-culture .zone-background {
+ background-color: #D61D00;
+}
+.zone-business .zone-background {
+ background-color: #3246AB;
+}
+.zone-money .zone-background {
+ background-color: #8F1AB6;
+}
+.zone-lifestyle .zone-background {
+ background-color: #AD532F;
+}
+.zone-travel .zone-background {
+ background-color: #066EC9;
+}
+.zone-environment .zone-background {
+ background-color: #4A7801;
}
View
36 docs/static/css/core.pasteup.min.css
@@ -1,4 +1,3 @@
-.h{position:absolute !important;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);}
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block;}
audio,canvas,video{display:inline-block;*display:inline;*zoom:1;}
audio:not([controls]){display:none;height:0;}
@@ -51,17 +50,17 @@ table{border-collapse:collapse;border-spacing:0;}
.pull-left{float:left;}
.pull-right{float:right;}
.h-backed{background-color:#ededed;padding-left:5px;padding-right:5px;padding-top:10px;padding-bottom:20px;}
-.zone-border{border-top:3px solid #d61d00;padding-top:5px;}
+.zone-border{border-top:3px solid #D61D00;padding-top:5px;}
.zone-border-small{border-top-width:1px;padding-top:2px;}
-.zone-color{color:#d61d00;}
-.zone-background-color{background-color:#d61d00;}
-body{color:#333333;font-size:12px;line-height:15px;font-family:arial,sans-serif;}
+.zone-color{color:#D61D00;}
+.zone-background-color{background-color:#D61D00;}
+body{color:#333;font-size:12px;line-height:15px;font-family:arial,sans-serif;}
p{margin-top:5px;margin-bottom:5px;}
.article-body p{font-size:14px;line-height:20px;margin-top:10px;margin-bottom:10px;}
a,a:link,a:visited{color:#005689;text-decoration:none;}
a:hover,a:focus{text-decoration:underline;}
a:active{color:white;background-color:#005689;}
-.h1,.h2,.h3,.h4,.h5,.h6{font-family:georgia, serif;font-weight:normal;color:#333333;}
+.h1,.h2,.h3,.h4,.h5,.h6{font-family:georgia, serif;font-weight:normal;}
.h1{font-size:24px;line-height:30px;}
.h2{font-size:21px;line-height:25px;}
.h3{font-size:18px;line-height:20px;}
@@ -79,10 +78,21 @@ a:active{color:white;background-color:#005689;}
.dropdown{background:#d9d9d9;position:absolute;display:none;}
.dropdown li{border-left:0 none;border-top:1px solid #c6c6c6;clear:both;line-height:1;}
.dropdown li:first-child{border-top:0 none;}
-.zone-news .zone-border{border-color:#d61d00;}
-.zone-sport .zone-border{border-color:#008000;}
-.zone-comment .zone-border{border-color:#0061a6;}
-.zone-culture .zone-border{border-color:#d61d00;}
-.zone-business .zone-border{border-color:#3246ab;}
-.zone-money .zone-border{border-color:#8f1ab6;}
-.zone-lifestyle .zone-border{border-color:#ad532f;}
+.zone-news .zone-border{border-color:#D61D00;}
+.zone-sport .zone-border{border-color:green;}
+.zone-comment .zone-border{border-color:#0061A6;}
+.zone-culture .zone-border{border-color:#D61D00;}
+.zone-business .zone-border{border-color:#3246AB;}
+.zone-money .zone-border{border-color:#8F1AB6;}
+.zone-lifestyle .zone-border{border-color:#AD532F;}
+.zone-travel .zone-border{border-color:#066EC9;}
+.zone-environment .zone-border{border-color:#4A7801;}
+.zone-news .zone-background{background-color:#D61D00;}
+.zone-sport .zone-background{background-color:green;}
+.zone-comment .zone-background{background-color:#0061A6;}
+.zone-culture .zone-background{background-color:#D61D00;}
+.zone-business .zone-background{background-color:#3246AB;}
+.zone-money .zone-background{background-color:#8F1AB6;}
+.zone-lifestyle .zone-background{background-color:#AD532F;}
+.zone-travel .zone-background{background-color:#066EC9;}
+.zone-environment .zone-background{background-color:#4A7801;}
View
5 docs/static/css/layout.pasteup.css
@@ -1,8 +1,3 @@
-.h {
- position: absolute !important;
- clip: rect(1px 1px 1px 1px);
- clip: rect(1px, 1px, 1px, 1px);
-}
/*
The grid is based on 60px columns
Column widths are worked out as 60px + 80px for each subsequent column
View
1  docs/static/css/layout.pasteup.min.css
@@ -1,4 +1,3 @@
-.h{position:absolute !important;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);}
.col-12{width:940px;}
.col-11{width:860px;}
.col-10{width:780px;}
View
67 docs/static/css/pasteup.css
@@ -1,8 +1,3 @@
-.h {
- position: absolute !important;
- clip: rect(1px 1px 1px 1px);
- clip: rect(1px, 1px, 1px, 1px);
-}
/*
The grid is based on 60px columns
Column widths are worked out as 60px + 80px for each subsequent column
@@ -536,7 +531,7 @@ table {
padding-bottom: 20px;
}
.zone-border {
- border-top: 3px solid #d61d00;
+ border-top: 3px solid #D61D00;
padding-top: 5px;
}
.zone-border-small {
@@ -544,13 +539,13 @@ table {
padding-top: 2px;
}
.zone-color {
- color: #d61d00;
+ color: #D61D00;
}
.zone-background-color {
- background-color: #d61d00;
+ background-color: #D61D00;
}
body {
- color: #333333;
+ color: #333;
font-size: 12px;
line-height: 15px;
font-family: arial, sans-serif;
@@ -593,7 +588,6 @@ a:active {
.h6 {
font-family: georgia, serif;
font-weight: normal;
- color: #333333;
}
.h1 {
font-size: 24px;
@@ -679,24 +673,63 @@ a:active {
.dropdown li:first-child {
border-top: 0 none;
}
+/*
+ Show the current zone border color.
+*/
.zone-news .zone-border {
- border-color: #d61d00;
+ border-color: #D61D00;
}
.zone-sport .zone-border {
- border-color: #008000;
+ border-color: green;
}
.zone-comment .zone-border {
- border-color: #0061a6;
+ border-color: #0061A6;
}
.zone-culture .zone-border {
- border-color: #d61d00;
+ border-color: #D61D00;
}
.zone-business .zone-border {
- border-color: #3246ab;
+ border-color: #3246AB;
}
.zone-money .zone-border {
- border-color: #8f1ab6;
+ border-color: #8F1AB6;
}
.zone-lifestyle .zone-border {
- border-color: #ad532f;
+ border-color: #AD532F;
+}
+.zone-travel .zone-border {
+ border-color: #066EC9;
+}
+.zone-environment .zone-border {
+ border-color: #4A7801;
+}
+/*
+ Show the current zone background color.
+*/
+.zone-news .zone-background {
+ background-color: #D61D00;
+}
+.zone-sport .zone-background {
+ background-color: green;
+}
+.zone-comment .zone-background {
+ background-color: #0061A6;
+}
+.zone-culture .zone-background {
+ background-color: #D61D00;
+}
+.zone-business .zone-background {
+ background-color: #3246AB;
+}
+.zone-money .zone-background {
+ background-color: #8F1AB6;
+}
+.zone-lifestyle .zone-background {
+ background-color: #AD532F;
+}
+.zone-travel .zone-background {
+ background-color: #066EC9;
+}
+.zone-environment .zone-background {
+ background-color: #4A7801;
}
View
36 docs/static/css/pasteup.min.css
@@ -1,4 +1,3 @@
-.h{position:absolute !important;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);}
.col-12{width:940px;}
.col-11{width:860px;}
.col-10{width:780px;}
@@ -67,17 +66,17 @@ table{border-collapse:collapse;border-spacing:0;}
.pull-left{float:left;}
.pull-right{float:right;}
.h-backed{background-color:#ededed;padding-left:5px;padding-right:5px;padding-top:10px;padding-bottom:20px;}
-.zone-border{border-top:3px solid #d61d00;padding-top:5px;}
+.zone-border{border-top:3px solid #D61D00;padding-top:5px;}
.zone-border-small{border-top-width:1px;padding-top:2px;}
-.zone-color{color:#d61d00;}
-.zone-background-color{background-color:#d61d00;}
-body{color:#333333;font-size:12px;line-height:15px;font-family:arial,sans-serif;}
+.zone-color{color:#D61D00;}
+.zone-background-color{background-color:#D61D00;}
+body{color:#333;font-size:12px;line-height:15px;font-family:arial,sans-serif;}
p{margin-top:5px;margin-bottom:5px;}
.article-body p{font-size:14px;line-height:20px;margin-top:10px;margin-bottom:10px;}
a,a:link,a:visited{color:#005689;text-decoration:none;}
a:hover,a:focus{text-decoration:underline;}
a:active{color:white;background-color:#005689;}
-.h1,.h2,.h3,.h4,.h5,.h6{font-family:georgia, serif;font-weight:normal;color:#333333;}
+.h1,.h2,.h3,.h4,.h5,.h6{font-family:georgia, serif;font-weight:normal;}
.h1{font-size:24px;line-height:30px;}
.h2{font-size:21px;line-height:25px;}
.h3{font-size:18px;line-height:20px;}
@@ -95,10 +94,21 @@ a:active{color:white;background-color:#005689;}
.dropdown{background:#d9d9d9;position:absolute;display:none;}
.dropdown li{border-left:0 none;border-top:1px solid #c6c6c6;clear:both;line-height:1;}
.dropdown li:first-child{border-top:0 none;}
-.zone-news .zone-border{border-color:#d61d00;}
-.zone-sport .zone-border{border-color:#008000;}
-.zone-comment .zone-border{border-color:#0061a6;}
-.zone-culture .zone-border{border-color:#d61d00;}
-.zone-business .zone-border{border-color:#3246ab;}
-.zone-money .zone-border{border-color:#8f1ab6;}
-.zone-lifestyle .zone-border{border-color:#ad532f;}
+.zone-news .zone-border{border-color:#D61D00;}
+.zone-sport .zone-border{border-color:green;}
+.zone-comment .zone-border{border-color:#0061A6;}
+.zone-culture .zone-border{border-color:#D61D00;}
+.zone-business .zone-border{border-color:#3246AB;}
+.zone-money .zone-border{border-color:#8F1AB6;}
+.zone-lifestyle .zone-border{border-color:#AD532F;}
+.zone-travel .zone-border{border-color:#066EC9;}
+.zone-environment .zone-border{border-color:#4A7801;}
+.zone-news .zone-background{background-color:#D61D00;}
+.zone-sport .zone-background{background-color:green;}
+.zone-comment .zone-background{background-color:#0061A6;}
+.zone-culture .zone-background{background-color:#D61D00;}
+.zone-business .zone-background{background-color:#3246AB;}
+.zone-money .zone-background{background-color:#8F1AB6;}
+.zone-lifestyle .zone-background{background-color:#AD532F;}
+.zone-travel .zone-background{background-color:#066EC9;}
+.zone-environment .zone-background{background-color:#4A7801;}
View
9 less/base/helpers.less
@@ -10,7 +10,7 @@
// Some generic style helpers
.h-backed {
- background-color: @lightGrey;
+ background-color: #ededed; // light grey
padding-left: 5px;
padding-right: 5px;
padding-top: 10px;
@@ -19,8 +19,9 @@
// Zone helpers for adding zone colors in various places.
+// Default zone color is red for news.
.zone-border {
- border-top: 3px solid @colorZoneNews;
+ border-top: 3px solid #D61D00; // red
padding-top: 5px;
}
.zone-border-small {
@@ -28,8 +29,8 @@
padding-top: 2px;
}
.zone-color {
- color: @colorZoneNews;
+ color:#D61D00; // red
}
.zone-background-color {
- background-color: @colorZoneNews;
+ background-color: #D61D00; // red
}
View
7 less/base/type.less
@@ -2,7 +2,7 @@
// Line heights and all vertical padding and margins are all factors of 5px.
body {
- color: @textDarkGrey;
+ color: #333; // text dark grey
font-size: 12px;
line-height: 15px;
font-family: arial, sans-serif;
@@ -27,7 +27,7 @@ p {
a,
a:link,
a:visited {
- color: @blue;
+ color: #005689; // blue
text-decoration: none;
}
a:hover,
@@ -36,7 +36,7 @@ a:focus {
}
a:active {
color: white;
- background-color: @blue;
+ background-color: #005689; // blue
}
/*
@@ -46,7 +46,6 @@ a:active {
.h1, .h2, .h3, .h4, .h5, .h6 {
font-family: georgia, serif;
font-weight: normal;
- color: @textDarkGrey;
}
.h1 {
View
4 less/core.pasteup.less
@@ -1,7 +1,7 @@
// Get some globally used var/mixins from somewhere
// ADH: TODO: I'm not entirely sure they belong inside theme or base, because they aren't theme or base styles as such.
-@import "theme/variables.less";
-@import "base/mixins.less";
+// @import "theme/variables.less";
+// @import "base/mixins.less";
// Import base styles
@import "base/reset.less";
View
4 less/layout.pasteup.less
@@ -1,7 +1,7 @@
// Get some globally used var/mixins from somewhere
// ADH: TODO: I'm not entirely sure they belong inside theme or base, because they aren't theme or base styles as such.
-@import "theme/variables.less";
-@import "base/mixins.less";
+// @import "theme/variables.less";
+// @import "base/mixins.less";
// Import grids styles
// Grids comes first. They have no dependencies on base, and can be compiled completely separately.
View
12 less/module/topbar.less
@@ -1,5 +1,5 @@
.topbar {
- background: @lightGrey;
+ background: #ededed; // light grey
float: left;
font-size: 12px;
line-height: 1;
@@ -8,14 +8,14 @@
}
.topbar ul {
- background: @lightGrey;
+ background: #ededed; // light grey
list-style: none;
margin: 0;
padding: 0;
}
.topbar-menu li {
- border-left: 1px solid @grey;
+ border-left: 1px solid #c6c6c6; // grey
float: left;
list-style: none;
margin: 0;
@@ -43,21 +43,21 @@
position: relative;
}
.dropdown-holder:hover {
- background: @hoverGrey;
+ background: #d9d9d9; // hover grey
}
.dropdown-holder:hover .dropdown {
display: block;
}
.dropdown {
- background: @hoverGrey;
+ background: #d9d9d9; // hover grey
position: absolute;
display: none;
}
.dropdown li {
border-left: 0 none;
- border-top: 1px solid @grey;
+ border-top: 1px solid #c6c6c6; // grey
clear: both;
line-height: 1;
}
View
4 less/pasteup.less
@@ -1,7 +1,7 @@
// Get some globally used var/mixins from somewhere
// ADH: TODO: I'm not entirely sure they belong inside theme or base, because they aren't theme or base styles as such.
-@import "theme/variables.less";
-@import "base/mixins.less";
+// @import "theme/variables.less";
+// @import "base/mixins.less";
// Import grids styles
// Grids comes first. They have no dependencies on base, and can be compiled completely separately.
View
54 less/theme/zones.less
@@ -1,21 +1,61 @@
+/*
+ Show the current zone border color.
+*/
.zone-news .zone-border {
- border-color: @colorZoneNews;
+ border-color: #D61D00; // red
}
.zone-sport .zone-border {
- border-color: @colorZoneSport;
+ border-color: green; // green
}
.zone-comment .zone-border {
- border-color: @colorZoneComment;
+ border-color: #0061A6; // blue
}
.zone-culture .zone-border {
- border-color: @colorZoneCulture;
+ border-color: #D61D00; // pink
}
.zone-business .zone-border {
- border-color: @colorZoneBusiness;
+ border-color: #3246AB; // navy blue
}
.zone-money .zone-border {
- border-color: @colorZoneMoney;
+ border-color: #8F1AB6; // purple
}
.zone-lifestyle .zone-border {
- border-color: @colorZoneLifestyle;
+ border-color: #AD532F; // lifestyle
+}
+.zone-travel .zone-border {
+ border-color: #066EC9; // light blue
+}
+.zone-environment .zone-border {
+ border-color: #4A7801; // eco green
+}
+
+/*
+ Show the current zone background color.
+*/
+.zone-news .zone-background {
+ background-color: #D61D00; // red
+}
+.zone-sport .zone-background {
+ background-color: green; // green
+}
+.zone-comment .zone-background {
+ background-color: #0061A6; // blue
+}
+.zone-culture .zone-background {
+ background-color: #D61D00; // pink
+}
+.zone-business .zone-background {
+ background-color: #3246AB; // navy blue
+}
+.zone-money .zone-background {
+ background-color: #8F1AB6; // purple
+}
+.zone-lifestyle .zone-background {
+ background-color: #AD532F; // lifestyle
+}
+.zone-travel .zone-background {
+ background-color: #066EC9; // light blue
+}
+.zone-environment .zone-background {
+ background-color: #4A7801; // eco green
}
Please sign in to comment.
Something went wrong with that request. Please try again.