visual changes
[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           height: 100%;
32           margin-left: 50%;
33           background-color: black;
34           color: white;
35           opacity: 0.6;
36           background-image: url(/static/catalogue/img/carousel-left.png);
37           background-position: 100% 0;
38           background-repeat: no-repeat;
39           background-size: 4.375em 100%; }
40           #catalogue-carousel #catalogue-carousel-links li a .catalogue-carousel-note p {
41             padding: 6em 2em 0 1.6em;
42             margin: 0; }
43             #catalogue-carousel #catalogue-carousel-links li a .catalogue-carousel-note p em {
44               display: block;
45               font-style: normal;
46               font-size: 1.5em; }
47             #catalogue-carousel #catalogue-carousel-links li a .catalogue-carousel-note p strong {
48               font-size: 2em; }
49   #catalogue-carousel #catalogue-carousel-switcher {
50     margin: 0;
51     padding: 3.125em 0 0 3.625em;
52     width: 11.375em;
53     height: 11.563em;
54     position: absolute;
55     right: 0;
56     top: 0;
57     list-style: none;
58     border-radius: 0 0.938em 0.938em 0;
59     background-color: #ed7831;
60     background-image: url(/static/catalogue/img/carousel-right.png);
61     background-position: 0 0;
62     background-repeat: no-repeat;
63     background-size: auto 14.688em;
64     /* right part of mask as background */ }
65     #catalogue-carousel #catalogue-carousel-switcher li {
66       margin-bottom: .9em; }
67       #catalogue-carousel #catalogue-carousel-switcher li a {
68         text-transform: uppercase;
69         color: #363a3e;
70         font-size: .9em;
71         font-weight: bold; }
72       #catalogue-carousel #catalogue-carousel-switcher li a:before {
73         vertical-align: top;
74         margin-right: 1.5em; }
75       #catalogue-carousel #catalogue-carousel-switcher li .knowledge:before {
76         content: url(/static/img/icons/knowledge_dark.png); }
77       #catalogue-carousel #catalogue-carousel-switcher li .activity:before {
78         content: url(/static/img/icons/activity_dark.png); }
79       #catalogue-carousel #catalogue-carousel-switcher li .lesson-plan:before {
80         content: url(/static/img/icons/lesson-plan_dark.png); }
81       #catalogue-carousel #catalogue-carousel-switcher li .reference:before {
82         content: url(/static/img/icons/reference_dark.png); }
83     #catalogue-carousel #catalogue-carousel-switcher li.activeSlide a {
84       color: white; }
85     #catalogue-carousel #catalogue-carousel-switcher li.activeSlide .knowledge:before {
86       content: url(/static/img/icons/knowledge_white.png); }
87     #catalogue-carousel #catalogue-carousel-switcher li.activeSlide .activity:before {
88       content: url(/static/img/icons/activity_white.png); }
89     #catalogue-carousel #catalogue-carousel-switcher li.activeSlide .lesson-plan:before {
90       content: url(/static/img/icons/lesson-plan_white.png); }
91     #catalogue-carousel #catalogue-carousel-switcher li.activeSlide .reference:before {
92       content: url(/static/img/icons/reference_white.png); }