1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 14:14:25 +00:00
gitea/public/less/_form.less

241 lines
4.6 KiB
Plaintext
Raw Normal View History

2015-07-07 17:09:03 +00:00
.form {
.help {
color: #999999;
2019-05-14 00:54:23 +00:00
padding-top: 0.6em;
padding-bottom: 0.6em;
display: inline-block;
}
2015-08-06 14:48:11 +00:00
}
2019-05-13 06:26:32 +00:00
2015-08-06 14:48:11 +00:00
.ui.attached.header {
background: #f0f0f0;
2019-05-13 06:26:32 +00:00
.right {
margin-top: -5px;
2019-05-13 06:26:32 +00:00
.button {
padding: 8px 10px;
font-weight: normal;
}
}
2015-08-08 09:10:34 +00:00
}
2015-08-26 10:03:30 +00:00
@create-page-form-input-padding: 250px !important;
#create-page-form {
2019-05-13 06:26:32 +00:00
form {
margin: auto;
.ui.message {
text-align: center;
}
@media only screen and (min-width: 768px) {
width: 800px !important;
2019-05-14 00:54:23 +00:00
2019-05-13 06:26:32 +00:00
.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;
}
}
2019-05-14 00:54:23 +00:00
2019-05-13 06:26:32 +00:00
@media only screen and (max-width: 767px) {
.optional .title {
margin-left: 15px;
}
.inline.field > label {
display: block;
}
}
}
}
.signin {
2019-05-13 06:26:32 +00:00
.oauth2 {
div {
2019-05-13 06:26:32 +00:00
display: inline-block;
p {
2019-05-13 06:26:32 +00:00
margin: 10px 5px 0 0;
float: left;
}
}
2019-05-13 06:26:32 +00:00
a {
2019-05-13 06:26:32 +00:00
margin-right: 3px;
&:last-child {
2019-05-13 06:26:32 +00:00
margin-right: 0;
}
}
2019-05-13 06:26:32 +00:00
img {
2019-05-13 06:26:32 +00:00
width: 32px;
height: 32px;
&.openidConnect {
width: auto;
}
}
}
}
@media only screen and (min-width: 768px) {
.g-recaptcha {
margin: 0 auto !important;
width: 304px;
padding-left: 30px;
}
}
2019-05-13 06:26:32 +00:00
@media screen and (max-height: 575px) {
2019-05-14 00:54:23 +00:00
#rc-imageselect,
.g-recaptcha {
2019-05-13 06:26:32 +00:00
transform: scale(0.77);
transform-origin: 0 0;
}
}
.user.activate,
2015-09-17 18:57:24 +00:00
.user.forgot.password,
.user.reset.password,
.user.signin,
.user.signup {
@input-padding: 200px;
#create-page-form;
2019-05-13 06:26:32 +00:00
form {
2019-05-13 06:26:32 +00:00
width: 700px !important;
.header {
padding-left: 0 !important;
text-align: center;
}
2019-05-13 06:26:32 +00:00
.inline.field > label {
width: @input-padding;
}
2019-05-14 00:54:23 +00:00
.inline.field > label,
input {
@media only screen and (max-width: 768px) {
width: 100% !important;
}
}
}
}
2015-08-15 08:03:20 +00:00
.repository {
&.new.repo,
&.new.migrate,
&.new.fork {
#create-page-form;
2019-05-13 06:26:32 +00:00
form {
.dropdown {
.dropdown.icon {
2019-05-13 06:26:32 +00:00
margin-top: -7px !important;
padding-bottom: 5px;
}
2019-05-13 06:26:32 +00:00
.text {
2019-05-13 06:26:32 +00:00
margin-right: 0 !important;
i {
2019-05-13 06:26:32 +00:00
margin-right: 0 !important;
}
}
}
2019-05-13 06:26:32 +00:00
.header {
padding-left: 0 !important;
text-align: center;
}
@media only screen and (max-width: 768px) {
2019-05-14 00:54:23 +00:00
label,
input,
.selection.dropdown {
width: 100% !important;
}
2019-05-14 00:54:23 +00:00
.field button,
.field a {
margin-bottom: 1em;
width: 100%;
}
}
}
}
2019-05-13 06:26:32 +00:00
&.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;
@media only screen and (max-width: 768px) {
width: 100% !important;
}
}
}
}
2015-08-26 10:03:30 +00:00
}
2015-08-26 16:30:06 +00:00
.new.webhook {
form {
.help {
margin-left: 25px;
}
}
2015-08-28 15:36:13 +00:00
.events.fields {
.column {
padding-left: 40px;
}
}
}
.githook {
textarea {
Add lang specific font stacks for CJK (#6007) * Add lang specific font stacks * Force font changes Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix icons Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix octicons and icons Signed-off-by: Andrew Thornton <art27@cantab.net> * Just override the semantic ui fonts only Signed-off-by: Andrew Thornton <art27@cantab.net> * Missed the headers... override them too * Missed some more semantic ui stuff * Fix PT Sans Signed-off-by: Andrew Thornton <art27@cantab.net> * More changes Signed-off-by: Andrew Thornton <art27@cantab.net> * Squashed commit of the following: commit 7d1679e9079541359869c9e677ba7412bfcc59f3 Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 13:53:49 2019 +0100 Remove missed YaHei leftover from _home.less commit 0079121ea91860a323ed4e5cc1a9c0d490d9cefd Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 12:03:54 2019 +0100 Fix overdone fixes (inherit, :lang) commit 62c919915928ec1db4731d547e95885f91a0618d Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 02:29:10 2019 +0100 Fix elements w/ explicit lang (language chooser) commit b3117587aa2eb8570d60bed583a11ee5565418be Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 20:17:26 2019 +0100 Fix textarea also (to match body) commit 81cedf2c3012c4dd05a7680782b4a98e1b947f67 Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 19:41:39 2019 +0100 Revert css temporarily to fix conflict commit 80ff82797f3203cbeaf866f22e961334e137df89 Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 19:15:30 2019 +0100 Tweak CJK, fix Yu Gothic, more monospace inherits commit 581dceb9a869646c2c486dabb925c88c2680d70c Author: Mike L <cl.jeremy@qq.com> Date: Mon Mar 11 13:09:26 2019 +0100 Add Lato for latin extd. & cyrillic, improve CJK * update stylesheet
2019-03-18 12:49:01 +00:00
font-family: @monospaced-fonts, monospace;
}
}
.new.org .ui.form {
2019-05-13 06:26:32 +00:00
@media only screen and (max-width: 768px) {
2019-05-14 00:54:23 +00:00
.field button,
.field a {
2019-05-13 06:26:32 +00:00
margin-bottom: 1em;
width: 100%;
}
.field input {
width: 100% !important;
}
}
}