Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit a013a19

Browse files
committed
use prefixed flexbox in IE 10
1 parent 3b5e695 commit a013a19

File tree

6 files changed

+19
-6
lines changed

6 files changed

+19
-6
lines changed

pica/components/css/pi-accounts.css

+4-1
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@
1919
.item {
2020
display: -webkit-box;
2121
display: -webkit-flex;
22+
display: -ms-flexbox;
2223
display: flex;
2324
-webkit-box-align: center;
2425
-webkit-align-items: center;
26+
-ms-flex-align: center;
2527
align-items: center;
2628
height: 60px;
2729
padding: 0 20px;
@@ -51,6 +53,7 @@
5153
display: -webkit-box;
5254
-webkit-box-flex: 1;
5355
-webkit-flex: 1;
56+
-ms-flex: 1;
5457
flex: 1;
5558
}
5659

@@ -96,4 +99,4 @@
9699
.button:active {
97100
box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
98101
color: #555;
99-
}
102+
}

pica/components/css/pi-app.css

+5
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@
1414

1515
/* layout content using flexbox */
1616
display: -webkit-box;
17+
display: -ms-flexbox;
1718
display: -webkit-flex;
1819
display: flex;
1920
-webkit-box-orient: vertical;
2021
-webkit-flex-flow: column;
22+
-ms-flex-direction: column;
2123
flex-direction: column;
2224

2325
/* convenient defaults */
@@ -29,6 +31,7 @@
2931
#panels, #contentPanels, #Topics {
3032
-webkit-box-flex: 1;
3133
-webkit-flex: 1;
34+
-ms-flex: 1;
3235
flex: 1;
3336
overflow: hidden;
3437
}
@@ -46,9 +49,11 @@
4649
#main {
4750
display: -webkit-box;
4851
display: -webkit-flex;
52+
display: -ms-flexbox;
4953
display: flex;
5054
-webkit-box-orient: vertical;
5155
-webkit-flex-flow: column;
56+
-ms-flex-direction: column;
5257
flex-direction: column;
5358
background: white;
5459
}

pica/components/css/pi-feed-viewer.css

+2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@
77
* {
88
display: -webkit-box;
99
display: -webkit-flex;
10+
display: -ms-flexbox;
1011
display: flex;
1112
}
1213
}
1314

1415
.feed-viewer-panels {
1516
-webkit-box-flex: 1;
1617
-webkit-flex: 1;
18+
-ms-flex: 1;
1719
flex: 1;
1820
position: relative;
1921
}

pica/components/css/pi-items-view.css

+3
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,11 @@
127127
#more {
128128
display: -webkit-box;
129129
display: -webkit-flex;
130+
display: -ms-flexbox;
130131
display: flex;
131132
-webkit-box-align: center;
132133
-webkit-align-items: center;
134+
-ms-flex-align: center;
133135
align-items: center;
134136
float: none;
135137
width: 100%;
@@ -225,6 +227,7 @@
225227
.column #more {
226228
display: -webkit-inline-box;
227229
display: -webkit-inline-flex;
230+
display: -ms-inline-flexbox;
228231
display: inline-flex;
229232
width: 150px;
230233
min-width: 0;

pica/components/css/pi-toolbar.css

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@
77
/*@polyfill #actionbar > .toolbar > *:not(:last-child):not([hidden]) */
88
#actionbar content::-webkit-distributed(*:not(:last-child):not([hidden])) {
99
display: -webkit-box;
10+
display: -webkit-flex;
11+
display: -ms-flexbox;
12+
display: flex;
1013
-webkit-box-flex: 1;
1114
-webkit-flex: 1;
15+
-ms-flex: 1;
1216
flex: 1;
1317
}
14-
}
18+
}

pica/index.html

-4
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,9 @@
99
<html>
1010
<head>
1111
<title>Pica</title>
12-
<script src="logBoot.js"></script>
1312
<script src="../../polymer/polymer.js"></script>
1413
<!--<script src="https://www.google.com/jsapi"></script>-->
1514
<script src="jsapi.js"></script>
16-
<script>
17-
logBoot.scriptsDone();
18-
</script>
1915
<link rel="import" href="components/pi-app.html"/>
2016
<style>
2117
body {

0 commit comments

Comments
 (0)