Lint the CSS files

This commit is contained in:
oobabooga 2023-10-20 13:02:18 -07:00
parent dedbdb46c2
commit e208128d68
9 changed files with 183 additions and 212 deletions

View file

@ -33,7 +33,7 @@
.text {
/* Change this to move the message box further left or right depending on the size of your profile pic */
padding-left: 90px;
text-shadow: 2px 2px 2px rgb(0, 0, 0, 0.4);
text-shadow: 2px 2px 2px rgb(0 0 0 / 40%);
}
.text p {
@ -44,37 +44,37 @@
padding-left: 10px;
font-size: 22px;
font-weight: bold;
border-top: 1px solid rgb(51, 64, 90);
border-top: 1px solid rgb(51 64 90);
padding: 3px;
}
.message-body {
position: relative;
border-radius: 1rem;
border: 1px solid rgba(255, 255, 255, 0.459);
border: 1px solid rgb(255 255 255 / 45.9%);
border-radius: 10px;
padding: 10px;
padding-top: 5px;
/* Message gradient background color - remove the line bellow if you don't want a background color or gradient */
background: linear-gradient(to bottom, #171730, #1b263f);
}
/* Adds 2 extra lines at the top and bottom of the message */
.message-body:before,
.message-body:after {
.message-body::before,
.message-body::after {
content: "";
position: absolute;
left: 10px;
right: 10px;
height: 1px;
background-color: rgba(255, 255, 255, 0.13);
background-color: rgb(255 255 255 / 13%);
}
.message-body:before {
.message-body::before {
top: 6px;
}
.message-body:after {
.message-body::after {
bottom: 6px;
}
@ -88,15 +88,15 @@
margin-bottom: 0 !important;
font-size: 18px !important;
line-height: 1.428571429 !important;
color: rgb(243, 244, 246) !important;
text-shadow: 2px 2px 2px rgb(0, 0, 0);
color: rgb(243 244 246) !important;
text-shadow: 2px 2px 2px rgb(0 0 0);
}
.message-body p em {
color: rgb(138, 138, 138) !important;
color: rgb(138 138 138) !important;
}
@media screen and (max-width: 688px) {
@media screen and (width <= 688px) {
.message {
display: grid;
grid-template-columns: 60px minmax(0, 1fr);
@ -120,7 +120,7 @@
}
.text {
padding-left: 0px;
padding-left: 0;
}
.message-body p {

View file

@ -14,14 +14,14 @@
.circle-you {
width: 50px;
height: 50px;
background-color: rgb(238, 78, 59);
background-color: rgb(238 78 59);
border-radius: 50%;
}
.circle-bot {
width: 50px;
height: 50px;
background-color: rgb(59, 78, 244);
background-color: rgb(59 78 244);
border-radius: 50%;
}
@ -53,14 +53,14 @@
}
.message-body p:last-child, .chat .message-body ul:last-child, .chat .message-body ol:last-child {
margin-bottom: 0em !important;
margin-bottom: 0 !important;
}
.dark .message-body p em {
color: rgb(138, 138, 138) !important;
color: rgb(138 138 138) !important;
}
.message-body p em {
color: rgb(110, 110, 110) !important;
color: rgb(110 110 110) !important;
font-weight: 500;
}

View file

@ -8,14 +8,14 @@
.circle-you {
width: 50px;
height: 50px;
background-color: rgb(238, 78, 59);
background-color: rgb(238 78 59);
border-radius: 50%;
}
.circle-bot {
width: 50px;
height: 50px;
background-color: rgb(59, 78, 244);
background-color: rgb(59 78 244);
border-radius: 50%;
float: left;
margin-right: 10px;
@ -47,7 +47,7 @@
.circle-you + .text {
float: right;
background-color: rgb(0, 132, 255);
background-color: rgb(0 132 255);
margin-right: 10px;
}
@ -91,9 +91,9 @@
}
.dark .message-body p em {
color: rgb(138, 138, 138) !important;
color: rgb(138 138 138) !important;
}
.message-body p em {
color: rgb(110, 110, 110) !important;
color: rgb(110 110 110) !important;
}

View file

@ -47,9 +47,9 @@
}
.dark .message-body p em {
color: rgb(138, 138, 138) !important;
color: rgb(138 138 138) !important;
}
.message-body p em {
color: rgb(110, 110, 110) !important;
color: rgb(110 110 110) !important;
}

View file

@ -4,42 +4,22 @@
}
#parent #container .reply {
background-color: rgb(214, 218, 240);
border-bottom-color: rgb(183, 197, 217);
border-bottom-style: solid;
border-bottom-width: 1px;
border-image-outset: 0;
border-image-repeat: stretch;
border-image-slice: 100%;
border-image-source: none;
border-image-width: 1;
border-left-color: rgb(0, 0, 0);
border-left-style: none;
border-left-width: 0px;
border-right-color: rgb(183, 197, 217);
border-right-style: solid;
border-right-width: 1px;
border-top-color: rgb(0, 0, 0);
border-top-style: none;
border-top-width: 0px;
color: rgb(0, 0, 0);
background-color: rgb(214 218 240);
border-bottom: 1px solid rgb(183 197 217);
border-image: none 100% 1 0 stretch;
border-left: 0 none rgb(0 0 0);
border-right: 1px solid rgb(183 197 217);
color: rgb(0 0 0);
display: table;
font-family: arial, helvetica, sans-serif;
font-size: 13.3333px;
margin-bottom: 4px;
margin-left: 0px;
margin-right: 0px;
margin-top: 4px;
overflow-x: hidden;
overflow-y: hidden;
padding-bottom: 4px;
padding-left: 2px;
padding-right: 2px;
padding-top: 4px;
margin: 4px 0;
overflow: hidden hidden;
padding: 4px 2px;
}
#parent #container .number {
color: rgb(0, 0, 0);
color: rgb(0 0 0);
font-family: arial, helvetica, sans-serif;
font-size: 13.3333px;
width: 342.65px;
@ -47,23 +27,19 @@
}
#parent #container .op {
color: rgb(0, 0, 0);
color: rgb(0 0 0);
font-family: arial, helvetica, sans-serif;
font-size: 13.3333px;
margin-bottom: 8px;
margin-left: 0px;
margin-right: 0px;
margin-top: 4px;
overflow-x: hidden;
overflow-y: hidden;
margin: 4px 0 8px;
overflow: hidden hidden;
}
#parent #container .op blockquote {
margin-left: 0px !important;
margin-left: 0 !important;
}
#parent #container .name {
color: rgb(17, 119, 67);
color: rgb(17 119 67);
font-family: arial, helvetica, sans-serif;
font-size: 13.3333px;
font-weight: 700;
@ -71,31 +47,24 @@
}
#parent #container .quote {
color: rgb(221, 0, 0);
color: rgb(221 0 0);
font-family: arial, helvetica, sans-serif;
font-size: 13.3333px;
text-decoration-color: rgb(221, 0, 0);
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration: underline solid rgb(221 0 0);
text-decoration-thickness: auto;
}
#parent #container .greentext {
color: rgb(120, 153, 34);
color: rgb(120 153 34);
font-family: arial, helvetica, sans-serif;
font-size: 13.3333px;
}
#parent #container blockquote {
margin: 0px !important;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 40px;
margin-inline-end: 40px;
margin-top: 13.33px !important;
margin-bottom: 13.33px !important;
margin-left: 40px !important;
margin-right: 40px !important;
margin: 0 !important;
margin-block: 1em 1em;
margin-inline: 40px 40px;
margin: 13.33px 40px !important;
}
#parent #container .message_4chan {

