gitea/public/less/_form.less

82 lines
1.2 KiB
Plaintext
Raw Normal View History

2015-07-08 01:09:03 +08:00
.form {
.help {
color: #999999;
padding-top: .6em;
padding-bottom: .6em;
display: inline-block;
}
2015-08-06 22:48:11 +08:00
}
.ui.attached.header {
background: #f0f0f0;
.right {
2015-08-20 20:18:49 +08:00
margin-top: -5px;
.button {
padding: 8px 10px;
font-weight: normal;
}
2015-08-06 22:48:11 +08:00
}
2015-08-08 17:10:34 +08:00
}
2015-08-26 18:03:30 +08:00
2015-08-15 16:03:20 +08:00
.repository {
&.new.migrate,
&.new.fork {
form {
margin: auto;
width: 800px!important;
.ui.message {
text-align: center;
}
@input-padding: 250px !important;
.header {
padding-left: @input-padding+30px;
}
.inline.field > label {
text-align: right;
width: @input-padding;
word-wrap: break-word;
2015-08-08 17:53:38 +08:00
}
2015-08-15 16:03:20 +08:00
.help {
margin-left: @input-padding+15px;
}
.dropdown {
.dropdown.icon {
margin-top: -7px!important;
}
.text {
2015-08-08 17:53:38 +08:00
margin-right: 0!important;
2015-08-15 16:03:20 +08:00
i {
margin-right: 0!important;
}
2015-08-08 17:53:38 +08:00
}
2015-08-08 17:10:34 +08:00
}
2015-08-15 16:03:20 +08:00
.optional .title {
margin-left: @input-padding;
}
input,
textarea {
width: 50%!important;
}
2015-08-08 17:53:38 +08:00
}
2015-08-08 17:10:34 +08:00
}
2015-08-26 18:03:30 +08:00
}
.repository.edit.hook {
form {
@input-padding: 25%!important;
.inline.field > label {
text-align: right;
width: @input-padding;
word-wrap: break-word;
}
input,
textarea {
width: 50%!important;
}
}
}
.repository.edit.hook {
form {
textarea {
width: 70%!important;
}
}
2015-07-08 01:09:03 +08:00
}