237 lines
		
	
	
		
			5.3 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			237 lines
		
	
	
		
			5.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 {
 | |
|     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 {
 | |
|     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);
 | |
| }
 | |
| .popup {
 | |
|     background-color: rgba(255,255,255,0.95);
 | |
| }
 | |
| .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);
 | |
| }
 | |
| .theme-dark .popup {
 | |
|     background-color: rgba(0,0,0,0.95);
 | |
| }
 | |
| 
 | |
| .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);
 | |
|     /* fix bug on iOS where image sticks out right side and makes entire page scroll horiz. */
 | |
|     overflow: hidden;
 | |
| }
 | |
| 
 | |
| .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;
 | |
| }
 | |
| 
 | |
| #noticeslip-pay-popup {
 | |
|     background: var(--f7-page-bg-color);
 | |
| }
 | |
| 
 | |
| #noticeslip-pay-popup #noticeslip-stripe-elements {
 | |
|     background-color: white;
 | |
|     padding: 1em;
 | |
|     border-radius: 10px;
 | |
| }
 | |
| 
 | |
| .card.pointercursor {
 | |
|     cursor: pointer;
 | |
| }
 | |
| 
 | |
| .mapboxgl-popup-content {
 | |
|     color: var(--f7-text-color);
 | |
|     background-color: var(--f7-page-bg-color);
 | |
| }
 | |
| 
 | |
| .mapboxgl-popup-anchor-top .mapboxgl-popup-tip, .mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip, .mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip {
 | |
|     border-bottom-color: var(--f7-page-bg-color);
 | |
| }
 | |
| .mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip, .mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip, .mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip {
 | |
|     border-top-color: var(--f7-page-bg-color);
 | |
| }
 | |
| .mapboxgl-popup-anchor-left .mapboxgl-popup-tip {
 | |
|     border-right-color: var(--f7-page-bg-color);
 | |
| }
 | |
| .mapboxgl-popup-anchor-right .mapboxgl-popup-tip {
 | |
|     border-left-color: var(--f7-page-bg-color);
 | |
| }
 | |
| 
 | |
| .list.basic-list li {
 | |
|     padding-top: calc(var(--f7-list-item-min-height) / 4);
 | |
|     padding-bottom: calc(var(--f7-list-item-min-height) / 4);
 | |
|     padding-left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));
 | |
|     padding-right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
 | |
| }
 | |
| 
 | |
| .list.basic-list ul ul {
 | |
|     padding-left: 1em;
 | |
| }
 | |
| 
 | |
| .list.basic-list li:not(:last-child):after {
 | |
|     content: '';
 | |
|     position: absolute;
 | |
|     background-color: var(--f7-list-item-border-color);
 | |
|     display: block;
 | |
|     z-index: 15;
 | |
|     top: auto;
 | |
|     right: auto;
 | |
|     bottom: 0;
 | |
|     left: 0;
 | |
|     height: 1px;
 | |
|     width: 100%;
 | |
|     transform-origin: 50% 100%;
 | |
|     transform: scaleY(calc(1 / var(--f7-device-pixel-ratio)));
 | |
| } |