diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-25 05:40:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 05:40:12 +0000 |
commit | 16416e42b5d06c7c580e12dab427e29750146604 (patch) | |
tree | ebe736abe4098fe25ba8536533b6a7d583124cef /style.css | |
parent | 734986dde3231416813f827242c111da212b2ccb (diff) | |
parent | 77a320f406a76425176b8ca4c034c362b6734713 (diff) | |
download | stable-diffusion-webui-gfx803-16416e42b5d06c7c580e12dab427e29750146604.tar.gz stable-diffusion-webui-gfx803-16416e42b5d06c7c580e12dab427e29750146604.tar.bz2 stable-diffusion-webui-gfx803-16416e42b5d06c7c580e12dab427e29750146604.zip |
Merge branch 'master' into on-image-saved-callback
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 74 |
1 files changed, 74 insertions, 0 deletions
@@ -515,3 +515,77 @@ img2maskimg, #img2maskimg > .h-60, #img2maskimg > .h-60 > div, #img2maskimg > .h max-height: 480px !important;
min-height: 480px !important;
}
+
+/* The following handles localization for right-to-left (RTL) languages like Arabic.
+The rtl media type will only be activated by the logic in javascript/localization.js.
+If you change anything above, you need to make sure it is RTL compliant by just running
+your changes through converters like https://cssjanus.github.io/ or https://rtlcss.com/.
+Then, you will need to add the RTL counterpart only if needed in the rtl section below.*/
+@media rtl {
+ /* this part was manualy added */
+ :host {
+ direction: rtl;
+ }
+ .output-html:has(.performance), .gr-text-input {
+ direction: ltr;
+ }
+ .gr-radio, .gr-checkbox{
+ margin-left: 0.25em;
+ }
+
+ /* this part was automatically generated with few manual modifications */
+ .performance .time {
+ margin-right: unset;
+ margin-left: 0;
+ }
+ .justify-center.overflow-x-scroll {
+ justify-content: right;
+ }
+ .justify-center.overflow-x-scroll button:first-of-type {
+ margin-left: unset;
+ margin-right: auto;
+ }
+ .justify-center.overflow-x-scroll button:last-of-type {
+ margin-right: unset;
+ margin-left: auto;
+ }
+ #settings fieldset span.text-gray-500, #settings .gr-block.gr-box span.text-gray-500, #settings label.block span{
+ margin-right: unset;
+ margin-left: 8em;
+ }
+ #txt2img_progressbar, #img2img_progressbar, #ti_progressbar{
+ right: unset;
+ left: 0;
+ }
+ .progressDiv .progress{
+ padding: 0 0 0 8px;
+ text-align: left;
+ }
+ #lightboxModal{
+ left: unset;
+ right: 0;
+ }
+ .modalPrev, .modalNext{
+ border-radius: 3px 0 0 3px;
+ }
+ .modalNext {
+ right: unset;
+ left: 0;
+ border-radius: 0 3px 3px 0;
+ }
+ #imageARPreview{
+ left:unset;
+ right:0px;
+ }
+ #txt2img_skip, #img2img_skip{
+ right: unset;
+ left: 0px;
+ }
+ #context-menu{
+ box-shadow:-1px 1px 2px #CE6400;
+ }
+ .gr-box > div > div > input.gr-text-input{
+ right: unset;
+ left: 0.5em;
+ }
+}
|