1
0
forked from mirror/misskey
This commit is contained in:
syuilo 2020-03-29 11:06:58 +09:00
parent db93838729
commit f5ebfdca61

View File

@ -5,7 +5,7 @@
<div class="otgbylcu"> <div class="otgbylcu">
<textarea v-model="text" :placeholder="$t('placeholder')" @input="onChange"></textarea> <textarea v-model="text" :placeholder="$t('placeholder')" @input="onChange"></textarea>
<button @click="saveMemo" :disabled="!changed">{{ $t('save') }}</button> <button @click="saveMemo" :disabled="!changed" class="_buttonPrimary">{{ $t('save') }}</button>
</div> </div>
</mk-container> </mk-container>
</div> </div>
@ -84,6 +84,7 @@ export default define({
border: none; border: none;
border-bottom: solid var(--lineWidth) var(--faceDivider); border-bottom: solid var(--lineWidth) var(--faceDivider);
border-radius: 0; border-radius: 0;
box-sizing: border-box;
} }
> button { > button {
@ -94,22 +95,8 @@ export default define({
margin: 0; margin: 0;
padding: 0 10px; padding: 0 10px;
height: 28px; height: 28px;
color: #fff;
background: var(--accent) !important;
outline: none; outline: none;
border: none;
border-radius: 4px; border-radius: 4px;
transition: background 0.1s ease;
cursor: pointer;
&:hover {
background: var(--accentLighten10) !important;
}
&:active {
background: var(--accentDarken) !important;
transition: background 0s ease;
}
&:disabled { &:disabled {
opacity: 0.7; opacity: 0.7;