mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-11-03 23:32:24 -06:00 
			
		
		
		
	Css button tweak (#93)
* css styling tweaks * bundle * apply styling to textarea as well * bundle, whitespace * generalize .button class styling * bundle * give .button a pointer cursor too * bundle
This commit is contained in:
		
					parent
					
						
							
								1dac7eb9e0
							
						
					
				
			
			
				commit
				
					
						606ee5c615
					
				
			
		
					 2 changed files with 8 additions and 14 deletions
				
			
		| 
						 | 
					@ -51,7 +51,7 @@ a {
 | 
				
			||||||
	color: #de8957;
 | 
						color: #de8957;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
a.button, button {
 | 
					.button, button {
 | 
				
			||||||
	border-radius: 0.2rem;
 | 
						border-radius: 0.2rem;
 | 
				
			||||||
	background: #de8957;
 | 
						background: #de8957;
 | 
				
			||||||
	color: #fafaff;
 | 
						color: #fafaff;
 | 
				
			||||||
| 
						 | 
					@ -59,17 +59,14 @@ a.button, button {
 | 
				
			||||||
	font-size: 1.2rem;
 | 
						font-size: 1.2rem;
 | 
				
			||||||
	font-weight: bold;
 | 
						font-weight: bold;
 | 
				
			||||||
	padding: 0.5rem;
 | 
						padding: 0.5rem;
 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
a.button:hover, button:hover {
 | 
					 | 
				
			||||||
		background: #c76d33;
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
button {
 | 
					 | 
				
			||||||
	border: none;
 | 
						border: none;
 | 
				
			||||||
	cursor: pointer;
 | 
						cursor: pointer;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.button:hover, button:hover {
 | 
				
			||||||
 | 
							background: #c76d33;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.count {
 | 
					.count {
 | 
				
			||||||
	background: rgb(70, 79, 88);
 | 
						background: rgb(70, 79, 88);
 | 
				
			||||||
	border-radius: 0.3rem;
 | 
						border-radius: 0.3rem;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -59,7 +59,7 @@ a {
 | 
				
			||||||
	color: $acc1;
 | 
						color: $acc1;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
a.button, button {
 | 
					.button, button {
 | 
				
			||||||
	border-radius: 0.2rem;
 | 
						border-radius: 0.2rem;
 | 
				
			||||||
	background: $acc1;
 | 
						background: $acc1;
 | 
				
			||||||
	color: $fg;
 | 
						color: $fg;
 | 
				
			||||||
| 
						 | 
					@ -67,17 +67,14 @@ a.button, button {
 | 
				
			||||||
	font-size: 1.2rem;
 | 
						font-size: 1.2rem;
 | 
				
			||||||
	font-weight: bold;
 | 
						font-weight: bold;
 | 
				
			||||||
	padding: 0.5rem;
 | 
						padding: 0.5rem;
 | 
				
			||||||
 | 
						border: none;
 | 
				
			||||||
 | 
						cursor: pointer;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	&:hover {
 | 
						&:hover {
 | 
				
			||||||
		background: $acc2;
 | 
							background: $acc2;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
button {
 | 
					 | 
				
			||||||
	border: none;
 | 
					 | 
				
			||||||
	cursor: pointer;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.count {
 | 
					.count {
 | 
				
			||||||
	background: $bg_accent;
 | 
						background: $bg_accent;
 | 
				
			||||||
	border-radius: 0.3rem;
 | 
						border-radius: 0.3rem;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue