Skip to content

Commit a8afdf1

Browse files
committed
CSS: Cleanups.
1 parent 6aa26cb commit a8afdf1

File tree

8 files changed

+18
-37
lines changed

8 files changed

+18
-37
lines changed

src/components/field/Field.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
.evol-fld {
1717
@include flex-item();
1818
padding-left: $field-h-spacing !important;
19-
margin-bottom: 10px;
19+
margin-bottom: 12px;
2020
min-width: 62px;
2121
input, textarea, select{
2222
font-size: $text-font-size;

src/components/shell/Footer.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
padding: 20px 10px;
77
color: $color-text-footer;
88
background-color: $bgcolor-text-footer;
9-
border-top:1px solid silver;
9+
border-top: $border;
1010
text-align: center;
1111
> .copyright{
1212
display: block;

src/components/shell/TopBar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
background-color: $almostblack-color;
99
height: 50px;
1010
padding: 20px;
11-
color: $almostwhite-color
11+
color: $almostwhite-color;
1212
}
1313

1414
.tbLogo{

src/components/variables.scss

Lines changed: 8 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,18 @@ $bgcolor-header: #fbfbfb;
88
$color-text: $almostblack-color;
99
$color-label: grey;
1010
$color-title: #428bca;
11-
$color-cool:#92cddc;
12-
$color-border: silver;
11+
$color-border: #ddd;
12+
$color-border-hover: silver;
1313
$color-disabled:silver;
14-
1514
$color-panel: #f7f7f7;
1615
$bgcolor-panel-header: $bgcolor-header;
1716
$bgcolor-panel-footer: $bgcolor-header;
1817

1918
$color-blue1: #259DCB;
2019
$color-red: #b94a48;
2120

21+
$border: solid 1px $color-border;
22+
2223
// responsive design
2324
$screen1: 500px;
2425
$screen2: 900px;
@@ -34,8 +35,6 @@ $color-nav-active: #E0F7FA;
3435
$color-icon-hover: #0D47A1;
3536
$color-icon: #428bca;
3637

37-
$table--header-background-color: #fbfbfb;
38-
3938
$toolbar-background-color: #fbfbfb;
4039
$toolbar-border-color: #bce8f1;
4140

@@ -66,26 +65,6 @@ $bgcolor-text-footer: #f8f8f8;
6665
box-sizing: border-box;
6766
flex-grow: 1;
6867
}
69-
70-
@mixin panel-top-bar(){
71-
width:100%;
72-
padding: 8px;
73-
//border-bottom: solid 1px $toolbar-border-color;
74-
border-bottom-style: solid;
75-
border-bottom-width: 1px;
76-
background-color: $toolbar-background-color;
77-
> select{
78-
display: inline-block;
79-
width: auto;
80-
}
81-
>label{
82-
margin: 2px 10px;
83-
&:first-child{
84-
margin-left: 0;
85-
}
86-
}
87-
}
88-
8968
@mixin ellipsis(){
9069
white-space: nowrap;
9170
overflow-x: hidden;
@@ -111,4 +90,8 @@ $bgcolor-text-footer: #f8f8f8;
11190
top: 30px;
11291
right: 5px;
11392
}
93+
}
94+
.table {
95+
border-top: $border;
96+
border-bottom: $border;
11497
}

src/components/views/charts/ChartTable.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
}
1818
.footer,
1919
.footer:hover {
20-
background-color: $table--header-background-color
20+
background-color: $bgcolor-header;
2121
}
2222
}

src/components/views/many/List.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
overflow-y: hidden;
1313
}
1414
.table{
15-
border-top: 1px solid #ddd;
16-
border-bottom: 1px solid #ddd;
1715
margin-bottom: 0;
1816
th{
1917
position: relative;
@@ -54,7 +52,7 @@
5452
}
5553
}
5654
.list-new{
57-
border-top: 1px solid #ddd;
55+
border-top: $border;
5856
padding: 20px 10px;
5957
}
6058
fieldset .table{

src/components/views/many/many.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
//background-color: $bgcolor-header;
1414
//padding: 5px 10px;
1515
//@include border-radius(10px);
16-
//border: 1px solid $color-border;
16+
//border: $border;
1717
margin-left: 10px;
1818
font-size: 16px;
1919
font-weight: 400;

src/components/views/one/one.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,11 @@ label{
201201

202202
.evo-color-box{
203203
display: inline-block;
204-
height:20px;
205-
width:20px;
206-
border: solid 1px silver;
204+
height: 20px;
205+
width: 20px;
206+
border: $border;
207207
span{
208-
margin-left:24px;
208+
margin-left: 24px;
209209
}
210210
}
211211

0 commit comments

Comments
 (0)