mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-25 16:24:27 +08:00
Merge pull request #5152 from sboursen-scinote/sb_SCI-8108
CSS: Protocol template - Details (update) [SCI-8108]
This commit is contained in:
commit
0ffcc5e49c
2 changed files with 29 additions and 9 deletions
|
@ -129,6 +129,14 @@
|
|||
.sci-inline-edit__view,
|
||||
textarea {
|
||||
padding-left: 10px;
|
||||
|
||||
&::placeholder {
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
|
||||
.sci-inline-edit__view.blank {
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -150,19 +158,29 @@
|
|||
margin-left: 0;
|
||||
}
|
||||
|
||||
&:not(.active) {
|
||||
.input-field {
|
||||
border-color: transparent;
|
||||
&:not(.disabled) {
|
||||
&:not(.active) {
|
||||
.input-field {
|
||||
border-color: transparent;
|
||||
|
||||
&:hover {
|
||||
border: 1px solid $color-alto;
|
||||
&:hover {
|
||||
border: 1px solid $color-alto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
.input-field {
|
||||
border: 1px solid $brand-focus;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
.input-field {
|
||||
border: 1px solid $brand-focus;
|
||||
&.disabled {
|
||||
.input-field,
|
||||
.input-field:hover,
|
||||
.input-field:active {
|
||||
border-color: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -58,7 +58,9 @@
|
|||
</p>
|
||||
<p class="data-block keywords-data">
|
||||
<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
|
||||
:inputTagMode="true"
|
||||
:options="this.protocol.attributes.keywords"
|
||||
|
|
Loading…
Reference in a new issue