voterunner

quick and dirty votes and discussions
git clone https://git.ce9e.org/voterunner.git

commit
6b636572ae7fc5e89fbd170103d006045f21168d
parent
68e063dd423bc906faaf69554e708ef63bf1abaa
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2016-09-11 10:02
make variables compatible with mfbs

Diffstat

M static/scss/bar.scss 4 ++--
M static/scss/base.scss 4 ++--
M static/scss/layout.scss 10 +++++-----
M static/scss/style.scss 11 ++++++-----
M static/scss/tree.scss 8 ++++----
M static/scss/user.scss 4 ++--

6 files changed, 21 insertions, 20 deletions


diff --git a/static/scss/bar.scss b/static/scss/bar.scss

@@ -22,11 +22,11 @@
   22    22 %bar-item-left {
   23    23 	@extend %bar-item;
   24    24 	float: left;
   25    -1 	border-right: 1px solid $ll;
   -1    25 	border-right: 1px solid $color-border;
   26    26 }
   27    27 
   28    28 %bar-item-right {
   29    29 	@extend %bar-item;
   30    30 	float: right;
   31    -1 	border-left: 1px solid $ll;
   -1    31 	border-left: 1px solid $color-border;
   32    32 }

diff --git a/static/scss/base.scss b/static/scss/base.scss

@@ -9,7 +9,7 @@
    9     9 
   10    10 input[type="text"],
   11    11 textarea {
   12    -1 	background: white;
   -1    12 	background: $color-bg;
   13    13 }
   14    14 
   15    15 textarea {
@@ -21,5 +21,5 @@ textarea {
   21    21 html {
   22    22 	font-family: sans-serif;
   23    23 	font-size: 70%;
   24    -1 	background: #eee;
   -1    24 	background: $color-bg-html;
   25    25 }

diff --git a/static/scss/layout.scss b/static/scss/layout.scss

@@ -23,7 +23,7 @@ body {
   23    23 }
   24    24 
   25    25 body > header {
   26    -1 	background: $h1;
   -1    26 	background: $color-link;
   27    27 	text-align: center;
   28    28 	border-radius: 0 0 0.4em 0.4em;
   29    29 	margin: 0;
@@ -35,10 +35,10 @@ body > header {
   35    35 	h1 {
   36    36 		margin: 0;
   37    37 		font-size: 2em;
   38    -1 		color: $h3;
   -1    38 		color: $color-bg;
   39    39 
   40    40 		span {
   41    -1 			color: $h2;
   -1    41 			color: $color-bg-tint;
   42    42 		}
   43    43 	}
   44    44 }
@@ -46,12 +46,12 @@ body > header {
   46    46 #tree,
   47    47 #user,
   48    48 #tree .node .body {
   49    -1 	border: 1px solid $ll;
   -1    49 	border: 1px solid $color-border;
   50    50 	border-radius: 0.2em 0.2em 0 0;
   51    51 }
   52    52 
   53    53 #tree {
   54    -1 	background: white;
   -1    54 	background: $color-bg;
   55    55 	padding: $padding;
   56    56 	margin-top: $padding;
   57    57 }

diff --git a/static/scss/style.scss b/static/scss/style.scss

@@ -1,8 +1,9 @@
    1    -1 $bg: #eee;
    2    -1 $h1: #336DBE;
    3    -1 $h2: #ABC3E3;
    4    -1 $h3: #D9E7F9;
    5    -1 $ll: lightgray;
   -1     1 $color-bg: #fff;
   -1     2 $color-bg-html: #eee;
   -1     3 $color-fg: #000;
   -1     4 $color-link: #336DBE;
   -1     5 $color-bg-tint: #c2d5ee;
   -1     6 $color-border: #c0c0c0;
    6     7 $padding: 0.4em;
    7     8 
    8     9 @import 'base';

diff --git a/static/scss/tree.scss b/static/scss/tree.scss

@@ -12,11 +12,11 @@
   12    12 	margin: 0.5em 0;
   13    13 
   14    14 	.body {
   15    -1 		background: white;
   -1    15 		background: $color-bg;
   16    16 	}
   17    17 
   18    18 	.header {
   19    -1 		background: $h2;
   -1    19 		background: $color-bg-tint;
   20    20 	}
   21    21 
   22    22 	.expand {
@@ -47,8 +47,8 @@
   47    47 			display: none;
   48    48 		}
   49    49 		.header {
   50    -1 			background: $h1;
   51    -1 			color: white;
   -1    50 			background: $color-link;
   -1    51 			color: $color-bg;
   52    52 		}
   53    53 	}
   54    54 

diff --git a/static/scss/user.scss b/static/scss/user.scss

@@ -1,5 +1,5 @@
    1     1 #user {
    2    -1 	background: $h3;
   -1     2 	background: $color-bg-tint;
    3     3 
    4     4 	.delegate {
    5     5 		@extend %bar-item;
@@ -22,7 +22,7 @@
   22    22 
   23    23 .statusbar {
   24    24 	width: 100%;
   25    -1 	border-bottom: 1px solid $ll;
   -1    25 	border-bottom: 1px solid $color-border;
   26    26 	overflow: hidden;
   27    27 }
   28    28