blob: 704faaf09838bcec9d6dc5187bd7541f10f1182c (
plain)
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
.list-editor-view {
@extend .flex-column;
background-color: $content-background-color;
.list-editor-view-title {
@extend .section-title;
}
.list-editor-view-title-inline {
@extend .list-editor-view-title;
position: relative;
top: 9px;
&:first-child {
padding: 0;
}
}
.list-editor-view-add-section {
display: inline-block;
padding: 0 10px 0 10px;
}
.list-editor-view-actions {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid $light-gray;
padding-bottom: 18px;
.list-editor-view-add-controller {
@extend .body-1-medium;
color: $blue;
display: table;
cursor: pointer;
position: relative;
top: 9px;
span {
display: table-cell;
vertical-align: middle;
&:nth-child(2) {
padding-left: 10px;
}
}
}
.search-wrapper {
width: 265px;
}
}
.list-editor-view-list-scroller {
@extend .flex;
overflow: auto;
margin: 18px 0 30px 0;
}
.list-editor-view-list {
@extend .flex-column;
.list-editor-item-view {
margin: 8px 0;
border: 1px solid $light-gray;
background-color: $white;
cursor: pointer;
display: flex;
height: 100px;
min-height: 100px;
overflow: hidden;
.list-editor-item-view-content {
padding: 10px 28px;
display: flex;
flex-basis: 95%;
width: 95%;
.list-editor-item-view-field {
flex: 1 1;
color: $black;
padding: 0;
@include ellipsis;
overflow-wrap: break-word;
white-space: initial;
.number-field {
align-content: center;
}
.title {
@extend .body-1;
padding-bottom: 5px;
&:not(:first-child) {
line-height: 0.9;
}
}
.text {
@extend .body-1;
}
}
}
.list-editor-item-view-controller {
display: flex;
flex-basis: 5%;
align-self: center;
justify-content: center;
flex-direction: column;
.fa {
transition: color .3s;
font-size: 22px;
color: $white;
&:first-child{
margin-bottom: 10px;
}
}
}
&:hover {
@extend .box-hover;
.list-editor-item-view-controller {
.fa {
color: $gray;
}
}
}
}
}
&.thinner-list {
background-color: $white;
padding: 0;
margin-top: 35px;
.list-editor-view-list {
border-top: 0;
padding-top: 0;
margin-top: 23px;
.list-editor-item-view {
&:hover {
border-color: $light-gray;
}
margin: 5px 0 0 0;
height: 30px;
border-top: 0;
border-left: 0;
border-right: 0;
.list-editor-item-view-content {
padding: 4px;
.name {
@extend .body-2-medium;
flex-basis: 36%;
}
}
.list-editor-item-view-controller {
.fa-trash-o {
font-size: 20px;
}
}
}
}
}
}
|