wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/frontend/timeline.css
changeset 0 d970ebf37754
equal deleted inserted replaced
-1:000000000000 0:d970ebf37754
       
     1 
       
     2 @font-face {
       
     3     font-family: 'BebasNeueRegular';
       
     4     src: url('bebas/bebasneue-webfont.eot');
       
     5     src: url('bebas/bebasneue-webfont.eot?#iefix') format('embedded-opentype'),
       
     6          url('bebas/bebasneue-webfont.woff') format('woff'),
       
     7          url('bebas/bebasneue-webfont.ttf') format('truetype'),
       
     8          url('bebas/bebasneue-webfont.svg#BebasNeueRegular') format('svg');
       
     9     font-weight: normal;
       
    10     font-style: normal;
       
    11 
       
    12 }
       
    13 
       
    14 /* --- IMAGE --- */
       
    15 
       
    16 .timeline a.timeline_rollover_bottom,
       
    17 .timeline a.timeline_rollover_right,
       
    18 .timeline a.timeline_rollover_top,
       
    19 .timeline a.timeline_rollover_left
       
    20 {
       
    21 	margin:0;
       
    22  	display:block;
       
    23 	position:relative;
       
    24 	overflow:hidden;
       
    25 }
       
    26 
       
    27 .timeline a.timeline_rollover_bottom img,
       
    28 .timeline a.timeline_rollover_right img,
       
    29 .timeline a.timeline_rollover_top img,
       
    30 .timeline a.timeline_rollover_left img {
       
    31 	display:block;
       
    32 }
       
    33 .timeline .image_roll_zoom {
       
    34 	display:inline-block;
       
    35 	width:100%;
       
    36 	height:100%;
       
    37 	position:absolute;
       
    38 	background:url(../images/zoomIn.png) no-repeat center center;
       
    39 }
       
    40 .timeline .image_roll_glass {
       
    41 	display:none;
       
    42 	width:100%;
       
    43 	height:100%;
       
    44 	position:absolute;
       
    45 	top:0;
       
    46 	left:0;
       
    47 	background:url('../images/glass.png') repeat;
       
    48 }
       
    49 
       
    50 
       
    51 .timeline,
       
    52 #content .timeline {
       
    53 	height:0;
       
    54 	overflow:hidden;
       
    55 	position:relative;
       
    56 }
       
    57 .timelineLoader {
       
    58 	width:100%;
       
    59 	text-align:center;
       
    60 	padding:150px 0;
       
    61 }
       
    62 
       
    63 
       
    64 /* fixed line holder */
       
    65 .timeline .timeline_line,
       
    66 #content .timeline .timeline_line {
       
    67 	margin-top:10px;
       
    68 	margin-bottom:10px;
       
    69 	width:100%;
       
    70 }
       
    71 
       
    72 /* full (including months that are not shown) line holder */
       
    73 .timeline .t_line_holder,
       
    74 #content .timeline .t_line_holder {
       
    75 	height:80px;
       
    76 	background:url('../images/timeline/light/line.jpg') repeat-x 0px 39px;
       
    77 }
       
    78 
       
    79 .timeline.darkLine .t_line_holder,
       
    80 #content .timeline.darkLine .t_line_holder {
       
    81 	background:url('../images/timeline/dark/line.jpg') repeat-x 0px 39px;
       
    82 }
       
    83 
       
    84 /* 2 months are stored in one view */
       
    85 .timeline .t_line_view,
       
    86 #content .timeline .t_line_view {
       
    87 	height:20px;
       
    88 	width:100%;
       
    89 }
       
    90 
       
    91 /* holder for year number */
       
    92 .timeline h3.t_line_year,
       
    93 #content .timeline h3.t_line_year {
       
    94 	font-family: 'BebasNeueRegular';
       
    95 	font-weight:normal;
       
    96 	font-size:22px;
       
    97 	margin:0;
       
    98 	color:#545454;
       
    99 }
       
   100 
       
   101 /* holder for 1 month (constist of nodes and month caption) - we use borders to separate months thats why it has width 2px less then 50% */
       
   102 .timeline .t_line_m,
       
   103 #content .timeline .t_line_m {
       
   104 	margin-top:35px;
       
   105 	height:10px;
       
   106 	border-left:1px solid #545454;
       
   107 	border-right:1px solid #545454;
       
   108 	width:448px;
       
   109 }
       
   110 
       
   111 /* month on the right side - has left set at 459 so border would overlap border from first element (to evade duplicated borders) */
       
   112 .timeline .t_line_m.right,
       
   113 #content .timeline .t_line_m.right {
       
   114 	left:449px;
       
   115 	width:449px;
       
   116 }
       
   117 
       
   118 /* month caption */
       
   119 .timeline h4.t_line_month,
       
   120 #content .timeline h4.t_line_month {
       
   121 	font-family: 'BebasNeueRegular';
       
   122 	font-weight:normal;
       
   123 	font-size:20px;
       
   124 	margin:-30px 0 0;
       
   125 	color:#545454;
       
   126 }
       
   127 
       
   128 /* used in responsive layout when only one month is shown (it is span containing year) */
       
   129 .t_line_month_year,
       
   130 #content .t_line_month_year {
       
   131 	display:none;
       
   132 }
       
   133 
       
   134 /* node on the timeline */
       
   135 .timeline a.t_line_node,
       
   136 #content .timeline a.t_line_node {
       
   137 	text-decoration:none;
       
   138 	padding:38px 0 4px;
       
   139 	height:10px;
       
   140 	font-size:12px;
       
   141 	top:-25px;
       
   142 	background:url('../images/timeline/light/dot.png') no-repeat center 24px;
       
   143 	color:#141817;
       
   144 }
       
   145 .timeline.darkLine a.t_line_node,
       
   146 #content .timeline.darkLine a.t_line_node {
       
   147 	background:url('../images/timeline/dark/dot.png') no-repeat center 24px;
       
   148 }
       
   149 
       
   150 .timeline a.t_line_node:hover,
       
   151 #content .timeline a.t_line_node:hover {
       
   152 	background:url('../images/timeline/light/dot-rollover.png') no-repeat center 24px;
       
   153 }
       
   154 
       
   155 .timeline.darkLine a.t_line_node:hover,
       
   156 #content .timeline.darkLine a.t_line_node:hover {
       
   157 	background:url('../images/timeline/dark/dot-rollover.png') no-repeat center 24px;
       
   158 }
       
   159 .timeline a.t_line_node.active,
       
   160 #content .timeline a.t_line_node.active {
       
   161 	background:url('../images/timeline/light/dot-selected.png') no-repeat center 24px;
       
   162 }
       
   163 
       
   164 .timeline.darkLine a.t_line_node.active,
       
   165 #content .timeline.darkLine a.t_line_node.active {
       
   166 	background:url('../images/timeline/dark/dot-selected.png') no-repeat center 24px;
       
   167 }
       
   168 
       
   169 /* node description */
       
   170 .timeline .t_node_desc,
       
   171 #content .timeline .t_node_desc {
       
   172 	background: rgb(26,134,172);
       
   173 	opacity:0.9;
       
   174 	filter:alpha(opacity=90);
       
   175 	top:0;
       
   176 	color:#fff;
       
   177 	padding:1px 5px;
       
   178 }
       
   179 
       
   180 /* descriptions on right side go from right to left */
       
   181 .timeline .t_node_desc.pos_right,
       
   182 #content .timeline .t_node_desc.pos_right {
       
   183 	right:0;
       
   184 }
       
   185 
       
   186 /* line arrow left */
       
   187 .timeline #t_line_left,
       
   188 #content .timeline #t_line_left {
       
   189 	cursor:pointer;
       
   190 	left:-30px;
       
   191 	top:30px;
       
   192 	width:14px;
       
   193 	height:19px;
       
   194 	background:url('../images/timeline/light/arrow.png') no-repeat left top;
       
   195 }
       
   196 .timeline.darkLine #t_line_left,
       
   197 #content .timeline.darkLine #t_line_left {
       
   198 	background:url('../images/timeline/dark/arrow.png') no-repeat left bottom;
       
   199 }
       
   200 .timeline #t_line_left:hover,
       
   201 #content .timeline #t_line_left:hover {
       
   202 	background:url('../images/timeline/light/arrow.png') no-repeat left bottom;
       
   203 }
       
   204 .timeline.darkLine #t_line_left:hover,
       
   205 #content .timeline.darkLine #t_line_left:hover {
       
   206 	background:url('../images/timeline/dark/arrow.png') no-repeat left top;
       
   207 }
       
   208 
       
   209 /* line arrow right */
       
   210 .timeline #t_line_right,
       
   211 #content .timeline #t_line_right {
       
   212 	cursor:pointer;
       
   213 	right:-30px;
       
   214 	top:30px;
       
   215 	width:14px;
       
   216 	height:19px;
       
   217 	background:url('../images/timeline/light/arrow.png') no-repeat right top;
       
   218 }
       
   219 .timeline.darkLine #t_line_right,
       
   220 #content .timeline.darkLine #t_line_right {
       
   221 	background:url('../images/timeline/dark/arrow.png') no-repeat right bottom;
       
   222 }
       
   223 .timeline #t_line_right:hover,
       
   224 #content .timeline #t_line_right:hover {
       
   225 	background:url('../images/timeline/light/arrow.png') no-repeat right bottom;
       
   226 }
       
   227 .timeline.darkLine #t_line_right:hover,
       
   228 #content .timeline.darkLine #t_line_right:hover {
       
   229 	background:url('../images/timeline/dark/arrow.png') no-repeat right top;
       
   230 }
       
   231 
       
   232 /* items container */
       
   233 .timeline .timeline_items,
       
   234 #content .timeline .timeline_items {
       
   235 	padding:10px 0;
       
   236 }
       
   237 
       
   238 /* single item (margines set from javascript) */
       
   239 .timeline .item,
       
   240 #content .timeline .item {
       
   241 	height:380px;
       
   242 	text-align:center;
       
   243 	background:url('../images/timeline/light/background-white.jpg') repeat; 
       
   244 	color:#545454;
       
   245 	-moz-box-shadow: -3px 1px 6px rgba(0,0,0,0.4);
       
   246 	-webkit-box-shadow: -3px 1px 6px rgba(0,0,0,0.4);
       
   247 	box-shadow: -3px 1px 6px rgba(0,0,0,0.4);
       
   248 	width:200px;
       
   249 }
       
   250 .timeline .item.item_node_hover,
       
   251 #content .timeline .item.item_node_hover {
       
   252 	-moz-box-shadow: 0px 0px 10px rgba(0,0,0,0.9);
       
   253 	-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.9);
       
   254 	box-shadow: 0px 0px 10px rgba(0,0,0,0.9);
       
   255 }
       
   256 /* ----- content - non-plugin elements ----- */
       
   257 .timeline .item img,
       
   258 #content .timeline .item img {
       
   259 	margin:0;
       
   260 	padding:0;
       
   261 	border:0;
       
   262 }
       
   263 
       
   264 .timeline .con_borderImage,
       
   265 #content .timeline .con_borderImage {
       
   266 	border:0;
       
   267 	border-bottom:5px solid #1a86ac;
       
   268 }
       
   269 
       
   270 .timeline .item span,
       
   271 #content .timeline .item span{
       
   272 	display:block;
       
   273 	margin:0px 20px 10px;
       
   274 }
       
   275 .timeline .item .read_more,
       
   276 #content .timeline .item .read_more {
       
   277 	position:absolute;
       
   278 	bottom:15px;
       
   279 	right:0px;
       
   280 	padding:2px 8px 2px 10px;
       
   281 	font-family: 'BebasNeueRegular' !important;
       
   282 	font-weight:normal !important;
       
   283 	font-size:20px !important;
       
   284 	line-height:20px !important;
       
   285 	color:#ffffff !important;
       
   286 	background: rgba(0,0,0,0.35);
       
   287 	cursor:pointer;
       
   288 }
       
   289 .timeline .item .read_more:hover,
       
   290 #content .timeline .item .read_more:hover {
       
   291 	background:rgb(26,134,172);
       
   292 }
       
   293 /* ----------------------------------------- */
       
   294 
       
   295 /* item details (margines set from javascript) */
       
   296 .timeline .item_open,
       
   297 #content .timeline .item_open {
       
   298 	height:380px;
       
   299 	background:url('../images/timeline/light/background.jpg') repeat;
       
   300 	position:relative;
       
   301 	color:#545454;
       
   302 	z-index:2; 
       
   303 	-moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.4);
       
   304 	-webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.4);
       
   305 	box-shadow: 0px 0px 6px rgba(0,0,0,0.4);
       
   306 	width:490px;
       
   307 	
       
   308 }
       
   309 
       
   310 /* item details content wrapper (used for animation - shuld have same width as .item_open) */
       
   311 .timeline .item_open_cwrapper,
       
   312 #content .timeline .item_open_cwrapper {
       
   313 	width:490px;
       
   314 	height:100%;
       
   315 }
       
   316 
       
   317 .timeline .item_open_content,
       
   318 #content .timeline .item_open_content {
       
   319 	width:100%;
       
   320 	height:100%;
       
   321 	position:relative;
       
   322 }
       
   323 
       
   324 .timeline .item_open_content .ajaxloader,
       
   325 #content .timeline .item_open_content .ajaxloader {
       
   326 	position:absolute;
       
   327 	top:50%;
       
   328 	left:50%;
       
   329 	margin:-10px 0 0 -100px;
       
   330 	
       
   331 }
       
   332 
       
   333 
       
   334 
       
   335 /* ----- content - non-plugin elements ----- */
       
   336 .timeline .timeline_open_content,
       
   337 #content .timeline .timeline_open_content {
       
   338 	padding:15px 10px 15px 15px ;
       
   339 }
       
   340 
       
   341 .timeline .item_open h2,
       
   342 #content .timeline .item_open h2 {
       
   343 	margin-top:10px;
       
   344 	padding-top:0;
       
   345 	font-size:28px;
       
   346 }
       
   347 .timeline .item_open .t_close,
       
   348 #content .timeline .item_open .t_close {
       
   349 	position:absolute;
       
   350 	top:10px;
       
   351 	right:10px;
       
   352 	padding:2px 8px 2px 10px;
       
   353 	font-family: 'BebasNeueRegular' !important;
       
   354 	font-weight:normal !important;
       
   355 	font-size:20px !important;
       
   356 	line-height:20px !important;
       
   357 	color:#ffffff !important;
       
   358 	background: rgba(0,0,0,0.25);
       
   359 	cursor:pointer;
       
   360 	z-index:3;
       
   361 }
       
   362 .timeline .item_open .t_close:hover,
       
   363 #content .timeline .item_open .t_close:hover {
       
   364 	background:rgb(26,134,172);
       
   365 }
       
   366 /* ----------------------------------------- */
       
   367 
       
   368 /* left/right controles */
       
   369 .timeline .t_controles,
       
   370 #content .timeline .t_controles {
       
   371 	margin:10px auto;
       
   372 	text-align:center;
       
   373 }
       
   374 .timeline .t_left,
       
   375 .timeline .t_right,
       
   376 #content .timeline .t_left,
       
   377 #content .timeline .t_right {
       
   378 	display:inline-block;
       
   379 	height:50px;
       
   380 	width:29px;
       
   381 	margin:10px;
       
   382 	cursor:pointer;
       
   383 }
       
   384 .timeline .t_left,  
       
   385 .timeline .t_left:hover:active,
       
   386 #content .timeline .t_left,  
       
   387 #content .timeline .t_left:hover:active {
       
   388 	background: url('../images/timeline/light/big-arrow.png') no-repeat left top;
       
   389 }
       
   390 .timeline .t_left:hover,
       
   391 #content .timeline .t_left:hover {
       
   392 	background: url('../images/timeline/light/big-arrow.png') no-repeat left bottom;
       
   393 }
       
   394 .timeline.darkNav .t_left,  
       
   395 .timeline.darkNav .t_left:hover:active,
       
   396 #content .timeline.darkNav .t_left,  
       
   397 #content .timeline.darkNav .t_left:hover:active {
       
   398 	background: url('../images/timeline/dark/big-arrow.png') no-repeat left bottom;
       
   399 }
       
   400 .timeline.darkNav .t_left:hover,
       
   401 #content .timeline.darkNav .t_left:hover {
       
   402 	background: url('../images/timeline/dark/big-arrow.png') no-repeat left top;
       
   403 }
       
   404 
       
   405 .timeline .t_right, 
       
   406 .timeline .t_right:hover:active,
       
   407 #content .timeline .t_right, 
       
   408 #content .timeline .t_right:hover:active{
       
   409 	background: url('../images/timeline/light/big-arrow.png') no-repeat right top;
       
   410 }
       
   411 
       
   412 .timeline .t_right:hover,
       
   413 #content .timeline .t_right:hover {
       
   414 	background: url('../images/timeline/light/big-arrow.png') no-repeat right bottom;
       
   415 }
       
   416 
       
   417 .timeline.darkNav .t_right, 
       
   418 .timeline.darkNav .t_right:hover:active,
       
   419 #content .timeline.darkNav .t_right, 
       
   420 #content .timeline.darkNav .t_right:hover:active{
       
   421 	background: url('../images/timeline/dark/big-arrow.png') no-repeat right bottom;
       
   422 }
       
   423 
       
   424 .timeline.darkNav .t_right:hover,
       
   425 #content .timeline.darkNav .t_right:hover {
       
   426 	background: url('../images/timeline/dark/big-arrow.png') no-repeat right top;
       
   427 }
       
   428 
       
   429 /* -----------------------------------------------------------------------*/
       
   430 /* ------------------------------ RESPONSIVE -----------------------------*/
       
   431 /* -----------------------------------------------------------------------*/
       
   432 
       
   433 
       
   434 
       
   435 /* --- 768px --- */
       
   436 @media screen and (max-width:980px) {
       
   437 	
       
   438 	.timeline .timeline_line,
       
   439 	#content .timeline .timeline_line {
       
   440 		width:680px !important;
       
   441 	}
       
   442 	
       
   443 	.timeline .t_line_view,
       
   444 	#content .timeline .t_line_view {
       
   445 		width:680px !important;
       
   446 	}
       
   447 	
       
   448 	.timeline .t_line_m,
       
   449 	#content .timeline .t_line_m {
       
   450 		width: 338px !important;
       
   451 	}
       
   452 	.timeline .t_line_m.right,
       
   453 	#content .timeline .t_line_m.right {
       
   454 		left: 339px !important;
       
   455 		width: 339px !important;
       
   456 	}
       
   457 }
       
   458 
       
   459 
       
   460 /* --- 610px --- */
       
   461 @media screen and (max-width:768px) {
       
   462 	
       
   463 	.timeline .timeline_line,
       
   464 	#content .timeline .timeline_line {
       
   465 		width:530px !important;
       
   466 	}
       
   467 	
       
   468 	.timeline .t_line_view,
       
   469 	#content .timeline .t_line_view {
       
   470 		width:1060px !important;
       
   471 	}
       
   472 	
       
   473 	.timeline .t_line_m,
       
   474 	#content .timeline .t_line_m {
       
   475 		width: 528px !important;
       
   476 	}
       
   477 	.timeline .t_line_m.right,
       
   478 	#content .timeline .t_line_m.right {
       
   479 		left: 530px !important;
       
   480 		width: 528px !important;
       
   481 	}
       
   482 	.timeline .t_line_year,
       
   483 	#content .timeline .t_line_year {
       
   484 		opacity:0 !important;
       
   485 		filter:alpha(opacity=0) !important;
       
   486 	}
       
   487 	.timeline .t_line_month_year,
       
   488 	#content .timeline .t_line_month_year {
       
   489 		display:inline !important;
       
   490 	}
       
   491 	
       
   492 	.timeline .t_line_node span,
       
   493 	#content .timeline .t_line_node span {
       
   494 		
       
   495 	}
       
   496 	.timeline .t_node_desc,
       
   497 	#content .timeline .t_node_desc {
       
   498 		font-size:8px !important;
       
   499 	}
       
   500 	.timeline .t_node_desc.pos_right,
       
   501 	#content .timeline .t_node_desc.pos_right {
       
   502 		right:auto !important;
       
   503 		left:0 !important;
       
   504 	}
       
   505 }
       
   506 
       
   507 
       
   508 /* --- 300px --- */
       
   509 @media screen and (max-width:610px) {
       
   510 	.timeline .timeline_line,
       
   511 	#content .timeline .timeline_line {
       
   512 		width:220px !important;
       
   513 	}
       
   514 	
       
   515 	.timeline .t_line_view,
       
   516 	#content .timeline .t_line_view {
       
   517 		width:440px !important;
       
   518 	}
       
   519 	
       
   520 	.timeline .t_line_m,
       
   521 	#content .timeline .t_line_m {
       
   522 		width: 218px !important;
       
   523 	}
       
   524 	.timeline .t_line_m.right,
       
   525 	#content .timeline .t_line_m.right {
       
   526 		left: 220px !important;
       
   527 		width: 218px !important;
       
   528 	}
       
   529 	
       
   530 	.timeline .item_open,
       
   531 	#content .timeline .item_open {
       
   532 		width:260px !important;
       
   533 	}
       
   534 	.timeline .item_open img,
       
   535 	#content .timeline .item_open img {
       
   536 		max-width:260px !important;
       
   537 	} 
       
   538 	.timeline .item_open_cwrapper,
       
   539 	#content .timeline .item_open_cwrapper {
       
   540 		width:260px !important;
       
   541 	}
       
   542 }
       
   543 
       
   544