View file

@ -21,15 +21,15 @@
}
.message-body p:last-child, .chat .message-body ul:last-child, .chat .message-body ol:last-child {
margin-bottom: 0em !important;
margin-bottom: 0 !important;
}
.dark .message-body p em {
color: rgb(198, 202, 214) !important;
color: rgb(198 202 214) !important;
}
.message-body p em {
color: rgb(110, 110, 110) !important;
color: rgb(110 110 110) !important;
}
.gradio-container .chat .assistant-message {
@ -47,7 +47,7 @@
}
.gradio-container .chat .assistant-message:last-child, .gradio-container .chat .user-message:last-child {
margin-bottom: 0px !important;
margin-bottom: 0 !important;
}
.dark .chat .assistant-message {

View file

@ -2,7 +2,7 @@
max-width: 600px;
margin-left: auto;
margin-right: auto;
background-color: rgb(31, 41, 55);
background-color: rgb(31 41 55);
padding: 3em;
word-break: break-word;
overflow-wrap: anywhere;

View file

@ -145,7 +145,7 @@ div.svelte-15lo0d8 > *, div.svelte-15lo0d8 > .form > * {
color: #efefef !important;
}
@media screen and (max-width: 711px) {
@media screen and (width <= 711px) {
.textbox_default textarea {
height: calc(100dvh - 259px);
}
@ -176,7 +176,7 @@ button {
position: fixed !important;
height: 100%;
z-index: 1000;
background-color: rgba(0, 0, 0, 0.5) !important;
background-color: rgb(0 0 0 / 50%) !important;
margin-left: -20px;
margin-right: -20px;
}
@ -256,14 +256,14 @@ audio {
.token-counter span {
padding: 1px;
box-shadow: 0 0 0 0.3em rgba(192,192,192,0.15), inset 0 0 0.6em rgba(192,192,192,0.075);
border: 2px solid rgba(192,192,192,0.4) !important;
box-shadow: 0 0 0 0.3em rgb(192 192 192 / 15%), inset 0 0 0.6em rgb(192 192 192 / 7.5%);
border: 2px solid rgb(192 192 192 / 40%) !important;
border-radius: 0.4em;
}
.no-background {
background: var(--background-fill-primary) !important;
padding: 0px !important;
padding: 0 !important;
}
/* ----------------------------------------------
@ -313,10 +313,10 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
margin-right: auto;
}
@media screen and (max-width: 688px) {
@media screen and (width <= 688px) {
#chat-tab {
padding-left: 0px;
padding-right: 0px;
padding-left: 0;
padding-right: 0;
}
.chat-parent {
@ -360,8 +360,8 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
}
.chat .message:last-child {
margin-bottom: 0px !important;
padding-bottom: 0px !important;
margin-bottom: 0 !important;
padding-bottom: 0 !important;
}
.message-body li:not(:last-child) {
@ -370,7 +370,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
}
.message-body li:last-child {
margin-bottom: 0px !important;
margin-bottom: 0 !important;
}
.message-body li > p {
@ -390,7 +390,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
}
.message-body pre:last-child {
margin-bottom: 0px !important;
margin-bottom: 0 !important;
}
.message-body code {
@ -468,8 +468,8 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
position: absolute;
height: 100%;
background-color: var(--background-fill-primary);
border: 0px !important;
border-radius: 0px;
border: 0 !important;
border-radius: 0;
}
#show-controls label {
@ -521,9 +521,11 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
0% {
opacity: .1;
}
20% {
opacity: 1;
}
100% {
opacity: .1;
}
@ -544,7 +546,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
bottom: 80%;
left: 0;
background-color: var(--background-fill-secondary);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
box-shadow: 0 0 10px rgb(0 0 0 / 50%);
z-index: 10000;
min-width: 330px;
flex-direction: column;
@ -553,7 +555,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
.hover-menu button {
width: 100%;
background: transparent !important;
border-radius: 0px !important;
border-radius: 0 !important;
justify-content: space-between;
margin: 0 !important;
height: 36px;
@ -610,7 +612,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
}
.old-ui #chat-input-row, #chat-input-row.bigchat {
padding-bottom: 0px !important;
padding-bottom: 0 !important;
}
#chat-col {