This repository has been archived by the owner on Feb 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.css
186 lines (161 loc) · 4.9 KB
/
layout.css
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
/*****************
* OPTIMIERUNG *
*****************/
/* hide unnecessary information */
body.admin_tour_schedule_plans div.header--production,
body.admin_tour_schedule_plans div#summary h3,
body.admin_tour_schedule_plans .col.col-number_of_courier_breaks,
body.admin_tour_schedule_plans .col-stop_count,
body.admin_tour_schedule_plans div.tour--schedule--plan--overview .col:first-child,
body.admin_tour_schedule_plans div.attributes_table > table,
body.admin_tour_schedule_plans ul.OptionsSwitcher {
display: none !important;
}
/* fix position of calculation button */
body.admin_tour_schedule_plans div.FlexAlign input {
position: fixed;
top: 29px;
right: calc(50vw - 150px);
z-index: 9999;
margin: 0px;
width: 300px;
border-radius: 10px !important;
}
/* fix position of back-to-top-button */
body.admin_tour_schedule_plans .scroll--to--top {
position: fixed;
bottom: 0;
right: 60px;
margin: 0;
padding: 10px;
}
/* set Banner to bottom of map */
body.admin_tour_schedule_plans div.Banner {
position: absolute;
bottom: 10px;
left: 10px;
width: calc(66% - 10px);
z-index: 999;
margin: 0px;
}
body.admin_tour_schedule_plans div.Banner div.Banner__content {
padding: 1em;
}
body.admin_tour_schedule_plans div.Banner div.Banner__content ul {
margin-top: 0.4em;
margin-bottom: 0px;
}
/* increase border of dirty map */
body.admin_tour_schedule_plans .Map--dirty {
border: 8px solid #ef8827;
}
/* delete border gap from card components */
body.admin_tour_schedule_plans div#active_admin_content,
body.admin_tour_schedule_plans .panel_contents {
padding: 0px !important;
}
/* delete gap between top map and table */
body.admin_tour_schedule_plans .column {
margin: 0px !important;
}
/* map sizing */
body.admin_tour_schedule_plans .column.FlexGrid__col:first-of-type,
body.admin_tour_schedule_plans .column.FlexGrid__col:first-of-type .ng-scope,
body.admin_tour_schedule_plans .column.FlexGrid__col:first-of-type .ng-scope .Map--large {
height: calc(100vh - 25px) !important;
}
body.admin_tour_schedule_plans .column.FlexGrid__col:first-of-type * {
margin: 0px !important;
}
body.admin_tour_schedule_plans .FlexGrid__col:first-of-type {
flex-grow: 2 !important;
}
/* overview table sizing */
body.admin_tour_schedule_plans div.tour--schedule--plan--overview {
height: calc(100vh - 25px);
overflow: auto;
}
body.admin_tour_schedule_plans .FlexGrid__col:nth-of-type(2) {
flex-grow: 1 !important;
}
/* minimize height in table rows */
body.admin_tour_schedule_plans div.tour--schedule--plan--overview .col,
body.admin_tour_schedule_plans table.TourPlan .col {
padding: 3px 8px !important;
}
body.admin_tour_schedule_plans table.TourPlan .col-tour_position {
padding-left: 16px !important;
}
body.admin_tour_schedule_plans div.tour--schedule--plan--overview tr,
body.admin_tour_schedule_plans div.tour--schedule--plan--overview th {
height: 1em;
}
/* fix title bar */
body.admin_tour_schedule_plans div#title_bar.title_bar {
padding: 8px;
height: 25px;
}
body.admin_tour_schedule_plans h2#page_title {
font-size: 0.7em;
max-width: calc(100vw - 50px);
white-space: nowrap;
overflow: hidden;
}
body.admin_tour_schedule_plans div#titlebar_right {
flex-shrink: 0;
min-width: auto;
}
body.admin_tour_schedule_plans span.action_item a {
background: white;
height: 25px;
padding: 0px 1em !important;
line-height: 25px !important;
}
/*******************
* FAST DISPATCH *
*******************/
/* hide unnecessary information */
body.admin_fast_dispatch h3,
body.admin_fast_dispatch div.title_bar,
body.admin_fast_dispatch div.header--production,
body.admin_fast_dispatch ul.OptionsSwitcher{
display: none !important;
}
/* order of courier selection table to bottom */
body.admin_fast_dispatch div.columns div.column:nth-of-type(2) {
display: flex;
flex-direction: column;
width: 34% !important;
}
body.admin_fast_dispatch div.columns div.column:nth-of-type(2) > div:nth-child(2) {
order: 1 !important;
margin-top: 30px !important;
}
/* tour table sizing */
body.admin_fast_dispatch div.tour--list div.panel_contents div.ScrollableContainer {
height: calc(100vh - 80px);
overflow: auto;
}
/* map sizing */
body.admin_fast_dispatch div.map-wrapper {
height: 100vh;
}
/* delete border gap from components */
body.admin_fast_dispatch div#active_admin_content,
body.admin_fast_dispatch div.panel_contents {
padding: 0px !important;
}
/* delete gap between columns */
body.admin_fast_dispatch div.column,
body.admin_fast_dispatch div.column * {
margin: 0px !important;
}
/**********
* GLOBAL *
**********/
/* add email and link to code to footer */
body.admin_fast_dispatch #footer p::after,
body.admin_tour_schedule_plans #footer p::after {
content: 'changes by 📧lambert@liefery.com - code at 🔗github.com/LambertSchulze/Liefery-Blackend';
display: block;
}