diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-10-16 15:00:55 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-10-16 15:00:55 +0900 |
| commit | aee816ced93e412c4ef918e77c928649b2e4dd21 (patch) | |
| tree | 0ae6b473231bfb98449a973135b5e73225bbeb5d /src/client/components | |
| parent | :art: (diff) | |
| download | sharkey-aee816ced93e412c4ef918e77c928649b2e4dd21.tar.gz sharkey-aee816ced93e412c4ef918e77c928649b2e4dd21.tar.bz2 sharkey-aee816ced93e412c4ef918e77c928649b2e4dd21.zip | |
:art:
Diffstat (limited to 'src/client/components')
| -rw-r--r-- | src/client/components/post-form.vue | 3 | ||||
| -rw-r--r-- | src/client/components/ui/button.vue | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/client/components/post-form.vue b/src/client/components/post-form.vue index 7b4c5db46b..a1d89d2a2e 100644 --- a/src/client/components/post-form.vue +++ b/src/client/components/post-form.vue @@ -18,7 +18,7 @@ <span v-if="visibility === 'specified'"><i class="fas fa-envelope"></i></span> </button> <button class="_button preview" @click="showPreview = !showPreview" :class="{ active: showPreview }" v-tooltip="$ts.previewNoteText"><i class="fas fa-file-code"></i></button> - <button class="submit _buttonPrimary" :disabled="!canPost" @click="post" data-cy-open-post-form-submit>{{ submitText }}<i :class="reply ? 'fas fa-reply' : renote ? 'fas fa-quote-right' : 'fas fa-paper-plane'"></i></button> + <button class="submit _buttonGradate" :disabled="!canPost" @click="post" data-cy-open-post-form-submit>{{ submitText }}<i :class="reply ? 'fas fa-reply' : renote ? 'fas fa-quote-right' : 'fas fa-paper-plane'"></i></button> </div> </header> <div class="form" :class="{ fixed }"> @@ -759,6 +759,7 @@ export default defineComponent({ font-weight: bold; vertical-align: bottom; border-radius: 4px; + font-size: 0.9em; &:disabled { opacity: 0.7; diff --git a/src/client/components/ui/button.vue b/src/client/components/ui/button.vue index 5f36be0d76..b5f4547c84 100644 --- a/src/client/components/ui/button.vue +++ b/src/client/components/ui/button.vue @@ -188,11 +188,11 @@ export default defineComponent({ background: linear-gradient(90deg, var(--buttonGradateA), var(--buttonGradateB)); &:not(:disabled):hover { - background: var(--X8); + background: linear-gradient(90deg, var(--X8), var(--X8)); } &:not(:disabled):active { - background: var(--X8); + background: linear-gradient(90deg, var(--X8), var(--X8)); } } |