 66f9a4ee68
			
		
	
	
	
	
	66f9a4ee68CSS is pretty slim already and the `.ui.toggle.checkbox` sliders on admin page also still work. The only necessary JS is the one that links `input` and `label` so that it can be toggled via label. All checkboxes except the markdown ones render at `--checkbox-size: 16px` now. <img width="174" alt="Screenshot 2024-03-28 at 22 15 10" src="https://github.com/go-gitea/gitea/assets/115237/3455c1bb-166b-47e4-9847-2d20dd1f04db"> <img width="499" alt="Screenshot 2024-03-28 at 21 00 07" src="https://github.com/go-gitea/gitea/assets/115237/412be2b3-d5a0-478a-b17b-43e6bc12e8ce"> <img width="83" alt="Screenshot 2024-03-28 at 22 14 34" src="https://github.com/go-gitea/gitea/assets/115237/d8c89838-a420-4723-8c49-89405bb39474"> --------- Co-authored-by: delvh <dev.lh@web.de> (cherry picked from commit 8fd15990c5c8980caf2b9ffefc0b3427efacdc04)
		
			
				
	
	
		
			182 lines
		
	
	
	
		
			3.6 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			182 lines
		
	
	
	
		
			3.6 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
| #create-page-form form {
 | |
|   margin: auto;
 | |
| }
 | |
| 
 | |
| #create-page-form form .ui.message {
 | |
|   text-align: center;
 | |
| }
 | |
| 
 | |
| @media (min-width: 768px) {
 | |
|   #create-page-form form {
 | |
|     width: 800px !important;
 | |
|   }
 | |
|   #create-page-form form .header {
 | |
|     padding-left: 280px !important;
 | |
|   }
 | |
|   #create-page-form form .inline.field > label {
 | |
|     text-align: right;
 | |
|     width: 250px !important;
 | |
|     word-wrap: break-word;
 | |
|   }
 | |
|   #create-page-form form .help {
 | |
|     margin-left: 265px !important;
 | |
|   }
 | |
|   #create-page-form form .optional .title {
 | |
|     margin-left: 250px !important;
 | |
|   }
 | |
|   #create-page-form form .inline.field > input,
 | |
|   #create-page-form form .inline.field > textarea {
 | |
|     width: 50%;
 | |
|   }
 | |
| }
 | |
| 
 | |
| @media (max-width: 767.98px) {
 | |
|   #create-page-form form .optional .title {
 | |
|     margin-left: 15px;
 | |
|   }
 | |
|   #create-page-form form .inline.field > label {
 | |
|     display: block;
 | |
|   }
 | |
| }
 | |
| 
 | |
| .organization .head .ui.header .ui.right {
 | |
|   margin-top: 5px;
 | |
| }
 | |
| 
 | |
| .organization.new.org form {
 | |
|   margin: auto;
 | |
| }
 | |
| 
 | |
| .organization.new.org form .ui.message {
 | |
|   text-align: center;
 | |
| }
 | |
| 
 | |
| @media (min-width: 768px) {
 | |
|   .organization.new.org form {
 | |
|     width: 800px !important;
 | |
|   }
 | |
|   .organization.new.org form .header {
 | |
|     padding-left: 280px !important;
 | |
|   }
 | |
|   .organization.new.org form .inline.field > label {
 | |
|     text-align: right;
 | |
|     width: 250px !important;
 | |
|     word-wrap: break-word;
 | |
|   }
 | |
|   .organization.new.org form .help {
 | |
|     margin-left: 265px !important;
 | |
|   }
 | |
|   .organization.new.org form .optional .title {
 | |
|     margin-left: 250px !important;
 | |
|   }
 | |
|   .organization.new.org form .inline.field > input,
 | |
|   .organization.new.org form .inline.field > textarea {
 | |
|     width: 50%;
 | |
|   }
 | |
| }
 | |
| 
 | |
| @media (max-width: 767.98px) {
 | |
|   .organization.new.org form .optional .title {
 | |
|     margin-left: 15px;
 | |
|   }
 | |
|   .organization.new.org form .inline.field > label {
 | |
|     display: block;
 | |
|   }
 | |
| }
 | |
| 
 | |
| .organization.new.org form .header {
 | |
|   padding-left: 0 !important;
 | |
|   text-align: center;
 | |
| }
 | |
| 
 | |
| .page-content.organization .org-avatar {
 | |
|   margin-right: 15px;
 | |
| }
 | |
| 
 | |
| .page-content.organization #org-info {
 | |
|   overflow-wrap: anywhere;
 | |
|   flex: 1;
 | |
|   word-break: break-all;
 | |
| }
 | |
| 
 | |
| .page-content.organization #org-info .ui.header {
 | |
|   display: flex;
 | |
|   align-items: center;
 | |
|   font-size: 36px;
 | |
|   margin-bottom: 0;
 | |
| }
 | |
| 
 | |
| .page-content.organization #org-info .desc {
 | |
|   font-size: 16px;
 | |
|   margin-bottom: 10px;
 | |
| }
 | |
| 
 | |
| .page-content.organization #org-info .meta {
 | |
|   display: flex;
 | |
|   align-items: center;
 | |
|   flex-wrap: wrap;
 | |
|   gap: 8px;
 | |
| }
 | |
| 
 | |
| .page-content.organization .ui.top.header .ui.right {
 | |
|   margin-top: 0;
 | |
| }
 | |
| 
 | |
| .page-content.organization .teams .item {
 | |
|   padding: 10px 15px;
 | |
| }
 | |
| 
 | |
| .page-content.organization .members .ui.avatar {
 | |
|   width: 48px;
 | |
|   height: 48px;
 | |
|   margin-right: 5px;
 | |
|   margin-bottom: 5px;
 | |
| }
 | |
| 
 | |
| .organization.invite #invite-box {
 | |
|   margin: 50px auto auto;
 | |
|   width: 500px !important;
 | |
| }
 | |
| 
 | |
| .organization.invite #invite-box #search-user-box input {
 | |
|   margin-left: 0;
 | |
|   width: 300px;
 | |
| }
 | |
| 
 | |
| .organization.invite #invite-box .ui.button {
 | |
|   margin-left: 5px;
 | |
|   margin-top: -3px;
 | |
| }
 | |
| 
 | |
| .organization.invite .ui.avatar {
 | |
|   width: 100%;
 | |
|   height: 100%;
 | |
| }
 | |
| 
 | |
| .organization.teams .detail .item {
 | |
|   padding: 10px 15px;
 | |
| }
 | |
| 
 | |
| .organization.teams .detail .item:not(:last-child) {
 | |
|   border-bottom: 1px solid var(--color-secondary);
 | |
| }
 | |
| 
 | |
| .organization.teams .repositories .item,
 | |
| .organization.teams .members .item {
 | |
|   padding: 10px 19px;
 | |
| }
 | |
| 
 | |
| .organization.teams .repositories .item:not(:last-child),
 | |
| .organization.teams .members .item:not(:last-child) {
 | |
|   border-bottom: 1px solid var(--color-secondary);
 | |
| }
 | |
| 
 | |
| .organization.teams .repositories .item .button,
 | |
| .organization.teams .members .item .button {
 | |
|   padding: 9px 10px;
 | |
|   margin: 0;
 | |
| }
 | |
| 
 | |
| .org-team-navbar .active.item {
 | |
|   background: var(--color-box-body) !important;
 | |
| }
 |