Last active
December 13, 2016 20:31
-
-
Save wincent/c9b99086d3c8fd5ffe7eb30323e4aa6b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| --- old.css 2016-12-13 11:26:59.000000000 -0800 | |
| +++ new.css 2016-12-13 12:28:14.000000000 -0800 | |
| @@ -1,9 +1,10 @@ | |
| .graphiql-container { | |
| color: #141823; | |
| - display: -webkit-flex; | |
| + display: -webkit-box; | |
| display: -ms-flexbox; | |
| display: flex; | |
| - -webkit-flex-direction: row; | |
| + -webkit-box-orient: horizontal; | |
| + -webkit-box-direction: normal; | |
| -ms-flex-direction: row; | |
| flex-direction: row; | |
| font-family: | |
| @@ -27,13 +28,14 @@ | |
| } | |
| .graphiql-container .editorWrap { | |
| - display: -webkit-flex; | |
| + display: -webkit-box; | |
| display: -ms-flexbox; | |
| display: flex; | |
| - -webkit-flex-direction: column; | |
| + -webkit-box-orient: vertical; | |
| + -webkit-box-direction: normal; | |
| -ms-flex-direction: column; | |
| flex-direction: column; | |
| - -webkit-flex: 1; | |
| + -webkit-box-flex: 1; | |
| -ms-flex: 1; | |
| flex: 1; | |
| } | |
| @@ -48,34 +50,37 @@ | |
| } | |
| .graphiql-container .topBarWrap { | |
| - display: -webkit-flex; | |
| + display: -webkit-box; | |
| display: -ms-flexbox; | |
| display: flex; | |
| - -webkit-flex-direction: row; | |
| + -webkit-box-orient: horizontal; | |
| + -webkit-box-direction: normal; | |
| -ms-flex-direction: row; | |
| flex-direction: row; | |
| } | |
| .graphiql-container .topBar { | |
| - -webkit-align-items: center; | |
| - -ms-align-items: center; | |
| + -webkit-box-align: center; | |
| + -ms-flex-align: center; | |
| align-items: center; | |
| background: -webkit-linear-gradient(#f7f7f7, #e2e2e2); | |
| - background: linear-gradient(#f7f7f7, #e2e2e2); | |
| + background: linear-gradient(#f7f7f7, #e2e2e2); | |
| border-bottom: 1px solid #d0d0d0; | |
| cursor: default; | |
| - display: -webkit-flex; | |
| + display: -webkit-box; | |
| display: -ms-flexbox; | |
| display: flex; | |
| height: 34px; | |
| padding: 7px 14px 6px; | |
| - -webkit-flex: 1; | |
| + -webkit-box-flex: 1; | |
| -ms-flex: 1; | |
| flex: 1; | |
| - -webkit-flex-direction: row; | |
| + -webkit-box-orient: horizontal; | |
| + -webkit-box-direction: normal; | |
| -ms-flex-direction: row; | |
| flex-direction: row; | |
| -webkit-user-select: none; | |
| + -moz-user-select: none; | |
| -ms-user-select: none; | |
| user-select: none; | |
| } | |
| @@ -86,7 +91,7 @@ | |
| .graphiql-container .docExplorerShow { | |
| background: -webkit-linear-gradient(#f7f7f7, #e2e2e2); | |
| - background: linear-gradient(#f7f7f7, #e2e2e2); | |
| + background: linear-gradient(#f7f7f7, #e2e2e2); | |
| border-bottom: 1px solid #d0d0d0; | |
| border-left: 1px solid rgba(0, 0, 0, 0.2); | |
| border-right: none; | |
| @@ -108,45 +113,47 @@ | |
| margin: 0 3px -1px 0; | |
| position: relative; | |
| -webkit-transform: rotate(-45deg); | |
| - -ms-transform: rotate(-45deg); | |
| transform: rotate(-45deg); | |
| width: 9px; | |
| } | |
| .graphiql-container .editorBar { | |
| - display: -webkit-flex; | |
| + display: -webkit-box; | |
| display: -ms-flexbox; | |
| display: flex; | |
| - -webkit-flex: 1; | |
| + -webkit-box-flex: 1; | |
| -ms-flex: 1; | |
| flex: 1; | |
| - -webkit-flex-direction: row; | |
| + -webkit-box-orient: horizontal; | |
| + -webkit-box-direction: normal; | |
| -ms-flex-direction: row; | |
| flex-direction: row; | |
| } | |
| .graphiql-container .queryWrap { | |
| - display: -webkit-flex; | |
| + display: -webkit-box; | |
| display: -ms-flexbox; | |
| display: flex; | |
| - -webkit-flex: 1; | |
| + -webkit-box-flex: 1; | |
| -ms-flex: 1; | |
| flex: 1; | |
| - -webkit-flex-direction: column; | |
| + -webkit-box-orient: vertical; | |
| + -webkit-box-direction: normal; | |
| -ms-flex-direction: column; | |
| flex-direction: column; | |
| } | |
| .graphiql-container .resultWrap { | |
| border-left: solid 1px #e0e0e0; | |
| - display: -webkit-flex; | |
| + display: -webkit-box; | |
| display: -ms-flexbox; | |
| display: flex; | |
| position: relative; | |
| - -webkit-flex: 1; | |
| + -webkit-box-flex: 1; | |
| -ms-flex: 1; | |
| flex: 1; | |
| - -webkit-flex-direction: column; | |
| + -webkit-box-orient: vertical; | |
| + -webkit-box-direction: normal; | |
| -ms-flex-direction: column; | |
| flex-direction: column; | |
| } | |
| @@ -176,20 +183,21 @@ | |
| } | |
| .graphiql-container .query-editor { | |
| - -webkit-flex: 1; | |
| + -webkit-box-flex: 1; | |
| -ms-flex: 1; | |
| flex: 1; | |
| position: relative; | |
| } | |
| .graphiql-container .variable-editor { | |
| - display: -webkit-flex; | |
| - display: -ms-flex; | |
| - display: flex; | |
| - height: 29px; | |
| - -webkit-flex-direction: column; | |
| + display: -webkit-box; | |
| + display: -ms-flexbox; | |
| + display: flex; | |
| + -webkit-box-orient: vertical; | |
| + -webkit-box-direction: normal; | |
| -ms-flex-direction: column; | |
| flex-direction: column; | |
| + height: 29px; | |
| position: relative; | |
| } | |
| @@ -205,12 +213,13 @@ | |
| padding: 6px 0 8px 43px; | |
| text-transform: lowercase; | |
| -webkit-user-select: none; | |
| + -moz-user-select: none; | |
| -ms-user-select: none; | |
| user-select: none; | |
| } | |
| .graphiql-container .codemirrorWrap { | |
| - -webkit-flex: 1; | |
| + -webkit-box-flex: 1; | |
| -ms-flex: 1; | |
| flex: 1; | |
| position: relative; | |
| @@ -218,7 +227,7 @@ | |
| } | |
| .graphiql-container .result-window { | |
| - -webkit-flex: 1; | |
| + -webkit-box-flex: 1; | |
| -ms-flex: 1; | |
| flex: 1; | |
| position: relative; | |
| @@ -262,7 +271,7 @@ | |
| .graphiql-container .toolbar-button { | |
| background: #fdfdfd; | |
| background: -webkit-linear-gradient(#fbfbfb, #f8f8f8); | |
| - background: linear-gradient(#fbfbfb, #f8f8f8); | |
| + background: linear-gradient(#fbfbfb, #f8f8f8); | |
| border-width: 0.5px; | |
| border-style: solid; | |
| border-color: #d3d3d3 #d0d0d0 #bababa; | |
| @@ -278,7 +287,7 @@ | |
| .graphiql-container .toolbar-button:active { | |
| background: -webkit-linear-gradient(#ececec, #d8d8d8); | |
| - background: linear-gradient(#ececec, #d8d8d8); | |
| + background: linear-gradient(#ececec, #d8d8d8); | |
| border-color: #cacaca #c9c9c9 #b0b0b0; | |
| box-shadow: | |
| 0 1px 0 #fff, | |
| @@ -288,7 +297,7 @@ | |
| .graphiql-container .toolbar-button.error { | |
| background: -webkit-linear-gradient(#fdf3f3, #e6d6d7); | |
| - background: linear-gradient(#fdf3f3, #e6d6d7); | |
| + background: linear-gradient(#fdf3f3, #e6d6d7); | |
| color: #b00; | |
| } | |
| @@ -300,7 +309,7 @@ | |
| .graphiql-container .execute-button { | |
| background: -webkit-linear-gradient(#fdfdfd, #d2d3d6); | |
| - background: linear-gradient(#fdfdfd, #d2d3d6); | |
| + background: linear-gradient(#fdfdfd, #d2d3d6); | |
| border: 1px solid rgba(0,0,0,0.25); | |
| border-radius: 17px; | |
| box-shadow: 0 1px 0 #fff; | |
| @@ -318,7 +327,7 @@ | |
| .graphiql-container .execute-button:active { | |
| background: -webkit-linear-gradient(#e6e6e6, #c0c0c0); | |
| - background: linear-gradient(#e6e6e6, #c0c0c0); | |
| + background: linear-gradient(#e6e6e6, #c0c0c0); | |
| box-shadow: | |
| 0 1px 0 #fff, | |
| inset 0 0 2px rgba(0, 0, 0, 0.3), | |
| @@ -355,8 +364,7 @@ | |
| } | |
| .graphiql-container .CodeMirror-scroll { | |
| - -webkit-overflow-scrolling: touch; | |
| - -ms-overflow-scrolling: touch; | |
| + overflow-scrolling: touch; | |
| } | |
| .graphiql-container .CodeMirror { | |
| @@ -380,15 +388,14 @@ | |
| } | |
| .CodeMirror-hint-information .content { | |
| - -webkit-box-orient: vertical; | |
| - -ms-box-orient: vertical; | |
| - box-orient: vertical; | |
| + box-orient: vertical; | |
| color: #141823; | |
| display: -webkit-box; | |
| + display: -ms-flexbox; | |
| + display: flex; | |
| font-family: system, -apple-system, 'San Francisco', '.SFNSDisplay-Regular', 'Segoe UI', Segoe, 'Segoe WP', 'Helvetica Neue', helvetica, 'Lucida Grande', arial, sans-serif; | |
| font-size: 13px; | |
| - -webkit-line-clamp: 3; | |
| - line-clamp: 3; | |
| + line-clamp: 3; | |
| line-height: 16px; | |
| max-height: 48px; | |
| overflow: hidden; | |
| @@ -412,12 +419,8 @@ | |
| .autoInsertedLeaf.cm-property { | |
| -webkit-animation-duration: 6s; | |
| - -moz-animation-duration: 6s; | |
| - -ms-animation-duration: 6s; | |
| animation-duration: 6s; | |
| -webkit-animation-name: insertionFade; | |
| - -moz-animation-name: insertionFade; | |
| - -ms-animation-name: insertionFade; | |
| animation-name: insertionFade; | |
| border-bottom: 2px solid rgba(255, 255, 255, 0); | |
| border-radius: 2px; | |
| @@ -425,18 +428,6 @@ | |
| padding: 2px 4px 1px; | |
| } | |
| -@-moz-keyframes insertionFade { | |
| - from, to { | |
| - background: rgba(255, 255, 255, 0); | |
| - border-color: rgba(255, 255, 255, 0); | |
| - } | |
| - | |
| - 15%, 85% { | |
| - background: #fbffc9; | |
| - border-color: #f0f3c0; | |
| - } | |
| -} | |
| - | |
| @-webkit-keyframes insertionFade { | |
| from, to { | |
| background: rgba(255, 255, 255, 0); | |
| @@ -485,10 +476,7 @@ | |
| opacity: 0; | |
| padding: 6px 10px; | |
| -webkit-transition: opacity 0.15s; | |
| - -moz-transition: opacity 0.15s; | |
| - -ms-transition: opacity 0.15s; | |
| - -o-transition: opacity 0.15s; | |
| - transition: opacity 0.15s; | |
| + transition: opacity 0.15s; | |
| } | |
| div.CodeMirror-lint-message-error, div.CodeMirror-lint-message-warning { | |
| @@ -501,9 +489,7 @@ | |
| border-radius: 4px; | |
| background: #08f; | |
| background: -webkit-linear-gradient(#43A8FF, #0F83E8); | |
| - background: -moz-linear-gradient(#43A8FF, #0F83E8); | |
| - background: -ms-linear-gradient(#43A8FF, #0F83E8); | |
| - background: linear-gradient(#43A8FF, #0F83E8); | |
| + background: linear-gradient(#43A8FF, #0F83E8); | |
| box-shadow: | |
| 0 1px 1px rgba(0, 0, 0, 0.2), | |
| inset 0 0 0 1px rgba(0, 0, 0, 0.1); | |
| @@ -657,14 +643,7 @@ | |
| width: auto; | |
| border: 0; | |
| -webkit-animation: blink 1.06s steps(1) infinite; | |
| - -moz-animation: blink 1.06s steps(1) infinite; | |
| - -ms-animation: blink 1.06s steps(1) infinite; | |
| - animation: blink 1.06s steps(1) infinite; | |
| -} | |
| -@-moz-keyframes blink { | |
| - 0% { background: #7e7; } | |
| - 50% { background: none; } | |
| - 100% { background: #7e7; } | |
| + animation: blink 1.06s steps(1) infinite; | |
| } | |
| @-webkit-keyframes blink { | |
| 0% { background: #7e7; } | |
| @@ -816,9 +795,9 @@ | |
| } | |
| .CodeMirror-gutter-wrapper { | |
| -webkit-user-select: none; | |
| - -moz-user-select: none; | |
| - -ms-user-select: none; | |
| - user-select: none; | |
| + -moz-user-select: none; | |
| + -ms-user-select: none; | |
| + user-select: none; | |
| } | |
| .CodeMirror-lines { | |
| @@ -827,7 +806,7 @@ | |
| } | |
| .CodeMirror pre { | |
| /* Reset some styles that the rest of the page might have set */ | |
| - -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; | |
| + border-radius: 0; | |
| border-width: 0; | |
| background: transparent; | |
| font-family: inherit; | |
| @@ -840,8 +819,9 @@ | |
| z-index: 2; | |
| position: relative; | |
| overflow: visible; | |
| - -webkit-tap-highlight-color: transparent; | |
| + tap-highlight-color: transparent; | |
| -webkit-font-variant-ligatures: none; | |
| + font-variant-ligatures: none; | |
| font-variant-ligatures: none; | |
| } | |
| .CodeMirror-wrap pre { | |
| @@ -874,7 +854,6 @@ | |
| .CodeMirror-gutter, | |
| .CodeMirror-gutters, | |
| .CodeMirror-linenumber { | |
| - -moz-box-sizing: content-box; | |
| box-sizing: content-box; | |
| } | |
| @@ -905,6 +884,7 @@ | |
| .CodeMirror-selected { background: #d9d9d9; } | |
| .CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; } | |
| .CodeMirror-crosshair { cursor: crosshair; } | |
| +.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; } | |
| .CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; } | |
| .CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; } | |
| @@ -970,7 +950,7 @@ | |
| .graphiql-container .doc-explorer-title-bar { | |
| cursor: default; | |
| - display: -webkit-flex; | |
| + display: -webkit-box; | |
| display: -ms-flexbox; | |
| display: flex; | |
| height: 34px; | |
| @@ -978,6 +958,8 @@ | |
| padding: 8px 8px 5px; | |
| position: relative; | |
| -webkit-user-select: none; | |
| + -moz-user-select: none; | |
| + -ms-user-select: none; | |
| user-select: none; | |
| } | |
| @@ -988,7 +970,7 @@ | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| overflow-x: hidden; | |
| - -webkit-flex: 1; | |
| + -webkit-box-flex: 1; | |
| -ms-flex: 1; | |
| flex: 1; | |
| } | |
| @@ -1017,7 +999,6 @@ | |
| position: relative; | |
| width: 9px; | |
| -webkit-transform: rotate(-45deg); | |
| - -ms-transform: rotate(-45deg); | |
| transform: rotate(-45deg); | |
| } | |
| @@ -1071,6 +1052,7 @@ | |
| margin: 0 -15px 10px 0; | |
| padding: 10px 0; | |
| -webkit-user-select: none; | |
| + -moz-user-select: none; | |
| -ms-user-select: none; | |
| user-select: none; | |
| } | |
| @@ -1174,11 +1156,8 @@ | |
| z-index: 100; | |
| max-width: 600px; | |
| opacity: 0; | |
| - transition: opacity .4s; | |
| - -moz-transition: opacity .4s; | |
| -webkit-transition: opacity .4s; | |
| - -o-transition: opacity .4s; | |
| - -ms-transition: opacity .4s; | |
| + transition: opacity .4s; | |
| } | |
| .CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning { | |
| @@ -1233,7 +1212,8 @@ | |
| height: 36px; | |
| width: 36px; | |
| left: 50%; | |
| - transform: translate(-50%, -50%); | |
| + -webkit-transform: translate(-50%, -50%); | |
| + transform: translate(-50%, -50%); | |
| z-index: 10; | |
| } | |
| @@ -1244,9 +1224,7 @@ | |
| width: 24px; | |
| position: absolute; | |
| -webkit-animation: rotation .6s infinite linear; | |
| - -moz-animation: rotation .6s infinite linear; | |
| - -o-animation: rotation .6s infinite linear; | |
| - animation: rotation .6s infinite linear; | |
| + animation: rotation .6s infinite linear; | |
| border-left: 6px solid rgba(150, 150, 150, .15); | |
| border-right: 6px solid rgba(150, 150, 150, .15); | |
| border-bottom: 6px solid rgba(150, 150, 150, .15); | |
| @@ -1255,29 +1233,17 @@ | |
| } | |
| @-webkit-keyframes rotation { | |
| - from { -webkit-transform: rotate(0deg); } | |
| - to { -webkit-transform: rotate(359deg); } | |
| -} | |
| - | |
| -@-moz-keyframes rotation { | |
| - from { -moz-transform: rotate(0deg); } | |
| - to { -moz-transform: rotate(359deg); } | |
| -} | |
| - | |
| -@-o-keyframes rotation { | |
| - from { -o-transform: rotate(0deg); } | |
| - to { -o-transform: rotate(359deg); } | |
| + from { -webkit-transform: rotate(0deg); transform: rotate(0deg); } | |
| + to { -webkit-transform: rotate(359deg); transform: rotate(359deg); } | |
| } | |
| @keyframes rotation { | |
| - from { transform: rotate(0deg); } | |
| - to { transform: rotate(359deg); } | |
| + from { -webkit-transform: rotate(0deg); transform: rotate(0deg); } | |
| + to { -webkit-transform: rotate(359deg); transform: rotate(359deg); } | |
| } | |
| .CodeMirror-hints { | |
| background: white; | |
| - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); | |
| - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); | |
| - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); | |
| + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); | |
| font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace; | |
| font-size: 13px; | |
| list-style: none; | |
| @@ -1293,18 +1259,14 @@ | |
| .CodeMirror-hints-wrapper { | |
| background: white; | |
| - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); | |
| - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); | |
| - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); | |
| + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); | |
| margin-left: -6px; | |
| position: absolute; | |
| z-index: 10; | |
| } | |
| .CodeMirror-hints-wrapper .CodeMirror-hints { | |
| - -webkit-box-shadow: none; | |
| - -moz-box-shadow: none; | |
| - box-shadow: none; | |
| + box-shadow: none; | |
| position: relative; | |
| margin-left: 0; | |
| z-index: 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment