-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #123 from crystian/horizontalUI
Horizontal UI
- Loading branch information
Showing
21 changed files
with
1,212 additions
and
712 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version = "1.17.0" | ||
version = "1.18.0" |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.17.0 | ||
1.18.0 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,72 +1,183 @@ | ||
#crystools-root { | ||
.comfy-menu #crystools-root { | ||
/*background-color: red;*/ | ||
box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3); | ||
background-color: var(--comfy-menu-bg); | ||
border-radius: 8px; | ||
border: 1px solid var(--border-color); | ||
display: flex; | ||
width: 100%; | ||
flex-direction: column; | ||
margin: 7px; | ||
padding: 5px 0; | ||
gap: 5px; | ||
|
||
.crystools-monitor-container { | ||
width: 100%; | ||
cursor: crosshair; | ||
order: 3; | ||
margin: 4px 0; | ||
/*margin: 4px 0;*/ | ||
display: flex; /* by progress bar base */ | ||
flex-wrap: wrap; | ||
flex-direction: column; | ||
|
||
.crystools-monitor { | ||
margin: 2px 10px; | ||
margin: 1px 10px; | ||
height: 12px; | ||
position: relative; | ||
display: flex; | ||
align-items: center; | ||
flex-direction: row; | ||
} | ||
|
||
.crystools-text { | ||
width: 35px; | ||
font-size: 10px; | ||
.crystools-text { | ||
width: 40px; | ||
font-size: 10px; | ||
text-align: right; | ||
margin-right: 3px; | ||
|
||
&:hover { | ||
font-weight: 600; | ||
color: var(--input-text); | ||
} | ||
} | ||
|
||
.crystools-label { | ||
&:hover { | ||
font-weight: 800; | ||
color: var(--input-text); | ||
} | ||
} | ||
} | ||
|
||
.crystools-content { | ||
height: 100%; | ||
flex-grow: 1; | ||
position: relative; | ||
background-color: var(--bg-color); | ||
background-color: var(--content-hover-bg) | ||
} | ||
|
||
.crystools-slider { | ||
position: absolute; | ||
height: 100%; | ||
width: 0; | ||
box-shadow: inset 2px 2px 10px rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
.crystools-label { | ||
position: relative; | ||
width: 100%; | ||
color: var(--drag-text); | ||
color: var(--input-text); | ||
font-size: 10px; | ||
} | ||
|
||
.crystools-progress-bar { | ||
cursor: pointer; | ||
margin: 0 2px; | ||
margin: 0 9px 0; | ||
height: 18px; | ||
position: relative; | ||
background-color: var(--bg-color); | ||
border-radius: 3px; | ||
background-color: var(--comfy-input-bg); | ||
|
||
.crystools-slider { | ||
position: absolute; | ||
height: 100%; | ||
width: 0; | ||
width: 50%; | ||
transition: width 0.2s; | ||
background-color: green; | ||
box-shadow: inset 2px 2px 10px rgba(0, 0, 0, 0.3); | ||
} | ||
|
||
.crystools-label { | ||
position: absolute; | ||
margin: auto 0; | ||
width: 100%; | ||
color: var(--drag-text); | ||
color: var(--input-text); | ||
font-size: 14px; | ||
} | ||
} | ||
} | ||
|
||
} | ||
|
||
|
||
.comfyui-menu #crystools-root { | ||
/*background-color: red;*/ | ||
display: flex; | ||
flex-direction: row; | ||
flex-shrink: 1; | ||
/*flex-grow: 1;*/ | ||
justify-content: center; | ||
/*width: 100%;*/ | ||
gap: 5px; | ||
height: 100%; | ||
/*margin: 0 auto;*/ | ||
/*align-items: center;*/ | ||
/*align-self: center;*/ | ||
|
||
.crystools-monitor-container { | ||
/*background-color: var(--comfy-menu-bg);*/ | ||
/*width: 100%;*/ | ||
cursor: crosshair; | ||
/*margin: 4px 0;*/ | ||
display: flex; /* by progress bar base */ | ||
flex-wrap: wrap; | ||
flex-direction: row; | ||
justify-content: flex-end; | ||
align-items: center; | ||
height: 100%; | ||
max-width: 600px; | ||
min-width: 300px; | ||
gap: 5px; | ||
|
||
.crystools-monitor { | ||
background-color: var(--comfy-input-bg); | ||
position: relative; | ||
align-items: center; | ||
flex-direction: row; | ||
/*width: 60px;*/ | ||
/*height: 100%;*/ | ||
|
||
.crystools-text { | ||
font-size: 10px; | ||
text-align: right; | ||
margin-left: 3px; | ||
position: absolute; | ||
bottom: 2px; | ||
z-index: 10; | ||
|
||
/*&:hover {*/ | ||
/* font-weight: 600;*/ | ||
/* color: var(--input-text);*/ | ||
/*}*/ | ||
} | ||
|
||
/*.crystools-label {*/ | ||
/* &:hover {*/ | ||
/* font-weight: 800;*/ | ||
/* color: var(--input-text);*/ | ||
/* }*/ | ||
/*}*/ | ||
} | ||
|
||
.crystools-content { | ||
height: 30px; | ||
width: 56px; | ||
position: relative; | ||
} | ||
|
||
.crystools-slider { | ||
position: absolute; | ||
height: 100%; | ||
width: 0; | ||
box-shadow: inset 2px 2px 10px rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
.crystools-label { | ||
position: relative; | ||
width: 100%; | ||
color: var(--input-text); | ||
font-size: 12px; | ||
right: 2px; | ||
top: 2px; | ||
text-align: right; | ||
} | ||
} | ||
} |
Oops, something went wrong.