mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 13:55:27 +00:00
d78bb1d564
* 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
211 lines
4 KiB
Plaintext
211 lines
4 KiB
Plaintext
.form {
|
|
.help {
|
|
color: #999999;
|
|
padding-top: .6em;
|
|
padding-bottom: .6em;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
.ui.attached.header {
|
|
background: #f0f0f0;
|
|
.right {
|
|
margin-top: -5px;
|
|
.button {
|
|
padding: 8px 10px;
|
|
font-weight: normal;
|
|
}
|
|
}
|
|
}
|
|
|
|
@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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.signin {
|
|
.oauth2{
|
|
div {
|
|
display: inline-block;
|
|
p {
|
|
margin: 10px 5px 0 0;
|
|
float: left;
|
|
}
|
|
}
|
|
a {
|
|
margin-right: 3px;
|
|
&:last-child {
|
|
margin-right: 0px;
|
|
}
|
|
}
|
|
img {
|
|
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;
|
|
}
|
|
}
|
|
@media screen and (max-height: 575px){
|
|
#rc-imageselect, .g-recaptcha {
|
|
transform:scale(0.77);
|
|
transform-origin:0 0;
|
|
}
|
|
}
|
|
|
|
.user.activate,
|
|
.user.forgot.password,
|
|
.user.reset.password,
|
|
.user.signin,
|
|
.user.signup {
|
|
@input-padding: 200px;
|
|
#create-page-form;
|
|
form {
|
|
width: 700px!important;
|
|
.header {
|
|
padding-left: 0 !important;
|
|
text-align: center;
|
|
}
|
|
.inline.field > label {
|
|
width: @input-padding;
|
|
}
|
|
|
|
.inline.field > label, input {
|
|
@media only screen and (max-width: 768px) {
|
|
width: 100% !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.repository {
|
|
&.new.repo,
|
|
&.new.migrate,
|
|
&.new.fork {
|
|
#create-page-form;
|
|
form {
|
|
.dropdown {
|
|
.dropdown.icon {
|
|
margin-top: -7px!important;
|
|
}
|
|
.text {
|
|
margin-right: 0!important;
|
|
i {
|
|
margin-right: 0!important;
|
|
}
|
|
}
|
|
}
|
|
.header {
|
|
padding-left: 0 !important;
|
|
text-align: center;
|
|
}
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
label, input, .selection.dropdown {
|
|
width: 100% !important;
|
|
}
|
|
|
|
.field button, .field a {
|
|
margin-bottom: 1em;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.new.webhook {
|
|
form {
|
|
.help {
|
|
margin-left: 25px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.new.webhook {
|
|
.events.fields {
|
|
.column {
|
|
padding-left: 40px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.githook {
|
|
textarea {
|
|
font-family: @monospaced-fonts, monospace;
|
|
}
|
|
}
|
|
|
|
.new.org .ui.form {
|
|
@media only screen and (max-width: 768px) {
|
|
.field button, .field a{
|
|
margin-bottom: 1em;
|
|
width: 100%;
|
|
}
|
|
|
|
.field input {
|
|
width: 100% !important;
|
|
}
|
|
}
|
|
}
|