968e8d156f537b17938a3a779283296d70e68efd
[edumed.git] / catalogue / static / catalogue / css / carousel.css
1 #catalogue-carousel {
2   float: left;
3   position: relative;
4   width: 43.75em;
5   height: 14.688em;
6   overflow: hidden;
7   border-radius: 0.938em; }
8   #catalogue-carousel #catalogue-carousel-links {
9     width: 28.75em;
10     height: 14.688em;
11     list-style: none;
12     margin: 0;
13     padding: 0; }
14     #catalogue-carousel #catalogue-carousel-links li {
15       display: block;
16       position: absolute;
17       top: 0;
18       left: 0;
19       height: 100%;
20       background-size: 100% 100%;
21       border-top-left-radius: 0.938em 6.38%;
22       border-bottom-left-radius: 0.938em 6.38%; }
23       #catalogue-carousel #catalogue-carousel-links li a {
24         display: block;
25         overflow: hidden;
26         width: 28.75em;
27         height: 100%;
28         background: url(/static/catalogue/img/carousel-left.png) 100% 0 no-repeat;
29         background-size: 4.375em 100%; }
30         #catalogue-carousel #catalogue-carousel-links li a .catalogue-carousel-note {
31           position: relative;
32           height: 100%;
33           color: white;
34           margin-top: 12em; }
35           #catalogue-carousel #catalogue-carousel-links li a .catalogue-carousel-note p:before {
36             content: " ";
37             display: block;
38             position: absolute;
39             height: 100%;
40             width: 100%;
41             z-index: -1;
42             background-color: black;
43             opacity: 0.6; }
44           #catalogue-carousel #catalogue-carousel-links li a .catalogue-carousel-note p {
45             margin: 0; }
46             #catalogue-carousel #catalogue-carousel-links li a .catalogue-carousel-note p em {
47               margin: 0 .2em 0 .5em;
48               font-style: normal;
49               font-size: 1.5em; }
50             #catalogue-carousel #catalogue-carousel-links li a .catalogue-carousel-note p strong {
51               margin-left: .5em;
52               font-size: 2em; }
53       #catalogue-carousel #catalogue-carousel-links li a:active {
54         outline: none; }
55   #catalogue-carousel #catalogue-carousel-switcher {
56     margin: 0;
57     padding: 3.125em 0 0 3.625em;
58     width: 11.375em;
59     height: 11.563em;
60     position: absolute;
61     right: 0;
62     top: 0;
63     list-style: none;
64     border-radius: 0 0.938em 0.938em 0;
65     background-color: #ed7831;
66     background-image: url(/static/catalogue/img/carousel-right.png);
67     background-position: 0 0;
68     background-repeat: no-repeat;
69     background-size: auto 14.688em;
70     /* right part of mask as background */ }
71     #catalogue-carousel #catalogue-carousel-switcher li {
72       margin-bottom: .9em; }
73       #catalogue-carousel #catalogue-carousel-switcher li a {
74         text-transform: uppercase;
75         color: #363a3e;
76         font-size: .9em;
77         font-weight: bold; }
78       #catalogue-carousel #catalogue-carousel-switcher li a:before {
79         vertical-align: top;
80         margin-right: 1.5em; }
81       #catalogue-carousel #catalogue-carousel-switcher li .knowledge:before {
82         content: url(/static/img/icons/knowledge_dark.png); }
83       #catalogue-carousel #catalogue-carousel-switcher li .activity:before {
84         content: url(/static/img/icons/activity_dark.png); }
85       #catalogue-carousel #catalogue-carousel-switcher li .lesson-plan:before {
86         content: url(/static/img/icons/lesson-plan_dark.png); }
87       #catalogue-carousel #catalogue-carousel-switcher li .reference:before {
88         content: url(/static/img/icons/reference_dark.png); }
89     #catalogue-carousel #catalogue-carousel-switcher li.activeSlide a {
90       color: white; }
91     #catalogue-carousel #catalogue-carousel-switcher li.activeSlide .knowledge:before {
92       content: url(/static/img/icons/knowledge_white.png); }
93     #catalogue-carousel #catalogue-carousel-switcher li.activeSlide .activity:before {
94       content: url(/static/img/icons/activity_white.png); }
95     #catalogue-carousel #catalogue-carousel-switcher li.activeSlide .lesson-plan:before {
96       content: url(/static/img/icons/lesson-plan_white.png); }
97     #catalogue-carousel #catalogue-carousel-switcher li.activeSlide .reference:before {
98       content: url(/static/img/icons/reference_white.png); }