pyc-website

main website for pyc inc.

git clone https://9o.is/git/pyc-website.git

index.less

(7044B)


      1 
      2 #intro-content-bg {
      3 	position: absolute;
      4 	left: 0;
      5 	top: 0;
      6 	width: 100%;
      7 	height: 100%;
      8 	min-height: 100%;
      9 	display: table;
     10 	z-index: -200;
     11 	padding-top: @navbar-height;
     12 	
     13 	
     14 	.overlay {
     15       	width: 100%;
     16       	height: 100%;
     17       	background: rgba(0,0,0,0.3);
     18       	display: table-cell;
     19       	position: absolute;
     20       	top: 5px;
     21       	left: 0;
     22       	z-index: 0;
     23   
     24       	#fake-bar {
     25         	position: absolute;
     26         	left: 0;
     27 	    	top: -5px;
     28 	    	width: 100%;
     29 	    	height: @navbar-height + 5;
     30 	    	background-color: @body-bg;
     31       	}
     32     }
     33 }
     34 
     35 
     36 #intro-content {
     37 	
     38 	.inner {
     39         position: absolute;
     40         top: 50%;
     41         left: 0;
     42         margin-top: -175px + (@navbar-height + 5);
     43         height: 350px;
     44         width: 100%;
     45         z-index: 0;
     46         
     47         #view-locations-btn {
     48         	border-radius: 25px;
     49         }
     50         
     51         .jumbotron {
     52 			background: transparent;
     53 			padding-bottom: 0;
     54 			
     55 			h1 {
     56 				text-shadow: .025em .025em #000;
     57 			}
     58 			
     59 			@media(max-width: @screen-sm-max) {
     60 				margin-bottom: @jumbotron-padding - (@jumbotron-padding / 3);
     61 			}
     62 			
     63 			@media(max-width: @screen-xxs-max) {
     64 				margin-bottom: @jumbotron-padding / 3;
     65 			}
     66 			
     67 			*.heavy {
     68 			  font-weight: 600;
     69 			}
     70 			
     71 			*.text-shadow {
     72 			  text-shadow: 2px 2px #000;
     73 			}
     74 		}
     75    }
     76 
     77 }
     78 
     79 
     80 #intro-content-bg {
     81 	margin: 0;
     82 	padding: 0;
     83 	background: url('https://s3.amazonaws.com/assets-pyc/lamassu_how_to.jpg') 50% 50% fixed no-repeat;
     84 	-moz-background-size: cover;
     85 	-webkit-background-size: cover;
     86 	background-size: cover;
     87 }
     88 
     89 .no-backgroundsize #intro-content-bg {
     90 	background: none;
     91 }
     92 
     93 div#locations {
     94 		min-height: 15px !important; 
     95 		width: 100% !important;
     96 		background: url('https://s3.amazonaws.com/assets-pyc/bitcoin-network-strip.jpg');
     97 		box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.8) inset;
     98 }
     99 
    100 
    101 
    102 @intro-div-height:     300px;
    103 	@intro-div-height-sm:  300px;
    104 	@intro-div-height-xs:  222px;
    105 	@intro-div-height-xxs: 190px;
    106 	
    107 @atm-map-height: 600px;
    108 	@atm-map-height-xs: 360px;
    109 	@atm-map-height-sm: 400px;
    110 	
    111 	// nonfound
    112 	@atm-map-height-nonfound-sm: @atm-map-height; // + 250; 
    113 	@atm-map-height-nonfound-xs: @atm-map-height; // + 450;
    114 	
    115 	
    116 	@atm-map-margin   : @atm-map-height / 20;
    117 	@atm-map-margin-xs: @atm-map-height-xs / 20;
    118 	@atm-map-margin-sm: @atm-map-height-sm / 20;
    119 	
    120 	@atm-search-box-min-height:      72px;
    121 	@atm-search-box-min-height-xxs:  @atm-search-box-min-height - 20;
    122 
    123 	
    124 	
    125 	@z-layer-info: @gmap-text-overlay-zindex + 10;
    126 	@z-map-panel-box: @z-layer-info + 10;
    127 	@z-index-cols: @z-map-panel-box + 50;
    128 	
    129 	
    130 	@map-open-margin:    @intro-div-height     + @atm-map-height;
    131 	@map-open-margin-sm: @intro-div-height-sm  + @atm-map-height-sm;
    132 	@map-open-margin-xs: @intro-div-height-xs  + @atm-map-height-xs;
    133 	
    134 	@map-open-margin-nonfound-sm: @intro-div-height     + @atm-map-height-nonfound-sm;
    135 	@map-open-margin-nonfound-xs: @intro-div-height-xs  + @atm-map-height-nonfound-xs;
    136 	
    137 	@map-closed-margin:      @intro-div-height      + @atm-search-box-min-height     + (@atm-map-margin * 2);
    138 	@map-closed-margin-xs:   @intro-div-height-xs   + @atm-search-box-min-height     + (@atm-map-margin * 2);
    139 	@map-closed-margin-xxs:  @intro-div-height-xxs  + @atm-search-box-min-height-xxs + (@atm-map-margin * 2);
    140 	
    141 	
    142 	
    143 #atm-map {
    144 		.angular-google-map-container, .layer-overlay, layer-info { 
    145 			width: 100%;
    146 			height: @atm-map-height; 
    147 			
    148 			@media(max-width: @screen-xs-max) {
    149 				height: @atm-map-height-xs;
    150 			}
    151 			
    152 			@media(max-width: @screen-sm-max) {
    153 				height: @atm-map-height-sm;
    154 			}
    155 		}
    156 
    157 		&.nonfound {
    158 			.angular-google-map-container, .layer-overlay, layer-info {
    159 			
    160 				@media(max-width: @screen-sm-max) {
    161 					height: @atm-map-height-nonfound-sm + 80;
    162 				}
    163 			
    164 				@media(max-width: 600px) {
    165 					height: @atm-map-height-nonfound-xs + 100;
    166 				}
    167 			}
    168 		}
    169 
    170 		.layer-overlay {
    171 			position: absolute;
    172 		
    173 			.layer-inner {
    174 				#gradient > .horizontal-three-colors(rgba(0,0,0,0.6), rgba(0,0,0,0.3), 50%, rgba(0,0,0,0.6));
    175     			position: absolute;
    176     			top: 0;
    177     			left: 0;
    178     			width: 100%;
    179     			height: 100%;
    180     			z-index: @gmap-overlay-zindex;
    181 			}
    182 		}
    183 	
    184 		.layer-info {
    185 			position: absolute;
    186 			z-index: @z-layer-info;
    187 			margin: @atm-map-margin;
    188 			
    189 			.alert {
    190 			  margin-top: 10px !important;
    191 			}
    192 			
    193 			@media(min-width: @screen-md-min) {
    194 				width: 100%;
    195 			}
    196 			
    197 			#coming-soon-msg {
    198 				@title-font-size: 50px;
    199 				@message-font-size: 20px;
    200 			
    201 				@media (max-width: @screen-sm-max) {
    202 					.text-center();
    203 					padding: 50px;
    204 				}
    205 				
    206 				padding-top: 50px;
    207 			
    208 				h1 {
    209 					@media (max-width: @screen-xxs-max) {
    210 						font-size: @title-font-size * 0.75;
    211 						padding: 5px;
    212 					}
    213 		
    214 					@media (min-width: @screen-xs) {
    215 						font-size: @title-font-size;
    216 						padding: 45px @atm-map-margin 0px;
    217 					}
    218 				}
    219 	
    220 				p.message {
    221 					@media (max-width: @screen-xxs-max){
    222 						font-size: @message-font-size * 0.85;
    223 						padding: 5px;
    224 					}
    225 				
    226 					@media (min-width: @screen-xs) {
    227 						font-size: @message-font-size;
    228 						padding: 0 @atm-map-margin;
    229 					}
    230 					
    231 					@media (min-width: @screen-sm) {
    232 						padding-bottom: 20px;
    233 					}
    234 				}
    235 			}
    236 		}
    237 		
    238 		#zoom-buttons {
    239 			position: absolute;
    240 			top: @atm-map-margin;
    241 			right: @atm-map-margin;
    242 			z-index: @gmap-overlay-zindex + 5;
    243 			
    244 			button {
    245 				border-radius: 5px;
    246 				font-weight: 400;
    247 			}
    248 		}
    249 		
    250 		.map-panel {
    251 			position: absolute;
    252 			bottom: @atm-map-margin;
    253 			left: @atm-map-margin;
    254 			
    255 			@media(max-width: @screen-sm-max) {
    256 				left: 50%; // center search-box
    257 			}
    258 			
    259 			.search-box {
    260 				margin-bottom: 0px;
    261 			}
    262 			
    263 			.search-box, .preview-box {
    264 				border-radius: 5px;
    265 				z-index: @z-map-panel-box;
    266 				.box-shadow(-2px -2px 8px 0px rgba(50, 50, 50, 0.75));
    267 				
    268 				@media(max-width: @screen-sm-max) {
    269 					width: 450px;
    270 					position: relative; 
    271 					left: -50%; // center search-box
    272 					margin-left: 0;
    273 				}
    274 				
    275 				@media(max-width: @screen-xxs-max) {
    276 					width: 300px;
    277 					margin-left: 15px;
    278 				}
    279 				
    280 				@media(min-width: @screen-md-min) {
    281 					width: 450px;
    282 					min-height: @atm-search-box-min-height;
    283 				}
    284 				
    285 				@media(min-width: @screen-lg-min) {
    286 					width: 500px;
    287 				}
    288 			}
    289 			
    290 			.preview-box {
    291 				@media(min-width: @screen-xs-min) {
    292 					img.atm-profile { width: 100px; }
    293 					.business-times { padding-left: 20px; }
    294 				}
    295 				
    296 				@media(max-width: @screen-xs-max) {
    297 					padding: 10px 40px;
    298 				}
    299 				
    300 				@media(max-width: @screen-sm-max) {
    301 					display: none;
    302 				}
    303 			
    304 				@media(min-width: @screen-md-min) {
    305 					width: 70%;
    306 					margin-top: 10px;
    307 					img.atm-profile { width: 75px; }
    308 					.business-times { 
    309 						margin-top: 10px;
    310 						padding-left: 0; 
    311 					}
    312 				}
    313 				
    314 				@media(min-width: @screen-lg-min) {
    315 					img.atm-profile { width: 100px; }
    316 					.business-times { 
    317 						margin-top: 0;
    318 						padding-left: 20px; 
    319 					}
    320 				}
    321 				
    322 				.atm-profile-name {
    323 					vertical-align: middle;
    324 				}
    325 				
    326 				table tr.today {
    327 					font-weight: bold;
    328 				}
    329 			}
    330 		}
    331 		
    332 		.gm-style {
    333 			.gm-style-iw {
    334 				.store-status {
    335 					font-weight: 600;
    336 				}
    337 			}
    338 		}
    339 		
    340 	}