112 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			112 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
| /*
 | |
| This Source Code Form is subject to the terms of the Mozilla Public
 | |
| License, v. 2.0. If a copy of the MPL was not distributed with this
 | |
| file, You can obtain one at http://mozilla.org/MPL/2.0/.
 | |
| */
 | |
| 
 | |
| /*
 | |
| Framework7 and FontAwesome both have a .fab class
 | |
| */
 | |
| .fafab {
 | |
|     font-family: "Font Awesome 5 Brands";
 | |
| }
 | |
| 
 | |
| .fab {
 | |
|     -webkit-text-size-adjust: 100%;
 | |
|     -webkit-font-smoothing: antialiased;
 | |
|     font-family: var(--f7-font-family);
 | |
|     font-size: var(--f7-font-size);
 | |
|     line-height: var(--f7-line-height);
 | |
| }
 | |
| 
 | |
| .page-content-fab-pad {
 | |
|     padding-bottom: var(--f7-fab-size);
 | |
| }
 | |
| 
 | |
| .navbar, .item-link .item-title, .item-media, .item-divider, .item-label, .fab, .button, .noselect {
 | |
|     user-select: none;
 | |
| }
 | |
| 
 | |
| .navbar-inner {
 | |
|     -webkit-app-region: drag;
 | |
| }
 | |
| .navbar-inner > * {
 | |
|     -webkit-app-region: no-drag;
 | |
| }
 | |
| 
 | |
| /*
 | |
|  * Material icons are too big and disrupt the flow of text
 | |
|  */
 | |
| .block .material-icons {
 | |
|     font-size: var(--f7-block-font-size);
 | |
| }
 | |
| 
 | |
| .material-icons.material-icons-24px {
 | |
|     font-size: 24px;
 | |
| }
 | |
| 
 | |
| .material-icons-intext .material-icons {
 | |
|     font-size: var(--f7-block-font-size);
 | |
| }
 | |
| 
 | |
| #mapbox .package-marker.selected {
 | |
|     border: 4px solid #2196F3;
 | |
|     border-radius: 50%;
 | |
| }
 | |
| 
 | |
| #mapbox .package-marker.alerted {
 | |
|     border: 4px solid #FF9800;
 | |
|     border-radius: 50%;
 | |
| }
 | |
| 
 | |
| #mapbox .package-marker.selected.alerted {
 | |
|     border: 4px solid #4CAF50 !important;
 | |
|     border-radius: 50%;
 | |
| }
 | |
| 
 | |
| #mapbox .package-marker-mapbox {
 | |
|     width: 25px;
 | |
|     height: 25px;
 | |
|     background-image: url(../images/box.png);
 | |
|     background-size: contain;
 | |
| }
 | |
| 
 | |
| #mapbox .package-marker-leaflet {
 | |
| 
 | |
| }
 | |
| 
 | |
| #mapbox .package-marker-leaflet.selected {
 | |
|     /* Keep the icons from shifting when they have a border */
 | |
|     margin-top: -16.5px !important;
 | |
|     margin-left: -16.5px !important;
 | |
| }
 | |
| 
 | |
| /* Allow tapping/clicking on package markers
 | |
|  * when the location dot is overlapping them
 | |
|  */
 | |
| #mapbox .mapboxgl-user-location-dot {
 | |
|     pointer-events: none;
 | |
| }
 | |
| 
 | |
| .no-animation * {
 | |
|     -webkit-transition: 10ms !important;
 | |
|     -moz-transition: 10ms !important;
 | |
|     -o-transition: 10ms !important;
 | |
|     -ms-transition: 10ms !important;
 | |
|     transition: 10ms !important;
 | |
| }
 | |
| 
 | |
| /*
 | |
|  Allow easily changing help text to reflect finger/mouse usage.
 | |
| */
 | |
| .clicktext {
 | |
|     display: none;
 | |
| }
 | |
| @media (pointer:fine) {
 | |
|     .taptext {
 | |
|         display: none;
 | |
|     }
 | |
|     .clicktext {
 | |
|         display: initial;
 | |
|     }
 | |
| } |