🎨
This commit is contained in:
		
							parent
							
								
									1e28081aa3
								
							
						
					
					
						commit
						aee816ced9
					
				
					 4 changed files with 22 additions and 3 deletions
				
			
		|  | @ -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; | ||||
|  |  | |||
|  | @ -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)); | ||||
| 		} | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
|  | @ -301,6 +301,10 @@ export default defineComponent({ | |||
| 			width: 32%; | ||||
| 			box-sizing: border-box; | ||||
| 			overflow: auto; | ||||
| 
 | ||||
| 			> .title { | ||||
| 				margin: 24px; | ||||
| 			} | ||||
| 		} | ||||
| 
 | ||||
| 		> .main { | ||||
|  |  | |||
|  | @ -202,6 +202,20 @@ hr { | |||
| 	} | ||||
| } | ||||
| 
 | ||||
| ._buttonGradate { | ||||
| 	@extend ._buttonPrimary; | ||||
| 	color: var(--fgOnAccent); | ||||
| 	background: linear-gradient(90deg, var(--buttonGradateA), var(--buttonGradateB)); | ||||
| 
 | ||||
| 	&:not(:disabled):hover { | ||||
| 		background: linear-gradient(90deg, var(--X8), var(--X8)); | ||||
| 	} | ||||
| 
 | ||||
| 	&:not(:disabled):active { | ||||
| 		background: linear-gradient(90deg, var(--X8), var(--X8)); | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| ._help { | ||||
| 	color: var(--accent); | ||||
| 	cursor: help | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue