This repository was archived by the owner on May 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 292
Expand file tree
/
Copy pathstyle.module.scss
More file actions
91 lines (77 loc) · 1.57 KB
/
style.module.scss
File metadata and controls
91 lines (77 loc) · 1.57 KB
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
@import './../../theme/variables';
@mixin btn-theme($btn-color) {
background-color: $btn-color;
&:hover {
background-color: darken($btn-color, 6%);
}
}
.entryFormRow {
& {
padding: 2px !important;
}
td {
display: flex;
flex-wrap: nowrap;
form {
display: flex;
flex-wrap: wrap;
width: 100%;
}
input,
select {
flex: 1;
min-width: 50px;
height: 100%;
font-size: 1.1em;
padding: 0.5em 0.6em;
display: inline-block;
border: 1px solid #ccc;
box-shadow: inset 0 1px 3px rgba(50, 50, 50, 0.16);
border-radius: 4px;
vertical-align: middle;
box-sizing: border-box;
}
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
.btn {
color: #fff;
margin-left: 5px;
text-transform: uppercase;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
border-radius: 4px;
padding: 0.5em 1em;
text-decoration: none;
border: transparent;
cursor: pointer;
height: 35px;
&.btnDefault {
@include btn-theme($mediumgray);
}
&.btnGreen {
@include btn-theme($green);
}
&.btnRed {
@include btn-theme($red);
}
&:disabled {
@include btn-theme($gray);
cursor: not-allowed;
}
}
}
}
.formSection {
display: flex;
padding: 1px;
&:nth-child(1),
&:nth-child(3) {
min-width: 120px;
flex: 1;
}
&:nth-child(2) {
flex: 3;
}
}