mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-11-04 00:11:04 +00:00 
			
		
		
		
	* Refactor install page (db type) * set correct default DB HOST for different DB TYPE * remove legacy TiDB from documents * unify the usage of DB TYPE, in code we only use "mysql". "MySQL" is only shown to users for friendly name. * Gitea can use TiDB via MySQL protocol Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
		
			
				
	
	
		
			51 lines
		
	
	
	
		
			813 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
	
		
			813 B
		
	
	
	
		
			Text
		
	
	
	
	
	
.page-content.install {
 | 
						|
  padding-top: 45px;
 | 
						|
 | 
						|
  form {
 | 
						|
    @input-padding: 320px !important;
 | 
						|
 | 
						|
    .inline.field label {
 | 
						|
      text-align: right;
 | 
						|
      width: @input-padding;
 | 
						|
    }
 | 
						|
 | 
						|
    input {
 | 
						|
      width: 35% !important;
 | 
						|
    }
 | 
						|
 | 
						|
    .field {
 | 
						|
      text-align: left;
 | 
						|
 | 
						|
      .help {
 | 
						|
        margin-left: @input-padding+15px;
 | 
						|
      }
 | 
						|
 | 
						|
      &.optional {
 | 
						|
        .title {
 | 
						|
          margin-left: 38%;
 | 
						|
        }
 | 
						|
        .checkbox {
 | 
						|
          margin-left: 40% !important;
 | 
						|
          label {
 | 
						|
            width: auto !important;
 | 
						|
          }
 | 
						|
        }
 | 
						|
      }
 | 
						|
    }
 | 
						|
  }
 | 
						|
 | 
						|
  .ui {
 | 
						|
    .reinstall-message {
 | 
						|
      width: 70%;
 | 
						|
      margin: 20px auto;
 | 
						|
      color: red;
 | 
						|
      text-align: left;
 | 
						|
      font-weight: bold;
 | 
						|
    }
 | 
						|
    .reinstall-confirm {
 | 
						|
      width: 70%;
 | 
						|
      text-align: left;
 | 
						|
      margin: 10px auto;
 | 
						|
    }
 | 
						|
  }
 | 
						|
}
 |