summaryrefslogtreecommitdiffstats
path: root/public/less
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-08 17:10:34 +0800
committerUnknwon <u@gogs.io>2015-08-08 17:10:34 +0800
commit9db4acc62e2d253c21ce9aed2e21003ff235d5b5 (patch)
tree1718b390dce8fb2e0771f4033cb1f6b24d66f0b3 /public/less
parente6862e9cec49acf1cf8bbb5d1baee299a52b4967 (diff)
downloadgitea-9db4acc62e2d253c21ce9aed2e21003ff235d5b5.tar.gz
gitea-9db4acc62e2d253c21ce9aed2e21003ff235d5b5.zip
improve fork process
Diffstat (limited to 'public/less')
-rw-r--r--public/less/_base.less6
-rw-r--r--public/less/_form.less34
2 files changed, 40 insertions, 0 deletions
diff --git a/public/less/_base.less b/public/less/_base.less
index 35328069cc..fd0b168b90 100644
--- a/public/less/_base.less
+++ b/public/less/_base.less
@@ -62,6 +62,12 @@ img {
&.right {
float: right;
}
+
+ .text {
+ &.red {
+ color: #d95c5c!important;
+ }
+ }
}
footer {
margin-top: @footer-margin!important;
diff --git a/public/less/_form.less b/public/less/_form.less
index 8b2c30b1f1..048e291f49 100644
--- a/public/less/_form.less
+++ b/public/less/_form.less
@@ -11,4 +11,38 @@
.right {
margin-top: -5px;
}
+}
+.repository form {
+ margin: auto;
+ width: 800px!important;
+ .ui.message {
+ text-align: center;
+ }
+ @input-padding: 250px !important;
+ .header {
+ padding-left: @input-padding+20px;
+ }
+ .inline.field > label {
+ text-align: right;
+ width: @input-padding;
+ word-wrap: break-word;
+ }
+ .help {
+ margin-left: @input-padding+10px;
+ }
+ .dropdown {
+ .dropdown.icon {
+ margin-top: -7px!important;
+ }
+ .text {
+ margin-right: 0!important;
+ i {
+ margin-right: 0!important;
+ }
+ }
+ }
+ input,
+ textarea {
+ width: 50%!important;
+ }
} \ No newline at end of file