Improve css prefixes
This commit is contained in:
parent
55a10d9f4a
commit
ae39ce97b6
3 changed files with 24 additions and 3 deletions
|
|
@ -57,6 +57,7 @@
|
||||||
"hogan.js": "^3.0.2"
|
"hogan.js": "^3.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"autoprefixer": "^6.3.6",
|
||||||
"browserify": "^13.0.0",
|
"browserify": "^13.0.0",
|
||||||
"clean-css": "^3.4.10",
|
"clean-css": "^3.4.10",
|
||||||
"codacy-coverage": "^1.1.3",
|
"codacy-coverage": "^1.1.3",
|
||||||
|
|
@ -66,6 +67,7 @@
|
||||||
"mkdirp": "^0.5.1",
|
"mkdirp": "^0.5.1",
|
||||||
"mocha": "^2.4.5",
|
"mocha": "^2.4.5",
|
||||||
"nopt": "^3.0.6",
|
"nopt": "^3.0.6",
|
||||||
|
"postcss-cli": "^2.5.2",
|
||||||
"uglifyjs": "^2.4.10"
|
"uglifyjs": "^2.4.10"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ rm -rf ${OUTPUT_DIR}
|
||||||
mkdir -p ${OUTPUT_DIR}
|
mkdir -p ${OUTPUT_DIR}
|
||||||
|
|
||||||
echo "Minifying ${OUTPUT_CSS_FILE} to ${OUTPUT_MIN_CSS_FILE}"
|
echo "Minifying ${OUTPUT_CSS_FILE} to ${OUTPUT_MIN_CSS_FILE}"
|
||||||
cp -f ${INPUT_CSS_FILE} ${OUTPUT_CSS_FILE}
|
postcss --use autoprefixer ${INPUT_CSS_FILE} -d ${OUTPUT_DIR}
|
||||||
cleancss --advanced --compatibility=ie8 -o ${OUTPUT_MIN_CSS_FILE} ${OUTPUT_CSS_FILE}
|
cleancss --advanced --compatibility=ie8 -o ${OUTPUT_MIN_CSS_FILE} ${OUTPUT_CSS_FILE}
|
||||||
|
|
||||||
echo "Pre-compile hogan.js templates"
|
echo "Pre-compile hogan.js templates"
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.d2h-file-stats {
|
.d2h-file-stats {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
@ -41,8 +43,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.d2h-file-name-wrapper {
|
.d2h-file-name-wrapper {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
-webkit-box-align: center;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
|
|
@ -242,6 +248,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.d2h-file-list-line {
|
.d2h-file-list-line {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
@ -300,6 +308,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.d2h-tag {
|
.d2h-tag {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
|
|
@ -337,12 +347,21 @@
|
||||||
.selecting-right td.d2h-code-side-linenumber * {
|
.selecting-right td.d2h-code-side-linenumber * {
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-khtml-user-select: none;
|
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.selecting-left .d2h-code-line::-moz-selection,
|
||||||
|
.selecting-left .d2h-code-line *::-moz-selection
|
||||||
|
.selecting-right td.d2h-code-linenumber::-moz-selection,
|
||||||
|
.selecting-left .d2h-code-side-line::-moz-selection,
|
||||||
|
.selecting-left .d2h-code-side-line *::-moz-selection,
|
||||||
|
.selecting-right td.d2h-code-side-linenumber::-moz-selection,
|
||||||
|
.selecting-right td.d2h-code-side-linenumber *::-moz-selection {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
.selecting-left .d2h-code-line::selection,
|
.selecting-left .d2h-code-line::selection,
|
||||||
.selecting-left .d2h-code-line *::selection
|
.selecting-left .d2h-code-line *::selection
|
||||||
.selecting-right td.d2h-code-linenumber::selection,
|
.selecting-right td.d2h-code-linenumber::selection,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue