🎨
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> | 				<span v-if="visibility === 'specified'"><i class="fas fa-envelope"></i></span> | ||||||
| 			</button> | 			</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="_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> | 		</div> | ||||||
| 	</header> | 	</header> | ||||||
| 	<div class="form" :class="{ fixed }"> | 	<div class="form" :class="{ fixed }"> | ||||||
|  | @ -759,6 +759,7 @@ export default defineComponent({ | ||||||
| 				font-weight: bold; | 				font-weight: bold; | ||||||
| 				vertical-align: bottom; | 				vertical-align: bottom; | ||||||
| 				border-radius: 4px; | 				border-radius: 4px; | ||||||
|  | 				font-size: 0.9em; | ||||||
| 
 | 
 | ||||||
| 				&:disabled { | 				&:disabled { | ||||||
| 					opacity: 0.7; | 					opacity: 0.7; | ||||||
|  |  | ||||||
|  | @ -188,11 +188,11 @@ export default defineComponent({ | ||||||
| 		background: linear-gradient(90deg, var(--buttonGradateA), var(--buttonGradateB)); | 		background: linear-gradient(90deg, var(--buttonGradateA), var(--buttonGradateB)); | ||||||
| 
 | 
 | ||||||
| 		&:not(:disabled):hover { | 		&:not(:disabled):hover { | ||||||
| 			background: var(--X8); | 			background: linear-gradient(90deg, var(--X8), var(--X8)); | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
| 		&:not(:disabled):active { | 		&:not(:disabled):active { | ||||||
| 			background: var(--X8); | 			background: linear-gradient(90deg, var(--X8), var(--X8)); | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -301,6 +301,10 @@ export default defineComponent({ | ||||||
| 			width: 32%; | 			width: 32%; | ||||||
| 			box-sizing: border-box; | 			box-sizing: border-box; | ||||||
| 			overflow: auto; | 			overflow: auto; | ||||||
|  | 
 | ||||||
|  | 			> .title { | ||||||
|  | 				margin: 24px; | ||||||
|  | 			} | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
| 		> .main { | 		> .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 { | ._help { | ||||||
| 	color: var(--accent); | 	color: var(--accent); | ||||||
| 	cursor: help | 	cursor: help | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue