171 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			171 lines
		
	
	
		
			3.4 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 {
 | |
|     background-color: #d0f2fc;
 | |
|     background-image: url(../images/background.svg);
 | |
|     background-repeat: no-repeat;
 | |
|     background-size: contain;
 | |
|     background-position: bottom;
 | |
|     background-attachment: fixed;
 | |
| }
 | |
| 
 | |
| .theme-dark .page {
 | |
|     /* TODO: make this dark */
 | |
|     background-color: black;
 | |
|     background-image: url(../images/background-transparent.svg);
 | |
|     background-repeat: no-repeat;
 | |
|     background-size: contain;
 | |
|     background-position: bottom;
 | |
|     background-attachment: fixed;
 | |
| }
 | |
| 
 | |
| .list.transparent ul {
 | |
|     background-color: rgba(255,255,255,0.65);
 | |
| }
 | |
| .list.transparent ul li.item-divider {
 | |
|     background-color: rgba(255,255,255,0.5);
 | |
| }
 | |
| .theme-dark .list.transparent ul {
 | |
|     background-color: rgba(0,0,0,0.65);
 | |
| }
 | |
| .theme-dark .list.transparent ul li.item-divider {
 | |
|     background-color: rgba(0,0,0,0.5);
 | |
| }
 | |
| 
 | |
| .navbar, .navbar-bg {
 | |
|     background-color: #d0f2fc;
 | |
| }
 | |
| 
 | |
| .theme-dark .navbar, .theme-dark .navbar-bg {
 | |
|     background-color: black;
 | |
| }
 | |
| 
 | |
| .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;
 | |
| }
 | |
| 
 | |
| #mapbox .package-marker {
 | |
|     width: 32px;
 | |
|     height: 32px;
 | |
|     background-image: url(../images/package-icon.png);
 | |
|     background-size: contain;
 | |
| }
 | |
| 
 | |
| /*
 | |
|  * 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);
 | |
| }
 | |
| 
 | |
| .card-header.no-hairlines:after {
 | |
|     display: none;
 | |
| }
 | |
| 
 | |
| .no-animation * {
 | |
|     -webkit-transition: 10ms !important;
 | |
|     -moz-transition: 10ms !important;
 | |
|     -o-transition: 10ms !important;
 | |
|     -ms-transition: 10ms !important;
 | |
|     transition: 10ms !important;
 | |
| }
 | |
| 
 | |
| .trackingeventicon {
 | |
|     vertical-align: middle;
 | |
|     width: 1.5em;
 | |
| }
 | |
| 
 | |
| /*
 | |
|  Allow easily changing help text to reflect finger/mouse usage.
 | |
| */
 | |
| .clicktext {
 | |
|     display: none;
 | |
| }
 | |
| @media (pointer:fine) {
 | |
|     .taptext {
 | |
|         display: none;
 | |
|     }
 | |
|     .clicktext {
 | |
|         display: initial;
 | |
|     }
 | |
| }
 | |
| 
 | |
| .signature-wrapper {
 | |
|     background-color: white;
 | |
|     border-radius: 10px;
 | |
|     position: relative;
 | |
|     width: 400px;
 | |
|     max-width: 100%;
 | |
|     height: 200px;
 | |
|     margin: 0 auto;
 | |
|     border: 1px solid rgba(0,0,0,0.5);
 | |
| }
 | |
| 
 | |
| .signature-wrapper img {
 | |
|     position: absolute;
 | |
|     bottom: 0;
 | |
|     left: 0;
 | |
| }
 | |
| 
 | |
| .signature-wrapper canvas {
 | |
|     position: absolute;
 | |
|     left: 0;
 | |
|     top: 0;
 | |
|     width: 400px;
 | |
|     max-width: 95vw;
 | |
|     height: 200px;
 | |
| }
 | |
| 
 | |
| .signature-wrapper #signatureClearBtn {
 | |
|     display: block;
 | |
|     position: absolute;
 | |
|     right: 0;
 | |
|     top: 0;
 | |
|     padding: 10px;
 | |
| }
 | |
| 
 | |
| .signature-wrapper #signatureUndoBtn {
 | |
|     display: block;
 | |
|     position: absolute;
 | |
|     right: 40px;
 | |
|     top: 0;
 | |
|     padding: 10px;
 | |
| } |