-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdictionary.scss
More file actions
100 lines (80 loc) · 1.81 KB
/
Copy pathdictionary.scss
File metadata and controls
100 lines (80 loc) · 1.81 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
92
93
94
95
96
97
98
99
100
// color variables
$grayColr: gray;
$yellowgreen : yellowgreen;
$white : #fff;
// mixins
@mixin cursor {
cursor: pointer;
}
@mixin margin($top, $right, $bottom, $left) {
margin: $top $right $bottom $left;
}
@mixin maxWidth($data) {
max-width: $data;
}
@mixin padding($top, $right, $bottom, $left) {
padding: $top $right $bottom $left;
}
.dictionary-wrapper {
@include margin(40px, auto, 0, auto);
@include maxWidth(1440px);
.dictionary-box {
@include margin(20px, 0, 0, 0);
.submit {
@include cursor();
@include padding(5px, 10px, 5px, 10px);
background-color: $yellowgreen;
color: $white;
}
input[type="text"] {
@include margin(0, 20px, 0, 0);
@include padding(3px, 10px, 3px, 10px);
}
#reset {
display: none;
}
}
.dictionary-container {
@include margin(15px, 0, 0, 0);
align-items: start;
display: flex;
justify-content: space-between;
.help-note,
.productdata {
width: calc(100%/2);
}
.productdata {
@include maxWidth(532px);
div {
border: 1px solid $grayColr;
border-width: 0 1px 0;
display: flex;
&:first-child {
border-top: 1px solid $grayColr;
}
p {
display: flex;
min-width: 70%;
}
span,
input[type="text"] {
@include padding(10px, 10px, 10px, 10px);
border: 0;
border-bottom: 1px solid $grayColr;
border-right: 1px solid $grayColr;
width: calc(100%/2);
&:last-child {
border-right: 0;
}
&.delete-item,
&.edit-item {
@include cursor();
text-align: right;
text-decoration: underline;
width: 100px;
}
}
}
}
}
}