style.css 2.3 KB
Newer Older
pythongosssss's avatar
pythongosssss committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
body {
	width: 100vw;
	height: 100vh;
	margin: 0;
	overflow: hidden;
}

#graph-canvas {
	width: 100%;
	height: 100%;
}

.comfy-multiline-input {
	background-color: #ffffff;
	overflow: hidden;
	overflow-y: auto;
	padding: 2px;
	resize: none;
	border: none;
}

.comfy-modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 100; /* Sit on top */
	padding: 30px 30px 10px 30px;
	background-color: #ff0000; /* Modal background */
	box-shadow: 0px 0px 20px #888888;
	border-radius: 10px;
	text-align: center;
	top: 50%;
	left: 50%;
	max-width: 80vw;
	max-height: 80vh;
	transform: translate(-50%, -50%);
	overflow: hidden;
pythongosssss's avatar
pythongosssss committed
37
38
	min-width: 60%;
	justify-content: center;
pythongosssss's avatar
pythongosssss committed
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
}

.comfy-modal-content {
	display: flex;
	flex-direction: column;
}

.comfy-modal p {
	overflow: auto;
	white-space: pre-line; /* This will respect line breaks */
	margin-bottom: 20px; /* Add some margin between the text and the close button*/
}

.comfy-modal button {
	cursor: pointer;
	color: #aaaaaa;
	border: none;
	background-color: transparent;
	font-size: 24px;
	font-weight: bold;
	width: 100%;
}

.comfy-modal button:hover,
.comfy-modal button:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

pythongosssss's avatar
pythongosssss committed
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
.comfy-menu {
	width: 200px;
	font-size: 15px;
	position: absolute;
	top: 50%;
	right: 0%;
	background-color: white;
	text-align: center;
	z-index: 100;
	width: 170px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

pythongosssss's avatar
pythongosssss committed
84
85
86
87
.comfy-menu button {
	font-size: 20px;
}

pythongosssss's avatar
pythongosssss committed
88
89
.comfy-menu-btns {
	margin-bottom: 10px;
pythongosssss's avatar
pythongosssss committed
90
	width: 100%;
pythongosssss's avatar
pythongosssss committed
91
92
}

pythongosssss's avatar
pythongosssss committed
93
.comfy-menu-btns button {
pythongosssss's avatar
pythongosssss committed
94
95
96
97
	font-size: 10px;
	width: 50%;
}

pythongosssss's avatar
pythongosssss committed
98
99
.comfy-queue-btn {
	width: 100%;
pythongosssss's avatar
pythongosssss committed
100
101
}

pythongosssss's avatar
pythongosssss committed
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
.comfy-list {
	background-color: rgb(225, 225, 225);
	margin-bottom: 10px;
}

.comfy-list-items {
	overflow-y: scroll;
	max-height: 100px;
	background-color: #d0d0d0;
	padding: 5px;
}

.comfy-list h4 {
	min-width: 160px;
	margin: 0;
	padding: 3px;
	font-weight: normal;
}

.comfy-list-items button {
	font-size: 10px;
}

.comfy-list-actions {
	margin: 5px;
	display: flex;
	gap: 5px;
	justify-content: center;
}

.comfy-list-actions button {
	font-size: 12px;
pythongosssss's avatar
pythongosssss committed
134
135
}

pythongosssss's avatar
pythongosssss committed
136
137
138
139
140
141
142
143
144
145
146
@media (prefers-color-scheme: dark) {
	body {
		background-color: #202020;
	}
	.comfy-multiline-input {
		background-color: #202020;
		color: white;
	}
}

@media only screen and (max-height: 850px) {
pythongosssss's avatar
pythongosssss committed
147
	.comfy-menu {
pythongosssss's avatar
pythongosssss committed
148
149
150
		margin-top: -70px;
	}
}