-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
112 lines (112 loc) · 1.71 KB
/
style.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
$tableWidth : 800px;
$borderWidth : 1px;
$color: (
prim : #000
);
@mixin centre() {
margin-right: auto;
margin-left: auto;
}
@mixin inp(){
border: 0px;
padding-left: 1rem;
flex: 1;
}
.sl-fix{
width: $tableWidth;
border: 5px double map-get($color,prim);
@include centre();
}
.tr{
float: right;
}
.ac{
display: inline-block;
@include centre();
}
.mb-1{
margin-bottom: .5rem;
}
.mb-2{
margin-bottom: 1rem;
}
.mt-1{
margin-top: .5rem;
}
.tc{ text-align: center;}
.t1{
border-collapse: collapse;
margin-left: -$borderWidth;
margin-right: -$borderWidth;
width: $tableWidth + 2*$borderWidth;
td,th{
padding: 0.5rem;
border: 1px solid map-get($color,prim);
}
th{font-weight: 700}
td{
padding: 0px;
input.bh,select{
width: 100%;
box-sizing: border-box;
@include inp();
}
}
}
.ha,.fa{
display: block;
float: left;
box-sizing: border-box;
.fe{
display: flex;
label,input{
display: flex;
}
input{
border: 0px;
border-bottom: 1px solid map-get($color,prim);
padding-left: 1rem;
flex: 1;
}
}
}
.ha{
width: 50%;
}
.fa{
width: 100%;
}
.col {
padding: 0.5rem;
overflow: auto;
.ha{
padding: .5rem;
}
}
.fe{
+.fe{
padding-top: 0.5rem;
}
input{
float: right;
}
}
hr{
border: .5px solid map-get($color,prim);
}
.fu{
float: none;
width: 80%;
}
.fc{
display: flex;
}
.fi{
@include inp();
border-bottom: 1px solid map-get($color,prim);
}
.tp{
td{
padding: 0.5rem;
}
}