sygil-webui/frontend/css/styles.css

99 lines
2.1 KiB
CSS
Raw Normal View History

2022-09-26 16:02:48 +03:00
/*
This file is part of sygil-webui (https://github.com/Sygil-Dev/sygil-webui/).
2022-09-26 16:02:48 +03:00
Copyright 2022 Sygil-Dev team.
2022-09-26 16:02:48 +03:00
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
[data-testid="image"] {min-height: 512px !important}
* #body>.col:nth-child(2){
width:250%;
max-width:89vw
}
[Various Changes] GoBig fixes, model loading unloading and more (#553) * added image lab * first release model loading/unloading and save procedure added, commented out unused code from frontend * bug fixes Changed the image output to a gallery to display multiple items Fixed results not showing up in output Fixed RealESRGAN 2x mode not working and hard coded the default value for the reload. * added GoBig model check * added LDSR load check * removed global statements, added model loader/unloader function * fixed optimized mode * update * update Added send to lab button Added a print out if latent-diffusion folder isn't found * brought back the fix faces and upscale in generation tab * uncommenting img lab flag * added LDSR instructions * default imgProcessorTask set to false * exposed LDSR settings to lab users need to reclone the LDSR repo to use them. * Update frontend.py moving some stuff around to make them more coherent * restored upscale and fix faces to img2img * added notice section * fixed gfpgan/upscaled pictures not showing in 2img interfaces * send to lab button now sends info as well * uncommented dimension info update * added increment buttons to sampler for that k_euler_a action * image lab settings toggle on and off with selection * removed wip settings panel * better model loading handling and removed increment buttons * explaining * disabled SD unloading in image lab upscaling with realesgan and face fix * fixed a conflict with image lab Co-authored-by: dr3amer <91037083+dr3am37@users.noreply.github.com> Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
2022-09-03 11:07:17 +03:00
#increment_btn_minus {
align-self: center;
background: none;
border: none;
}
#increment_btn_plus {
align-self: center;
background: none;
border: none;
}
#prompt_input, #img2img_prompt_input {
padding: 0px;
border: none;
}
#prompt_row input,
#prompt_row textarea {
font-size: 1.2rem;
line-height: 1.6rem;
}
2022-08-30 17:47:38 +03:00
input[type=number]:disabled { -moz-appearance: textfield; }
#generate, #img2img_mask_btn, #img2img_edit_btn {
align-self: stretch;
}
2022-08-31 16:34:50 +03:00
#gan_image {
width: 512px;
height: auto;
}
[id$="highlight"]{
font-size: 1.2rem
}
[id$="highlight"] .uppercase{
text-transform: initial;
}
[id$="highlight"] .textfield .textspan:nth-child(1){
font-size: 1.2rem
}
/* Mobile fixes and styles */
@media only screen and (max-width: 768px) {
/* rearrange the columns on mobile */
#body>.col:nth-child(2){
width:100%;
max-width:100vw;
order: 1;
}
#body>.col:nth-child(1){
order: 2;
}
#body>.col:nth-child(3){
order: 3;
}
#txt2img_actions_row,
#txt2img_output_row{
flex-direction: row;
flex-wrap: wrap-reverse;
}
/* fix buttons layouts */
}
/* Gradio 3.4 FIXES */
#prompt_row button {
max-width: 20ch;
}
#text2img_col2 {
flex-grow: 2 !important;
}