Reformat web_config css with prettier

I'm not a fan of how prettier formats code, but this file was a mess
with inconsistent indentation, and the result is okay.

[ci skip]
This commit is contained in:
Fabian Homborg 2020-12-10 16:23:13 +01:00
parent 1d7978d282
commit a4e2a3c049

View file

@ -1,6 +1,7 @@
body {
background: linear-gradient(to bottom, #a7cfdf 0%, #23538a 100%);
font-family: "Source Code Pro", "DejaVu Sans Mono", Menlo, "Ubuntu Mono", Consolas, Monaco, "Lucida Console", monospace, fixed;
font-family: "Source Code Pro", "DejaVu Sans Mono", Menlo, "Ubuntu Mono", Consolas, Monaco,
"Lucida Console", monospace, fixed;
color: #222;
min-height: 100vh; /* at least 1 screen high - to prevent the gradient from running out on a short tab */
width: 90%;
@ -12,7 +13,8 @@ body {
}
code {
font-family: "Source Code Pro", "DejaVu Sans Mono", Menlo, "Ubuntu Mono", Consolas, Monaco, "Lucida Console", monospace, fixed;
font-family: "Source Code Pro", "DejaVu Sans Mono", Menlo, "Ubuntu Mono", Consolas, Monaco,
"Lucida Console", monospace, fixed;
}
@media screen and (max-width: 700px) {
@ -38,7 +40,7 @@ code {
.tab {
display: table-cell;
border: 1px solid #CCC;
border: 1px solid #ccc;
border-right: none;
padding-bottom: 15px;
padding-top: 15px;
@ -129,16 +131,36 @@ code {
* These could be pulled from the current terminal (but the background colour
* might be different), or dynamically from colorutils.js.
*/
.detail_function .fish_color_autosuggestion { color: #555; }
.detail_function .fish_color_command { color: #005fd7; }
.detail_function .fish_color_param { color: #00afff; }
.detail_function .fish_color_redirection { color: #00afff; }
.detail_function .fish_color_comment { color: #990000; }
.detail_function .fish_color_error { color: #ff0000; }
.detail_function .fish_color_escape { color: #00a6b2; }
.detail_function .fish_color_operator { color: #00a6b2; }
.detail_function .fish_color_quote { color: #999900; }
.detail_function .fish_color_statement_terminator { color: #009900; }
.detail_function .fish_color_autosuggestion {
color: #555;
}
.detail_function .fish_color_command {
color: #005fd7;
}
.detail_function .fish_color_param {
color: #00afff;
}
.detail_function .fish_color_redirection {
color: #00afff;
}
.detail_function .fish_color_comment {
color: #990000;
}
.detail_function .fish_color_error {
color: #ff0000;
}
.detail_function .fish_color_escape {
color: #00a6b2;
}
.detail_function .fish_color_operator {
color: #00a6b2;
}
.detail_function .fish_color_quote {
color: #999900;
}
.detail_function .fish_color_statement_terminator {
color: #009900;
}
.master_element {
cursor: pointer;
@ -157,7 +179,7 @@ code {
.selected_master_elem {
border: 1px solid #555;
border-right: none;
background-color: #FFFFFF;
background-color: #ffffff;
border-top-left-radius: 5;
border-bottom-left-radius: 5;
@ -191,11 +213,17 @@ code {
}
/* We have a newline between the label and description; hide it initially, but show it when it's selected */
.master_element > br { display: none; }
.selected_master_elem > br { display: inherit; }
.master_element > br {
display: none;
}
.selected_master_elem > br {
display: inherit;
}
/* Set this class to suppress the border bottom on master_element_texts with visible descriptions */
.master_element_no_border { border-bottom-width: 0 }
.master_element_no_border {
border-bottom-width: 0;
}
.colorpicker_term256 {
border: solid #444 1px;
@ -340,7 +368,8 @@ code {
height: 12px;
}
.colorpicker_text_sample, .colorpicker_text_sample_tight {
.colorpicker_text_sample,
.colorpicker_text_sample_tight {
font-size: 12pt;
padding: 25px;
margin: 5px 20px 25px 20px; /* top right bottom left */
@ -357,7 +386,7 @@ code {
}
.cs_editing {
border: solid 3px #3399FF;
border: solid 3px #3399ff;
padding: 4px;
margin: -7px;
}
@ -396,7 +425,8 @@ code {
cursor: pointer;
}
.color_scheme_choice_label, .prompt_demo_choice_label {
.color_scheme_choice_label,
.prompt_demo_choice_label {
margin-left: 10px;
margin-bottom: 3px;
cursor: pointer;
@ -404,13 +434,15 @@ code {
white-space: normal;
}
.color_scheme_choices_scrollview, .prompt_choices_scrollview {
.color_scheme_choices_scrollview,
.prompt_choices_scrollview {
padding-top: 5px;
overflow-y: scroll;
max-height: 70vh; /* fill out roughly the rest of the screen once scrolled to the preview */
}
.color_scheme_choices_list, .prompt_choices_list {
.color_scheme_choices_list,
.prompt_choices_list {
overflow-y: hidden; /* makes our height account for floats */
padding: 0 10px 15px 10px; /* top right bottom left */
bottom: 0px;
@ -457,7 +489,8 @@ img.delete_icon {
font-weight: bold;
}
.prompt_demo, .current_prompt {
.prompt_demo,
.current_prompt {
background-color: #000;
font-size: 12pt;
padding: 25px;
@ -473,7 +506,7 @@ img.delete_icon {
}
.prompt_demo {
color: #AAA;
color: #aaa;
white-space: pre;
}
@ -483,7 +516,11 @@ img.delete_icon {
padding-bottom: 0;
}
.save_button, .prompt_save_button, .colors_close_button, .customize_theme_button, .generic_button {
.save_button,
.prompt_save_button,
.colors_close_button,
.customize_theme_button,
.generic_button {
border-radius: 5px;
border: solid rgba(71, 71, 71, 0.5) 1px;
padding: 5px 8px;
@ -491,16 +528,18 @@ img.delete_icon {
display: inline-block;
margin-top: 12px;
background-color: rgba(128, 128, 128, 0.4);
color: #FFF;
color: #fff;
cursor: pointer;
}
.save_button:hover, .customize_theme_button:hover, .generic_button:hover {
.save_button:hover,
.customize_theme_button:hover,
.generic_button:hover {
border-color: rgba(71, 71, 71, 0.9);
}
.button_highlight {
background-color: rgba(128,128,128,0.6)
background-color: rgba(128, 128, 128, 0.6);
}
.prompt_save_button {
@ -559,19 +598,20 @@ img.delete_icon {
padding: 8px;
}
.paginator .prev, .paginator .next {
.paginator .prev,
.paginator .next {
font-size: 11pt;
}
.paginator a {
text-decoration: none;
text-align: center;
color: #0080AA;
color: #0080aa;
font-size: larger;
}
.paginator .disabled a {
color: #BBB;
color: #bbb;
background-color: transparent;
cursor: default;
}