Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add generic font fallbacks & prune some unused styles #294

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 4 additions & 27 deletions css/litegraph-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,11 @@

background-color: #333;
color: #eee;
font: 14px Tahoma;
font: 14px "Tahoma", sans-serif;

position: relative;
}

.litegraph-editor h1 {
font-family: "Metro Light", Tahoma;
color: #ddd;
font-size: 28px;
padding-left: 10px;
/*text-shadow: 0 1px 1px #333, 0 -1px 1px #777;*/
margin: 0;
font-weight: normal;
}

.litegraph-editor h1 span {
font-family: "Arial";
font-size: 14px;
font-weight: normal;
color: #aaa;
}

.litegraph-editor h2 {
font-family: "Metro Light";
padding: 5px;
margin-left: 10px;
}

.litegraph-editor * {
box-sizing: border-box;
-moz-box-sizing: border-box;
Expand Down Expand Up @@ -85,7 +62,7 @@
position: absolute;
top: 2px;
right: 2px;
font-family: "Tahoma";
font-family: "Tahoma", sans-serif;
font-size: 14px;
color: #aaa;
cursor: pointer;
Expand Down Expand Up @@ -160,7 +137,7 @@
/* METER *********************/

.litegraph-editor .loadmeter {
font-family: "Tahoma";
font-family: "Tahoma", sans-serif;
color: #aaa;
font-size: 12px;
border-radius: 2px;
Expand Down Expand Up @@ -198,7 +175,7 @@
width: 100%;
background-color: black;
padding: 4px;
font: 16px monospace;
font: 16px "Consolas", monospace;
overflow: auto;
resize: none;
outline: none;
Expand Down
12 changes: 6 additions & 6 deletions css/litegraph.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
-moz-user-select: none;
-webkit-user-select: none;
outline: none;
font-family: Tahoma, sans-serif;
font-family: "Tahoma", sans-serif;
}

.lgraphcanvas * {
box-sizing: border-box;
}

.litegraph.litecontextmenu {
font-family: Tahoma, sans-serif;
font-family: "Tahoma", sans-serif;
position: fixed;
top: 100px;
left: 100px;
Expand Down Expand Up @@ -50,7 +50,7 @@
}

.litegraph .litemenubar ul {
font-family: Tahoma, sans-serif;
font-family: "Tahoma", sans-serif;
margin: 0;
padding: 0;
}
Expand Down Expand Up @@ -168,7 +168,7 @@
}

.litegraph.litesearchbox {
font-family: Tahoma, sans-serif;
font-family: "Tahoma", sans-serif;
position: absolute;
background-color: rgba(0, 0, 0, 0.5);
padding-top: 4px;
Expand Down Expand Up @@ -200,7 +200,7 @@
}

.litegraph.lite-search-item {
font-family: Tahoma, sans-serif;
font-family: "Tahoma", sans-serif;
background-color: rgba(0, 0, 0, 0.5);
color: white;
padding-top: 2px;
Expand Down Expand Up @@ -284,7 +284,7 @@
.litegraph .dialog .dialog-footer { height: 50px; padding: 10px; border-top: 1px solid #1a1a1a;}

.litegraph .dialog .dialog-header .dialog-title {
font: 20px "Arial";
font: 20px "Arial", sans-serif;
margin: 4px;
padding: 4px 10px;
display: inline-block;
Expand Down
12 changes: 2 additions & 10 deletions editor/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,7 @@ html,body {
body {
background-color: #333;
color: #EEE;
font: 14px Tahoma;
}

h1 {
font-family: "Metro Light",Tahoma;
}

h2 {
font-family: "Metro Light";
font: 14px "Tahoma", sans-serif;
}

#main {
Expand Down Expand Up @@ -131,7 +123,7 @@ label {
/*border-radius: 4px;*/
padding: 2px;
/*box-shadow: inset 0 0 3px #333; */
font-family: Verdana;
font-family: "Verdana", sans-serif;
width: 250px;
}

Expand Down