OCEANAI / app.css
ElenaRyumina's picture
v0.8.0 (#8)
1bf4da3 verified
raw
history blame
3.12 kB
.noti_err {
color: #B42E2C;
}
.noti_true {
color: #006900;
}
div.video-container {
height: 350px;
max-height: 350px;
}
div.video-sorted-container {
max-width: 640px;
max-height: 350px;
}
div.files-container {
height: 350px;
max-height: 350px;
}
div.files-container:hover label[data-testid="block-label"] {
display: none;
}
.dataframe div.table-wrap {
height: auto !important;
}
div.files-container div.file-preview-holder {
overflow-y: scroll;
height: 100%;
}
div.files-container label[data-testid="block-label"] {
position: absolute;
}
.calculate_oceanai,
.calculate_practical_task {
display: inline-block;
padding: 10px 20px;
font-size: 16px;
font-weight: bold;
text-align: center;
text-decoration: none;
cursor: pointer;
border: var(--button-border-width) solid var(--button-primary-border-color);
background: var(--button-primary-background-fill);
color: var(--button-primary-text-color);
border-radius: 8px;
transition: all 0.3s ease;
}
.examples_oceanai, .clear_oceanai {
display: inline-block;
padding: 10px 20px;
font-size: 16px;
font-weight: bold;
text-align: center;
text-decoration: none;
cursor: pointer;
border-radius: 8px;
transition: all 0.3s ease;
}
.calculate_oceanai[disabled],
.calculate_practical_task[disabled],
.examples_oceanai[disabled],
.clear_oceanai[disabled] {
cursor: not-allowed;
opacity: 0.6;
}
.calculate_oceanai:hover:not([disabled]),
.calculate_practical_task:hover:not([disabled]) {
border-color: var(--button-primary-border-color-hover);
background: var(--button-primary-background-fill-hover);
color: var(--button-primary-text-color-hover);
}
.calculate_oceanai:active:not([disabled]),
.calculate_practical_task:active:not([disabled]),
.examples_oceanai:active:not([disabled]),
.clear_oceanai:active:not([disabled]) {
transform: scale(0.98);
}
.settings-container {
max-width: fit-content;
}
.number-container {
max-width: fit-content;
min-width: fit-content !important;
}
.dropdown-container {
max-width: fit-content;
}
.dropdown-language-container {
display: contents;
}
.dropdown-container > div > span[data-testid="block-info"] + div {
min-width: max-content;
}
div.gradio-container > div.main > div.wrap > div.contain > #component-0 > div.form {
display: flex;
width: fit-content;
float: left;
right: 0px;
position: absolute;
z-index: 2;
}
div.gradio-container > div.main > div.wrap > div.contain > #component-0 > div.tabs {
margin-top: 20px;
}
div.dataframe span.wrapper_mbti {
display: inline-block;
border-radius: 2px;
overflow: hidden;
}
div.dataframe span.wrapper_mbti > span.true, div.dataframe span.wrapper_mbti > span.err {
color: #FFFFFF;
display: inline-block;
padding: 2px;
}
div.dataframe span.wrapper_mbti > span.true {
background-color: #006900;
}
div.dataframe span.wrapper_mbti > span.err {
background-color: #B42E2C;
}
div.mbti-dataframe div.table-wrap {
--cell-width-0: 260px !important;
}