-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.scss
192 lines (173 loc) · 3.08 KB
/
style.scss
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
@mixin vendorize($property, $value) {
-webkit-#{$property}: $value;
-moz-#{$property}: $value;
-ms-#{$property}: $value;
-o-#{$property}: $value;
#{$property}: $value;
}
@mixin respond-to($mq) {
@if $mq == middle {
@media screen and (min-width: 25em) { @content }
}
}
@mixin clear() {
&:before, &:after {
content: "\0020";
display: block;
height: 0;
overflow: hidden;
}
&:after {
clear: both;
}
}
@font-face {
font-family: 'Modernpics';
src: url('fonts/modern-pictograms/modernpics.otf');
font-weight: normal;
font-style: normal;
}
*{
@include vendorize(box-sizing, border-box);
}
[class*="fontawesome-"]:before {
font-family: 'fontawesome', sans-serif;
font-size: 1.5em;
}
.is_open {
}
.main-content {
height: 200px;
background: green;
}
.isNav {
display: inline-block;
cursor: pointer;
@include respond-to (middle) {
display: none;
}
}
.nav {
overflow: hidden;
@include vendorize("transition", all .2s);
@include clear();
@include respond-to (middle) {
height: auto !important;
}
}
.nav li {
padding: 5px 10px;
background: #1570A6;
margin-bottom: 2px;
a {
color: white;
text-decoration: none;
@include respond-to (middle) {
&:hover {
text-decoration: underline;
}
color: #000000;
}
}
@include respond-to (middle) {
width: 20%;
float: left;
padding: 0 2%;
background: #FFFFFF;
border-right: 1px solid #000000;
&:last-child{
border-right: 0px solid #000000;
}
}
}
.content {
}
.slide {
position: relative;
.slideUl {
position: relative;
overflow: hidden;
li {
position: absolute;
left: 0;
right: 0;
}
.currentSlide {
position: relative;
}
}
img {
display: block;
max-width: 100%;
}
}
.slide_item {
display: block;
}
.slide_control {
border-top: 1px solid black;
border-bottom: 1px solid black;
margin-top: 1em;
@include clear();
@include respond-to (middle) {
display: none;
}
&>div {
float: left;
width: 50%;
padding: 1em;
}
.slide_prev {
border-right: 1px solid black;
}
.slide_next {
text-align: right;
}
}
.slide_Mcontrol {
display: none;
@include respond-to (middle) {
display: block;
height: 100%;
width: 5%;
position: absolute;
top: 0;
right: 0;
opacity: .8;
ul{
height: 100%;
}
li {
background: gray;
text-align: center;
padding-top: 2em;
border-bottom: 1px solid black;
&:last-child{
border: none;
}
}
.currentLi {
color: #FFFFFF;
background: #3382EF;
}
}
}
.shopping ul{
overflow: hidden;
li {
float: left;
width: 100%;
@include respond-to (middle) {
width: 50%;
}
}
}
.shopping img {
width: 100%;
}
@include respond-to (middle) {
body:after {
content: 'middlescreen';
display: none;
}
}