forgejo/public/less/_form.less

95 lines
1.4 KiB
Text
Raw Normal View History

2015-07-07 20:09:03 +03:00
.form {
.help {
color: #999999;
padding-top: .6em;
padding-bottom: .6em;
display: inline-block;
}
2015-08-06 17:48:11 +03:00
}
.ui.attached.header {
background: #f0f0f0;
.right {
2015-08-20 15:18:49 +03:00
margin-top: -5px;
.button {
padding: 8px 10px;
font-weight: normal;
}
2015-08-06 17:48:11 +03:00
}
2015-08-08 12:10:34 +03:00
}
2015-08-26 13:03:30 +03:00
@create-page-form-input-padding: 250px !important;
#create-page-form {
form {
margin: auto;
width: 800px!important;
.ui.message {
text-align: center;
}
.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;
}
}
}
2015-08-15 11:03:20 +03:00
.repository {
&.new.repo,
2015-08-15 11:03:20 +03:00
&.new.migrate,
&.new.fork {
#create-page-form;
2015-08-15 11:03:20 +03:00
form {
.dropdown {
.dropdown.icon {
margin-top: -7px!important;
}
.text {
2015-08-08 12:53:38 +03:00
margin-right: 0!important;
2015-08-15 11:03:20 +03:00
i {
margin-right: 0!important;
}
2015-08-08 12:53:38 +03:00
}
2015-08-08 12:10:34 +03:00
}
2015-08-08 12:53:38 +03:00
}
2015-08-08 12:10:34 +03:00
}
&.new.repo {
.ui.form {
.selection.dropdown:not(.owner) {
width: 50%!important;
}
#auto-init {
margin-left: @create-page-form-input-padding+15px;
}
}
}
2015-08-26 13:03:30 +03:00
}
2015-08-26 19:30:06 +03:00
.new.webhook {
form {
.help {
margin-left: 25px;
}
}
2015-08-28 18:36:13 +03:00
}
.new.webhook {
.events.fields {
.column {
padding-left: 40px;
}
}
2015-07-07 20:09:03 +03:00
}