Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloSzx committed Aug 18, 2021
1 parent 3adad47 commit 0bb3404
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 29 deletions.
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ deno_dist
dist
node_modules
package-lock.json
css
*.min.js
66 changes: 38 additions & 28 deletions packages/graphiql/browser/css/graphiql.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
.graphiql-container button,
.graphiql-container input {
color: #141823;
font-family: system, -apple-system, San Francisco, \.SFNSDisplay-Regular, Segoe UI, Segoe, Segoe WP, Helvetica Neue, helvetica,
Lucida Grande, arial, sans-serif;
font-family: system, -apple-system, San Francisco, \.SFNSDisplay-Regular,
Segoe UI, Segoe, Segoe WP, Helvetica Neue, helvetica, Lucida Grande, arial,
sans-serif;
font-size: 14px;
}
.graphiql-container {
Expand Down Expand Up @@ -71,7 +72,7 @@
.graphiql-container .docExplorerShow:before {
border-left: 2px solid #3b5998;
border-top: 2px solid #3b5998;
content: '';
content: "";
display: inline-block;
height: 9px;
margin: 0 3px -1px 0;
Expand Down Expand Up @@ -163,7 +164,7 @@
.graphiql-container .footer:before {
background: #eee;
bottom: 0;
content: ' ';
content: " ";
left: -13px;
position: absolute;
top: -1px;
Expand All @@ -187,7 +188,8 @@
background: linear-gradient(#f9f9f9, #ececec);
border: 0;
border-radius: 3px;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2), 0 1px 0 hsla(0, 0%, 100%, 0.7), inset 0 1px #fff;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2), 0 1px 0 hsla(0, 0%, 100%, 0.7),
inset 0 1px #fff;
color: #555;
cursor: pointer;
display: inline-block;
Expand All @@ -200,8 +202,8 @@
}
.graphiql-container .toolbar-button:active {
background: linear-gradient(#ececec, #d5d5d5);
box-shadow: 0 1px 0 hsla(0, 0%, 100%, 0.7), inset 0 0 0 1px rgba(0, 0, 0, 0.1), inset 0 1px 1px 1px rgba(0, 0, 0, 0.12),
inset 0 0 5px rgba(0, 0, 0, 0.1);
box-shadow: 0 1px 0 hsla(0, 0%, 100%, 0.7), inset 0 0 0 1px rgba(0, 0, 0, 0.1),
inset 0 1px 1px 1px rgba(0, 0, 0, 0.12), inset 0 0 5px rgba(0, 0, 0, 0.1);
}
.graphiql-container .toolbar-button.error {
background: linear-gradient(#fdf3f3, #e6d6d7);
Expand Down Expand Up @@ -245,7 +247,8 @@
}
.graphiql-container .execute-button:active {
background: linear-gradient(#e6e6e6, #c3c3c3);
box-shadow: 0 1px 0 #fff, inset 0 0 2px rgba(0, 0, 0, 0.2), inset 0 0 6px rgba(0, 0, 0, 0.1);
box-shadow: 0 1px 0 #fff, inset 0 0 2px rgba(0, 0, 0, 0.2),
inset 0 0 6px rgba(0, 0, 0, 0.1);
}
.graphiql-container .toolbar-menu,
.graphiql-container .toolbar-select {
Expand Down Expand Up @@ -340,8 +343,9 @@
box-orient: vertical;
color: #141823;
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-family: system, -apple-system, San Francisco, \.SFNSDisplay-Regular,
Segoe UI, Segoe, Segoe WP, Helvetica Neue, helvetica, Lucida Grande, arial,
sans-serif;
font-size: 13px;
line-clamp: 3;
line-height: 16px;
Expand Down Expand Up @@ -815,7 +819,7 @@ div.CodeMirror-dragcursors {
}
}
.cm-tab-wrap-hack:after {
content: '';
content: "";
}
span.CodeMirror-selectedtext {
background: none;
Expand Down Expand Up @@ -854,7 +858,8 @@ span.CodeMirror-selectedtext {
cursor: pointer;
font-family: arial;
line-height: 0.3;
text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px,
#b9f -1px 1px 2px;
}
.CodeMirror-foldgutter {
width: 0.7em;
Expand All @@ -864,19 +869,20 @@ span.CodeMirror-selectedtext {
cursor: pointer;
}
.CodeMirror-foldgutter-open:after {
content: '\25BE';
content: "\25BE";
}
.CodeMirror-foldgutter-folded:after {
content: '\25B8';
content: "\25B8";
}
.CodeMirror-info {
background: #fff;
border-radius: 2px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
box-sizing: border-box;
color: #555;
font-family: system, -apple-system, San Francisco, \.SFNSDisplay-Regular, Segoe UI, Segoe, Segoe WP, Helvetica Neue, helvetica,
Lucida Grande, arial, sans-serif;
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;
line-height: 16px;
margin: 8px -8px;
Expand Down Expand Up @@ -979,10 +985,10 @@ span.CodeMirror-selectedtext {
background-repeat: repeat-x;
}
.CodeMirror-lint-mark-error {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==');
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==");
}
.CodeMirror-lint-mark-warning {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=');
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=");
}
.CodeMirror-lint-marker-error,
.CodeMirror-lint-marker-warning {
Expand All @@ -1003,14 +1009,14 @@ span.CodeMirror-selectedtext {
}
.CodeMirror-lint-marker-error,
.CodeMirror-lint-message-error {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=');
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=");
}
.CodeMirror-lint-marker-warning,
.CodeMirror-lint-message-warning {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=');
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=");
}
.CodeMirror-lint-marker-multiple {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC');
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC");
background-position: 100% 100%;
background-repeat: no-repeat;
width: 100%;
Expand Down Expand Up @@ -1089,8 +1095,9 @@ li.CodeMirror-hint-active {
background: #fffae8;
box-shadow: inset 0 1px 1px -1px #bfb063;
color: #867f70;
font-family: system, -apple-system, San Francisco, \.SFNSDisplay-Regular, Segoe UI, Segoe, Segoe WP, Helvetica Neue, helvetica,
Lucida Grande, arial, sans-serif;
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;
line-height: 16px;
margin-top: 4px;
Expand Down Expand Up @@ -1158,7 +1165,7 @@ li.CodeMirror-hint-active {
.graphiql-container .doc-explorer-back:before {
border-left: 2px solid #3b5998;
border-top: 2px solid #3b5998;
content: '';
content: "";
display: inline-block;
height: 9px;
margin: 0 3px -1px 0;
Expand Down Expand Up @@ -1277,7 +1284,7 @@ li.CodeMirror-hint-active {
margin: inherit;
}
.graphiql-container .arg:first-child:nth-last-child(2):after {
content: ', ';
content: ", ";
}
.graphiql-container .arg-default-value {
color: #43a047;
Expand All @@ -1294,7 +1301,7 @@ li.CodeMirror-hint-active {
border-radius: 3px;
}
.graphiql-container .doc-deprecation:before {
content: 'Deprecated:';
content: "Deprecated:";
color: #c79b2e;
cursor: default;
display: block;
Expand Down Expand Up @@ -1397,7 +1404,10 @@ li.CodeMirror-hint-active {
display: none;
margin-left: 10px;
}
.graphiql-container .history-contents li:focus-within button:not(.history-label),
.graphiql-container
.history-contents
li:focus-within
button:not(.history-label),
.graphiql-container .history-contents li:hover button:not(.history-label) {
display: inline-block;
}
Expand Down Expand Up @@ -1440,7 +1450,7 @@ li.CodeMirror-hint-active {
background: rgb(241, 241, 241);
width: 100%;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2),
0 1px 0 rgba(255, 255, 255, 0.7), inset 0 1px #fff;
0 1px 0 rgba(255, 255, 255, 0.7), inset 0 1px #fff;
color: #555;
}

Expand Down

0 comments on commit 0bb3404

Please sign in to comment.