Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 304f7b4

Browse files
committed
update(index): add videos from ng-europe and improve the video panel
1 parent 6e85015 commit 304f7b4

File tree

7 files changed

+275
-265
lines changed

7 files changed

+275
-265
lines changed

src/css/docs.css

Lines changed: 141 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ div.modal-body button {
299299
.jumbotron {
300300
box-shadow:inset 0 0 100px #000;
301301
padding:0;
302-
background:#444;
302+
background:#444 url(../img/videos-bg.png);
303303
overflow:auto;
304304
text-align:center;
305305
}
@@ -314,25 +314,129 @@ div.modal-body button {
314314
margin-top:0;
315315
}
316316

317+
.jumbotron-sections a {
318+
display:inline-block;
319+
padding:10px 20px;
320+
overflow:auto;
321+
color:white;
322+
}
323+
324+
.jumbotron-sections a.active {
325+
background:black;
326+
border-radius:10px;
327+
}
328+
329+
.jumbotron-sections h2 {
330+
padding:0 20px;
331+
overflow:auto;
332+
display:inline-block;
333+
vertical-align:middle;
334+
}
335+
336+
.jumbotron-logo {
337+
height:70px;
338+
vertical-align:middle;
339+
}
340+
317341
.gallery-item {
342+
box-sizing:border-box;
318343
display:inline-block;
319344
vertical-align:top;
320-
width:280px;
345+
width:340px;
346+
}
347+
348+
.gallery-item img {
349+
box-sizing:border-box;
350+
}
351+
352+
.video-item-heading {
353+
box-sizing:border-box;
354+
font-weight:bold;
355+
line-height:25px;
356+
padding:20px 10px 0;
357+
font-size:20px;
358+
font-family:helvetica;
321359
}
322360

323361
.video-item {
324362
padding:10px 5px;
363+
margin:20px 20px 30px;
364+
text-decoration:none!important;
365+
}
366+
367+
.video-item-image {
368+
border-radius:10px;
369+
position:relative;
370+
height:170px;
371+
overflow:hidden;
372+
border:5px solid rgba(0,0,0,0.4);
373+
}
374+
375+
.video-item:hover .video-item-image {
376+
transition:0.2s linear all;
377+
-webkit-transition:0.2s linear all;
378+
}
379+
380+
.ng-europe .video-item:hover .video-item-image {
381+
border-color:#006FCC;
382+
}
383+
384+
.ng-europe .jumbotron-sections a.active,
385+
.ng-europe .video-item:hover .video-item-image:after {
386+
color:#006FCC;
387+
}
388+
389+
.ng-conf .video-item:hover .video-item-image {
390+
border-color:#D32C25;
391+
}
392+
393+
.ng-conf .jumbotron-sections a.active,
394+
.ng-conf .video-item:hover .video-item-image:after {
395+
color:#D32C25;
396+
}
397+
398+
.ng-conf .video-item:hover .video-item-image:after {
399+
color:#D32C25;
325400
}
326401

327-
.video-item img {
328-
height:200px;
402+
.video-item-image img {
403+
margin-top:-40px;
404+
max-height:250px;
405+
}
406+
407+
.video-item-image {
408+
position:relative;
329409
}
330410

331411
.video-item:hover img {
332412
box-shadow:0 0 10px #006FCC;
333413
cursor:pointer;
334414
}
335415

416+
.video-item:hover .video-item-image:before {
417+
position:absolute;
418+
top:0;
419+
left:0;
420+
bottom:0;
421+
right:0;
422+
background:rgba(0,0,0,0.4);
423+
content:"";
424+
}
425+
426+
.video-item:hover .video-item-image:after {
427+
position:absolute;
428+
top:50%;
429+
left:50%;
430+
width:100px;
431+
height:100px;
432+
margin-top:-50px;
433+
margin-left:-50px;
434+
font-family: "FontAwesome";
435+
line-height:100px;
436+
font-size:80px;
437+
content: "\f04b";
438+
}
439+
336440
.jumbotron-header,
337441
.jumbotron-actions {
338442
font-family: 'Helvetica Neue', Arial, sans-serif;
@@ -349,6 +453,7 @@ div.modal-body button {
349453

350454
.jumbotron-body {
351455
padding-bottom:30px;
456+
padding-top:20px;
352457
}
353458

354459
.jumbotron .btn {
@@ -359,84 +464,52 @@ div.modal-body button {
359464
font-weight:normal;
360465
}
361466

362-
.video-item-heading {
363-
margin-top:5px;
364-
}
365-
366-
.jumbotron-tabs {
367-
margin:30px 0 20px;
368-
}
369-
370-
.jumbotron-tabs-container {
371-
display:table;
372-
width:90%;
373-
margin:0 auto;
467+
.jumbotron-buttons {
468+
padding:0 0 20px;
374469
}
375470

376-
.jumbotron-tab {
377-
vertical-align:middle;
378-
height:50px;
379-
font-size:20px;
380-
display:table-cell;
381-
width:25%;
382-
margin:0 10px;
383-
color:white;
384-
text-decoration:none;
385-
border-bottom:2px solid transparent;
471+
.jumbotron-buttons .btn {
472+
font-size:30px;
473+
margin:0 20px 20px;
386474
}
387475

388-
.jumbotron-tabs .search-input {
389-
margin:2px 0 0;
390-
background:transparent;
391-
border:0;
392-
height:auto;
393-
font-size:20px;
394-
color:white;
395-
border:0;
396-
box-shadow:none;
397-
}
476+
.animated-item.ng-enter-stagger {
477+
-webkit-animation-delay:150ms;
478+
animation-delay:150ms;
398479

399-
.jumbotron-tab:hover {
400-
color:white;
401-
text-decoration:none;
402-
background:rgba(0,0,0,0.15);
480+
-webkit-animation-duration:0;
481+
animation-duration:0;
403482
}
404483

405-
.jumbotron-tab.active {
484+
.animated-item.ng-enter {
406485
position:relative;
407-
background:#222;
408-
color:#006FCC;
486+
backface-visibility: visible !important;
487+
animation: 0.4s fadeInDown;
488+
-webkit-animation: 0.8s fadeInDown;
409489
}
410490

411-
.jumbotron-tab.active:after {
412-
border-width:8px;
413-
border-color:#222 transparent transparent;
414-
border-style:solid;
415-
position:absolute;
416-
bottom:-16px;
417-
left:50%;
418-
margin-left:-8px;
419-
content:"";
420-
}
421-
422-
.animated-item.ng-enter-stagger {
423-
-webkit-transition-delay:0.15s;
424-
transition-delay:0.15s;
491+
@keyframes fadeInDown {
492+
0% {
493+
opacity: 0;
494+
transform: translate3d(0, -30px, 0);
495+
}
425496

426-
-webkit-transition-duration:0;
427-
transition-duration:0;
497+
100% {
498+
opacity: 1;
499+
transform: none;
500+
}
428501
}
429502

430-
.animated-item.ng-enter {
431-
transition:0.5s linear all;
432-
position:relative;
433-
left:-20px;
434-
opacity:0;
435-
}
503+
@-webkit-keyframes fadeInDown {
504+
0% {
505+
opacity: 0;
506+
-webkit-transform: translate3d(0, -30px, 0);
507+
}
436508

437-
.animated-item.ng-enter.ng-enter-active {
438-
left:0;
439-
opacity:1;
509+
100% {
510+
opacity: 1;
511+
-webkit-transform: none;
512+
}
440513
}
441514

442515
.jumbotron-message {

0 commit comments

Comments
 (0)