mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-11 23:54:43 +08:00
Fix styles when protocol is published [SCI-8108]
This commit is contained in:
parent
697cf6f19a
commit
d49a992dd4
2 changed files with 29 additions and 9 deletions
|
@ -122,6 +122,14 @@
|
||||||
.sci-inline-edit__view,
|
.sci-inline-edit__view,
|
||||||
textarea {
|
textarea {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
|
|
||||||
|
&::placeholder {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.sci-inline-edit__view.blank {
|
||||||
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -143,19 +151,29 @@
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:not(.active) {
|
&:not(.disabled) {
|
||||||
.input-field {
|
&:not(.active) {
|
||||||
border-color: transparent;
|
.input-field {
|
||||||
|
border-color: transparent;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
border: 1px solid $color-alto;
|
border: 1px solid $color-alto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.active {
|
||||||
|
.input-field {
|
||||||
|
border: 1px solid $brand-focus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.disabled {
|
||||||
.input-field {
|
.input-field,
|
||||||
border: 1px solid $brand-focus;
|
.input-field:hover,
|
||||||
|
.input-field:active {
|
||||||
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,7 +57,9 @@
|
||||||
</p>
|
</p>
|
||||||
<p class="data-block keywords-data">
|
<p class="data-block keywords-data">
|
||||||
<span>{{ i18n.t("protocols.header.keywords") }}</span>
|
<span>{{ i18n.t("protocols.header.keywords") }}</span>
|
||||||
<span class="keywords-list">
|
<span
|
||||||
|
class="keywords-list"
|
||||||
|
v-if="protocol.attributes.urls.update_protocol_authors_url || protocol.attributes.keywords.length">
|
||||||
<DropdownSelector
|
<DropdownSelector
|
||||||
:inputTagMode="true"
|
:inputTagMode="true"
|
||||||
:options="this.protocol.attributes.keywords"
|
:options="this.protocol.attributes.keywords"
|
||||||
|
|
Loading…
Add table
Reference in a new issue