Merge pull request #235 from Phyks/custom-profiles

First PoC for UI for customizing profile
This commit is contained in:
Norbert Renner 2019-11-09 09:47:32 +01:00 committed by GitHub
commit ef9cc7abe7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 290 additions and 41 deletions

View file

@ -191,6 +191,10 @@ input#trackname:focus:invalid {
cursor: auto;
}
#profile_editor {
display: none;
}
#profile_buttons {
padding-top: 4px;
}
@ -425,7 +429,6 @@ table.dataTable.display tbody tr.even:hover {
* leaflet-sidebar-v2
*/
.leaflet-sidebar-pane#tab_profile,
.leaflet-sidebar-pane#tab_data,
.leaflet-sidebar-pane#tab_itinerary {
/* Full height for content with inner scrolling,
@ -433,6 +436,30 @@ table.dataTable.display tbody tr.even:hover {
height: 100%;
}
.leaflet-sidebar-pane#tab_profile {
min-height: 100%;
}
.leaflet-sidebar-pane#tab_profile .form-group {
margin-bottom: 5px;
}
.leaflet-sidebar-pane#tab_profile label {
font-weight: 700;
margin-bottom: 0;
}
.leaflet-sidebar-pane#tab_profile input[type='checkbox'] {
margin-right: 5px;
vertical-align: middle;
}
.leaflet-sidebar-pane#tab_profile .help-block {
display: block;
color: #737373;
margin-bottom: 0.5rem;
}
.leaflet-sidebar-content {
/* for optional-layers-tree */
overflow-x: auto;