forked from eshbeata/polymer-ui-carousel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmoke.css
executable file
·86 lines (69 loc) · 1.52 KB
/
smoke.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/* Demo specific styling for our element */
polymer-ui-carousel {
display: inline-block;
height: 450px;
width: 800px;
background: #4285f4;
margin: 5px;
clear:both;
font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
polymer-ui-animated-pages > div {
display: -webkit-flex;
align-items: center;
justify-content: center;
font-size: 100px;
color: black;
}
/* Style the different slides */
polymer-ui-animated-pages > div:nth-child(2) {
background: #5bc0de;
}
polymer-ui-animated-pages > div:nth-child(3) {
background: #fbb450;
}
polymer-ui-animated-pages > div:nth-child(4) {
background: #bd362f;
}
polymer-ui-animated-pages > div:nth-child(5) {
background: #2f96b4;
}
/* Disable focus */
polymer-ui-carousel .btn-prev, polymer-ui-carousel .btn-next {
background-color: transparent;
}
polymer-ui-carousel button:focus {
/*outline: 0;*/
}
p {
margin: 10px;
display: block;
}
/* Responsive styling */
@media only screen and (min-width: 900px) {
/* tablets and desktop */
polymer-ui-carousel {
width: 800px;
}
}
@media only screen and (min-width: 768px) and (max-width: 899px) {
/* tablets and desktop */
polymer-ui-carousel {
width: 700px;
}
}
@media only screen and (max-width: 767px) {
/* phones */
polymer-ui-carousel {
width: 400px;
}
}
@media only screen and (max-width: 350px) {
/* phones */
polymer-ui-carousel {
width: 300px;
}
polymer-ui-carousel ^^ #controls {
display: none;
}
}