Commit 9fe10eac authored by Nikolay Gromov's avatar Nikolay Gromov

Merge branch 'master' of github.com:nicothin/NTH-start-project

parents cb8b1be3 edd232e4
...@@ -206,8 +206,13 @@ gulp.task('sprite:svg', function (callback) { ...@@ -206,8 +206,13 @@ gulp.task('sprite:svg', function (callback) {
} }
})) }))
.pipe(svgstore({ inlineSvg: true })) .pipe(svgstore({ inlineSvg: true }))
.pipe(cheerio(function ($) { .pipe(cheerio({
$('svg').attr('style', 'display:none'); run: function($) {
$('svg').attr('style', 'display:none');
},
parserOptions: {
xmlMode: true
}
})) }))
.pipe(rename('sprite-svg.svg')) .pipe(rename('sprite-svg.svg'))
.pipe(size({ .pipe(size({
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<meta name="viewport" content="width=1000"> <meta name="viewport" content="width=1000">
--> -->
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="format-detection" content="telephone=no">
<link href="css/style.min.css" rel="stylesheet" media="screen"> <link href="css/style.min.css" rel="stylesheet" media="screen">
......
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
// модификаторов, псевдоселекторов, псевдоэлементов, $media-условий... // модификаторов, псевдоселекторов, псевдоэлементов, $media-условий...
// Не пишите здесь другие селекторы. // Не пишите здесь другие селекторы.
$gray-lighter: hsl(0, 0%, 80%); $gray-lighter: hsl(0, 0%, 80%) !default;
$gray-lightest: hsl(0, 0%, 90%); $gray-lightest: hsl(0, 0%, 90%) !default;
$text-color: hsl(0, 0%, 10%); $text-color: hsl(0, 0%, 10%) !default;
$line-height: 1.375em; $line-height: 1.375em;
$field-padding-vertical: 0.3em; $field-padding-vertical: 0.3em !default;
$field-padding-horizontal: 0.7em; $field-padding-horizontal: 0.7em !default;
$border-radius: 3px; $border-radius: 3px !default;
.btn { .btn {
box-sizing: border-box; box-sizing: border-box;
......
// В этом файле должны быть стили только для БЭМ-блока page-header, его элементов, // В этом файле должны быть стили только для БЭМ-блока page-footer, его элементов,
// модификаторов, псевдоселекторов, псевдоэлементов, @media-условий... // модификаторов, псевдоселекторов, псевдоэлементов, @media-условий...
// Не пишите здесь другие селекторы. // Не пишите здесь другие селекторы.
.page-footer { .page-footer {
} }
// Make viewport responsive // Make viewport great again (responsive)
// http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/ // http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
@at-root { @at-root {
...@@ -53,6 +53,11 @@ body { ...@@ -53,6 +53,11 @@ body {
cursor: pointer; cursor: pointer;
} }
// We love Safari
input[type="search"] {
-webkit-appearance: textfield;
}
// Avoid 300ms click delay on touch devices that support the `touch-action` CSS property. // Avoid 300ms click delay on touch devices that support the `touch-action` CSS property.
a, a,
// area, // area,
...@@ -66,6 +71,15 @@ textarea { ...@@ -66,6 +71,15 @@ textarea {
touch-action: manipulation; touch-action: manipulation;
} }
// We love EDGE! This is a browser!
svg {
a &,
button & {
pointer-events: none;
}
}
img { img {
max-width: 100%; max-width: 100%;
height: auto; height: auto;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment