• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Revision27571 (tree)
Zeit2016-11-23 05:19:03
Autorxhmikosr

Log Message

www: add grunt-autoprefixer.

Ändern Zusammenfassung

Diff

--- trunk/www/Gruntfile.js (revision 27570)
+++ trunk/www/Gruntfile.js (revision 27571)
@@ -91,6 +91,23 @@
9191 }
9292 },
9393
94+ autoprefixer: {
95+ options: {
96+ browsers: [
97+ 'last 2 version',
98+ '> 1%',
99+ 'Edge >= 12',
100+ 'Explorer >= 9',
101+ 'Firefox ESR',
102+ 'Opera 12.1'
103+ ]
104+ },
105+ pack: {
106+ src: '<%= concat.css.dest %>',
107+ dest: '<%= concat.css.dest %>'
108+ }
109+ },
110+
94111 uncss: {
95112 options: {
96113 htmlroot: '<%= dirs.dest %>',
@@ -262,6 +279,7 @@
262279 'useminPrepare',
263280 'copy',
264281 'concat',
282+ 'autoprefixer',
265283 'uncss',
266284 'cssmin',
267285 'uglify',
@@ -284,6 +302,7 @@
284302 'useminPrepare',
285303 'copy',
286304 'concat',
305+ 'autoprefixer',
287306 'filerev',
288307 'usemin'
289308 ]);
--- trunk/www/package.json (revision 27570)
+++ trunk/www/package.json (revision 27571)
@@ -18,6 +18,7 @@
1818 },
1919 "devDependencies": {
2020 "grunt": "^1.0.1",
21+ "grunt-autoprefixer": "^3.0.4",
2122 "grunt-contrib-clean": "^1.0.0",
2223 "grunt-contrib-concat": "^1.0.0",
2324 "grunt-contrib-connect": "^1.0.0",
--- trunk/www/source/assets/css/style.css (revision 27570)
+++ trunk/www/source/assets/css/style.css (revision 27571)
@@ -90,8 +90,6 @@
9090 font-size: 90%;
9191 color: #c7254e;
9292 background-color: #f9f2f4;
93- -webkit-border-radius: 4px;
94- -moz-border-radius: 4px;
9593 border-radius: 4px;
9694 }
9795 kbd {
@@ -99,12 +97,8 @@
9997 font-size: 90%;
10098 color: #ffffff;
10199 background-color: #333333;
102- -webkit-border-radius: 3px;
103- -moz-border-radius: 3px;
104100 border-radius: 3px;
105- -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
106- -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
107- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
101+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
108102 }
109103
110104 kbd kbd {
@@ -111,9 +105,7 @@
111105 padding: 0;
112106 font-size: 100%;
113107 font-weight: bold;
114- -webkit-box-shadow: none;
115- -moz-box-shadow: none;
116- box-shadow: none;
108+ box-shadow: none;
117109 }
118110 pre {
119111 display: block;
@@ -126,8 +118,6 @@
126118 color: #333333;
127119 background-color: #f5f5f5;
128120 border: 1px solid #cccccc;
129- -webkit-border-radius: 4px;
130- -moz-border-radius: 4px;
131121 border-radius: 4px;
132122 }
133123 pre code {
@@ -136,8 +126,6 @@
136126 color: inherit;
137127 white-space: pre-wrap;
138128 background-color: transparent;
139- -webkit-border-radius: 0;
140- -moz-border-radius: 0;
141129 border-radius: 0;
142130 }
143131
@@ -153,8 +141,6 @@
153141 background-repeat: no-repeat;
154142 border-left: 1px solid;
155143 border-top: 5px solid;
156- -webkit-border-top-left-radius: 4px;
157- -moz-border-radius-topleft: 4px;
158144 border-top-left-radius: 4px;
159145 clear: both;
160146 margin: 1em 0 0 1em;
@@ -263,9 +249,9 @@
263249 padding-right: 0.3em;
264250 }
265251
266-.en:lang(en),
267-.de:lang(de),
268-.zh:lang(zh) {
252+.en_US:lang(en_US),
253+.de_DE:lang(de_DE),
254+.zh_ZH:lang(zh_ZH) {
269255 font-weight: bold;
270256 }
271257
@@ -272,9 +258,7 @@
272258 /* Menu */
273259 .menu {
274260 background-color: #565F68;
275- -webkit-border-radius: 2px;
276- -moz-border-radius: 2px;
277- border-radius: 2px;
261+ border-radius: 2px;
278262 display: inline-block;
279263 margin: 0 auto -4px auto;
280264 padding: 0;
@@ -286,10 +270,6 @@
286270 .menu a {
287271 background-color: white;
288272 border: none;
289- -webkit-border-top-left-radius: 4px;
290- -webkit-border-top-right-radius: 4px;
291- -moz-border-radius-topleft: 4px;
292- -moz-border-radius-topright: 4px;
293273 border-top-left-radius: 4px;
294274 border-top-right-radius: 4px;
295275 color: black;
@@ -318,9 +298,7 @@
318298 /* Page */
319299 .page {
320300 background-color: white;
321- -webkit-border-radius: 2px;
322- -moz-border-radius: 2px;
323- border-radius: 2px;
301+ border-radius: 2px;
324302 margin: 0 auto;
325303 padding-top: 20px;
326304 width: 910px;
@@ -453,18 +431,9 @@
453431
454432 .btn {
455433 background-color: #2584c4;
456- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2584c4), color-stop(100%, #042f4a));
457- background-image: -webkit-linear-gradient(top, #2584c4 0%, #042f4a 100%);
458- background-image: -moz-linear-gradient(top, #2584c4 0%, #042f4a 100%);
459- background-image: -ms-linear-gradient(top, #2584c4 0%, #042f4a 100%);
460- background-image: -o-linear-gradient(top, #2584c4 0%, #042f4a 100%);
461434 background-image: linear-gradient(to bottom, #2584c4 0%, #042f4a 100%);
462435 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2584c4', endColorstr='#042f4a', GradientType=0 );
463- -webkit-border-radius: 4px;
464- -moz-border-radius: 4px;
465436 border-radius: 4px;
466- -webkit-box-shadow: 0 1px 3px #666666;
467- -moz-box-shadow: 0 1px 3px #666666;
468437 box-shadow: 0 1px 3px #666666;
469438 border-bottom: none;
470439 display: inline-block;
@@ -475,11 +444,6 @@
475444
476445 .btn:hover {
477446 background-color: #2f87bd;
478- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2f87bd), color-stop(100%, #124a70));
479- background-image: -webkit-linear-gradient(top, #2f87bd 0%, #124a70 100%);
480- background-image: -moz-linear-gradient(top, #2f87bd 0%, #124a70 100%);
481- background-image: -ms-linear-gradient(top, #2f87bd 0%, #124a70 100%);
482- background-image: -o-linear-gradient(top, #2f87bd 0%, #124a70 100%);
483447 background-image: linear-gradient(to bottom, #2f87bd 0%, #124a70 100%);
484448 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2f87bd', endColorstr='#124a70', GradientType=0 );
485449 text-decoration: none;
Show on old repository browser