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