This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-webkit-touch-callout none | |
-khtml-user-select none | |
user-select none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-webkit-touch-callout: none; | |
-webkit-user-select: none; | |
-khtml-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
user-select: none; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*:first-child+html & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------------- Кирилица ------------------- | |
font-family: "Arial Black", "Helvetica CY", "Nimbus Sans L" sans-serif; | |
font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif; | |
font-family: "Comic Sans MS", "Monaco CY", cursive; | |
font-family: "Courier New", "Nimbus Mono L", monospace; | |
font-family: Georgia, "Century Schoolbook L", Serif; | |
font-family: Impact, "Charcoal CY", sans-serif; | |
font-family: "Lucida Console", Monaco, monospace; | |
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; | |
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|------------|-------------| | |
| CSS Weight | Font Weight | | |
|------------|-------------| | |
| 100 | Ultra Light | | |
| 200 | Thin | | |
| 300 | Light | | |
| 400 | Regular | | |
| 500 | Roman | | |
| 600 | Medium | | |
| 700 | SemiBold | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|-------------------|--------|---------| | |
| Исходное значение | bolder | lighter | | |
|-------------------|--------|---------| | |
| 100 | 400 | 100 | | |
| 200 | 400 | 100 | | |
| 300 | 400 | 100 | | |
| 400 | 700 | 100 | | |
| 500 | 700 | 100 | | |
| 600 | 900 | 400 | | |
| 700 | 900 | 400 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# EditorConfig is awesome: http://EditorConfig.org | |
# top-most EditorConfig file | |
root = true | |
# Unix-style newlines with a newline ending every file | |
[*] | |
end_of_line = LF | |
insert_final_newline = true | |
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var formatPrice = function(x) { | |
var parts = x.toString().split("."); | |
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, " "); | |
return parts.join("."); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var removeAllSpaces = function(str) { | |
return str.replace(/ /g,''); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Преобразует HEX-представление цвета в RGB. | |
* @param {String} hex | |
* @return {Array} | |
*/ | |
var hex2Rgb = function(hex) { | |
if ('#' == hex.substr(0, 1)) { | |
hex = hex.substr(1); | |
} | |
if (3 == hex.length) { |