Blame view

frontend/web/css/_blog.scss 4.98 KB
f1a0d1e0   Виталий   blog and fix cata...
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
  .blog-all-bg {
    background: url("../images/blog/blog-bg.jpg") 50% 0 no-repeat;
    height: 360px;
  }
  
  .blog-title {
    margin-top: 56px;
  }
  .fb-subscribe {
    font-weight: 700;
    color: $link-color;
    font-size: 15px;
    line-height: 18px;
    margin-top: 100px;
  }
  .fb-subscribe-btn {
  
    .btn_ {
      background: none !important;
      width: 184px;
      padding-left: 52px;
      position: relative;
      color: $main-color !important;
      box-shadow: none;
      text-align: left;
      margin-top: 26px;
      &:before {
        background: url("../images/s-1.svg") 50% 50% no-repeat;
        background-size: 11px 24px;
        width: 11px;
        height: 24px;
        position: absolute;
        top: 50%;
        margin-top: -12px;
        left: 24px;
        content: '';
      }
      &:active {
        box-shadow: 0px 0px 12px 0px rgba(151, 151, 151, 0.35);
      }
    }
  }
  
  .select-blog {
9b94956e   Виталий   blog/contacts/pac...
45
    @include wfl;
f1a0d1e0   Виталий   blog and fix cata...
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
    max-width: 360px;
    margin-top: 23px;
    form {
      @include wfl;
    }
    .input-wr {
      padding-left: 0 !important;
      padding-right: 0 !important;
    }
    select {
      cursor: pointer;
      font-weight: 700;
    }
  }
  
9b94956e   Виталий   blog/contacts/pac...
61
62
63
64
65
66
67
  .blog-list-col {
    margin-top: 22px;
    text-align: center;
    &:nth-child(3n + 4) {
      clear: both;
    }
  }
f1a0d1e0   Виталий   blog and fix cata...
68
69
70
71
72
73
74
75
  
  .blog-list-wr {
    display: inline-block;
    width: 100%;
    max-width: 360px;
    * {
      text-align: left;
    }
9b94956e   Виталий   blog/contacts/pac...
76
77
78
79
80
81
82
83
84
    &:hover {
      .img-blog-list {
        box-shadow: none;
        img {
          @include Transition(0.75);
          transform: scale(1.03);
        }
      }
    }
f1a0d1e0   Виталий   blog and fix cata...
85
86
87
  }
  
  .img-blog-list {
9b94956e   Виталий   blog/contacts/pac...
88
89
90
   @include wfl;
    box-shadow: 0px 0px 24px 0px rgba(124, 124, 124, 0.35);
    overflow: hidden;
f1a0d1e0   Виталий   blog and fix cata...
91
92
93
94
95
    a {
      width: 100%;
      float: left;
      img {
        max-width: 100%;
9b94956e   Виталий   blog/contacts/pac...
96
        @include Transition(0.3);
f1a0d1e0   Виталий   blog and fix cata...
97
98
99
100
101
102
103
      }
    }
  }
  
  .blog-date {
  font-size: 12px;
  color: #888888;
9b94956e   Виталий   blog/contacts/pac...
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
    float: left;
    line-height: 18px;
  }
  
  .blog-views-comments-ico {
    float: right;
    > div {
      float: left;
      position: relative;
      padding-left: 30px;
      font-size: 12px;
      color: #888888;
      line-height: 18px;
      &:before {
        position: absolute;
        left: 0;
        content: '';
        top: 50%;
      }
      &.blog-comments-ico {
        &:before {
          background: url("../images/blog/blog-ico-1.svg") 50% 50% no-repeat;
          background-size: 20px 18px;
          margin-top: -9px;
          width: 20px;
          height: 18px;
        }
      }
      &.blog-views-ico {
        margin-left: 20px;
        &:before {
          background: url("../images/blog/blog-ico-2.svg") 50% 50% no-repeat;
          background-size: 18px 8px;
          margin-top: -4px;
          width: 18px;
          height: 8px;
        }
      }
    }
  }
  
  .blog-list-link {
    margin-top: 8px;
    a {
      text-transform: uppercase;
      font-size: 13px;
      font-weight: 700;
      color: $main-color;
      text-decoration: none;
      line-height: 20px;
      display: block;
      span {
        border-bottom: 1px solid $blue-color;
      }
      &:hover {
        span {
          border-bottom: 1px solid transparent;
        }
      }
    }
  }
  
  
  .blog-all-date-views, .blog-list-link, .blog-list-tags {
    @include wfl;
  
  }
  .blog-all-date-views {
    margin-top: 19px;
  }
  
  .blog-list-tags {
    margin-top: 7px;
    a {
      font-size: 13px;
      float: left;
      margin-right: 10px;
      margin-top: 3px;
    }
  }
  .blog-list-row {
    margin-top: 28px;
  }
  
  .blog-view-img {
    float: left;
    margin-right: 30px;
  }
  
  .blog-view-date-all {
    padding-bottom: 13px;
    span {
      font-size: 12px;
      color: #888888;
      line-height: 18px;
      padding-left: 30px;
  
    }
  
  }
  
  .blog-view-date {
    padding-left: 0 !important;
  }
  .blog-view-comments-ico, .blog-view-views-ico {
    position: relative;
    &:before {
      position: absolute;
      left: 0;
      top: 50%;
      content: '';
    }
f1a0d1e0   Виталий   blog and fix cata...
216
  }
9b94956e   Виталий   blog/contacts/pac...
217
218
219
  .blog-view-comments-ico {
    margin-left: 59px;
    &:before {
f1a0d1e0   Виталий   blog and fix cata...
220
  
9b94956e   Виталий   blog/contacts/pac...
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
      background: url("../images/blog/blog-ico-1.svg") 50% 50% no-repeat;
      background-size: 20px 18px;
      margin-top: -9px;
      width: 20px;
      height: 18px;
    }
  }
  .blog-view-views-ico {
    margin-left: 20px;
    &:before {
      background: url("../images/blog/blog-ico-2.svg") 50% 50% no-repeat;
      background-size: 18px 8px;
      margin-top: -4px;
      width: 18px;
      height: 8px;
    }
f1a0d1e0   Виталий   blog and fix cata...
237
238
  
  
9b94956e   Виталий   blog/contacts/pac...
239
  }
f1a0d1e0   Виталий   blog and fix cata...
240
  
9b94956e   Виталий   blog/contacts/pac...
241
242
243
  .tags-view-blog {
    margin-top: 6px;
  }
f1a0d1e0   Виталий   blog and fix cata...
244
  
9b94956e   Виталий   blog/contacts/pac...
245
  .section-comments-blog {
f1a0d1e0   Виталий   blog and fix cata...
246
  
9b94956e   Виталий   blog/contacts/pac...
247
248
249
250
251
    @extend  .section-comments-answers;
  }
  .blog-view-comments-form {
    margin-top: 4px;
  }
f1a0d1e0   Виталий   blog and fix cata...
252
  
9b94956e   Виталий   blog/contacts/pac...
253
254
255
256
257
258
259
260
261
262
  .title-view-mins-bl {
    font-size: 28px;
    font-weight: 700;
    line-height: 25px;
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .section-blog-view-min-bl {
    padding-top: 56px;
  }
f1a0d1e0   Виталий   blog and fix cata...
263
264
265
266
267
268
269
270
  
  @media (max-width: 991px) {
    .blog-all-bg {
      background-position: 30% 0;
    }
    .fb-subscribe {
      max-width: 270px;
    }
9b94956e   Виталий   blog/contacts/pac...
271
272
273
    .blog-view-img {
      max-width: 50%;
    }
f1a0d1e0   Виталий   blog and fix cata...
274
275
276
277
278
279
  }
  
  @media (max-width: 767px) {
    .blog-title {
      text-align: left;
    }
9b94956e   Виталий   blog/contacts/pac...
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
    .select-blog {
      display: inline-block;
      float: none;
    }
    .select-blog-col {
      text-align: center;
    }
    .blog-view-comments-form {
      margin-top: 30px;
    }
    .blog-view-img {
      max-width: 100%;
      float: none;
      margin-right: 0;
    }
    .blog-view-date-all {
     margin-top: 20px;
    }
    .title-view-mins-bl {
     text-align: center;
    }
f1a0d1e0   Виталий   blog and fix cata...
301
302
303
304
305
306
307
  }
  @media (max-width: 550px) {
    .blog-all-bg {
      background-position: 33% 0;
    }
  
  }