forked from forgejo/forgejo
Clean less files (#6921)
This commit is contained in:
parent
0b785481d7
commit
6fb58a8cdc
17 changed files with 1545 additions and 1159 deletions
|
@ -6,10 +6,13 @@
|
|||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
.ui.attached.header {
|
||||
background: #f0f0f0;
|
||||
|
||||
.right {
|
||||
margin-top: -5px;
|
||||
|
||||
.button {
|
||||
padding: 8px 10px;
|
||||
font-weight: normal;
|
||||
|
@ -19,64 +22,76 @@
|
|||
|
||||
@create-page-form-input-padding: 250px !important;
|
||||
#create-page-form {
|
||||
form {
|
||||
margin: auto;
|
||||
.ui.message {
|
||||
text-align: center;
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
width: 800px!important;
|
||||
.header {
|
||||
padding-left: @create-page-form-input-padding+30px;
|
||||
}
|
||||
.inline.field > label {
|
||||
text-align: right;
|
||||
width: @create-page-form-input-padding;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.help {
|
||||
margin-left: @create-page-form-input-padding+15px;
|
||||
}
|
||||
.optional .title {
|
||||
margin-left: @create-page-form-input-padding;
|
||||
}
|
||||
input,
|
||||
textarea {
|
||||
width: 50%!important;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 767px) {
|
||||
.optional .title {
|
||||
margin-left: 15px;
|
||||
}
|
||||
.inline.field > label {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
form {
|
||||
margin: auto;
|
||||
|
||||
.ui.message {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
width: 800px !important;
|
||||
.header {
|
||||
padding-left: @create-page-form-input-padding+30px;
|
||||
}
|
||||
|
||||
.inline.field > label {
|
||||
text-align: right;
|
||||
width: @create-page-form-input-padding;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.help {
|
||||
margin-left: @create-page-form-input-padding+15px;
|
||||
}
|
||||
|
||||
.optional .title {
|
||||
margin-left: @create-page-form-input-padding;
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
width: 50% !important;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 767px) {
|
||||
.optional .title {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.inline.field > label {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.signin {
|
||||
.oauth2{
|
||||
.oauth2 {
|
||||
div {
|
||||
display: inline-block;
|
||||
display: inline-block;
|
||||
|
||||
p {
|
||||
margin: 10px 5px 0 0;
|
||||
float: left;
|
||||
margin: 10px 5px 0 0;
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
margin-right: 3px;
|
||||
margin-right: 3px;
|
||||
|
||||
&:last-child {
|
||||
margin-right: 0px;
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
&.openidConnect {
|
||||
width: auto;
|
||||
}
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
|
||||
&.openidConnect {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -88,10 +103,11 @@
|
|||
padding-left: 30px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-height: 575px){
|
||||
|
||||
@media screen and (max-height: 575px) {
|
||||
#rc-imageselect, .g-recaptcha {
|
||||
transform:scale(0.77);
|
||||
transform-origin:0 0;
|
||||
transform: scale(0.77);
|
||||
transform-origin: 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -102,12 +118,15 @@
|
|||
.user.signup {
|
||||
@input-padding: 200px;
|
||||
#create-page-form;
|
||||
|
||||
form {
|
||||
width: 700px!important;
|
||||
width: 700px !important;
|
||||
|
||||
.header {
|
||||
padding-left: 0 !important;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.inline.field > label {
|
||||
width: @input-padding;
|
||||
}
|
||||
|
@ -125,19 +144,23 @@
|
|||
&.new.migrate,
|
||||
&.new.fork {
|
||||
#create-page-form;
|
||||
|
||||
form {
|
||||
.dropdown {
|
||||
.dropdown.icon {
|
||||
margin-top: -7px!important;
|
||||
margin-top: -7px !important;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.text {
|
||||
margin-right: 0!important;
|
||||
margin-right: 0 !important;
|
||||
|
||||
i {
|
||||
margin-right: 0!important;
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
padding-left: 0 !important;
|
||||
text-align: center;
|
||||
|
@ -156,23 +179,23 @@
|
|||
}
|
||||
}
|
||||
|
||||
&.new.repo {
|
||||
.ui.form {
|
||||
@media only screen and (min-width: 768px) {
|
||||
#auto-init {
|
||||
margin-left: @create-page-form-input-padding+15px;
|
||||
}
|
||||
}
|
||||
&.new.repo {
|
||||
.ui.form {
|
||||
@media only screen and (min-width: 768px) {
|
||||
#auto-init {
|
||||
margin-left: @create-page-form-input-padding+15px;
|
||||
}
|
||||
}
|
||||
|
||||
.selection.dropdown:not(.owner) {
|
||||
width: 50%!important;
|
||||
.selection.dropdown:not(.owner) {
|
||||
width: 50% !important;
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 768px) {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.new.webhook {
|
||||
|
@ -198,14 +221,14 @@
|
|||
}
|
||||
|
||||
.new.org .ui.form {
|
||||
@media only screen and (max-width: 768px) {
|
||||
.field button, .field a{
|
||||
margin-bottom: 1em;
|
||||
width: 100%;
|
||||
}
|
||||
@media only screen and (max-width: 768px) {
|
||||
.field button, .field a {
|
||||
margin-bottom: 1em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.field input {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
.field input {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue