diff options
author | Joubert RedRat <me+github@redrat.com.br> | 2016-11-03 16:31:05 -0200 |
---|---|---|
committer | Joubert RedRat <me+github@redrat.com.br> | 2016-11-04 08:53:18 -0200 |
commit | ff54e4d929722eb28e053b25fd353ea869ec2f45 (patch) | |
tree | 9ecbf93cb841f435ba57d8530971335cbf0f8c3f /public | |
parent | fc55182a4c7dc884e64db1a3e1ed045ac3f6bf9b (diff) | |
download | gitea-ff54e4d929722eb28e053b25fd353ea869ec2f45.tar.gz gitea-ff54e4d929722eb28e053b25fd353ea869ec2f45.zip |
Set default less and css to new default name
Diffstat (limited to 'public')
-rw-r--r-- | public/config.codekit | 16 | ||||
-rw-r--r-- | public/css/index.css (renamed from public/css/gogs.css) | 51 | ||||
-rw-r--r-- | public/js/index.js (renamed from public/js/gogs.js) | 0 | ||||
-rw-r--r-- | public/less/index.less (renamed from public/less/gogs.less) | 0 |
4 files changed, 29 insertions, 38 deletions
diff --git a/public/config.codekit b/public/config.codekit index fa0fae58a7..697e245e8d 100644 --- a/public/config.codekit +++ b/public/config.codekit @@ -11,11 +11,11 @@ "outputPathIsOutsideProject": 0, "outputPathIsSetByUser": 0 }, - "\/css\/gogs.css": { + "\/css\/index.css": { "fileType": 16, "ignore": 1, "ignoreWasSetByUser": 0, - "inputAbbreviatedPath": "\/css\/gogs.css", + "inputAbbreviatedPath": "\/css\/index.css", "outputAbbreviatedPath": "No Output Path", "outputPathIsOutsideProject": 0, "outputPathIsSetByUser": 0 @@ -128,11 +128,11 @@ "outputPathIsSetByUser": 0, "processed": 1 }, - "\/js\/gogs.js": { + "\/js\/index.js": { "fileType": 64, "ignore": 1, "ignoreWasSetByUser": 1, - "inputAbbreviatedPath": "\/js\/gogs.js", + "inputAbbreviatedPath": "\/js\/index.js", "outputAbbreviatedPath": "\/js\/min\/gogs-min.js", "outputPathIsOutsideProject": 0, "outputPathIsSetByUser": 0, @@ -421,7 +421,7 @@ "strictMath": 0, "strictUnits": 0 }, - "\/less\/gogs.less": { + "\/less\/index.less": { "allowInsecureImports": 0, "createSourceMap": 0, "disableJavascript": 0, @@ -429,8 +429,8 @@ "ieCompatibility": 1, "ignore": 0, "ignoreWasSetByUser": 1, - "inputAbbreviatedPath": "\/less\/gogs.less", - "outputAbbreviatedPath": "\/css\/gogs.css", + "inputAbbreviatedPath": "\/less\/index.less", + "outputAbbreviatedPath": "\/css\/index.css", "outputPathIsOutsideProject": 0, "outputPathIsSetByUser": 1, "outputStyle": 0, @@ -1258,4 +1258,4 @@ "websiteRelativeRoot": "" }, "settingsFileVersion": "2" -}
\ No newline at end of file +} diff --git a/public/css/gogs.css b/public/css/index.css index e4638bb069..99a57c78e0 100644 --- a/public/css/gogs.css +++ b/public/css/index.css @@ -31,23 +31,18 @@ pre.wrap, code.wrap { white-space: pre-wrap; /* CSS 3 */ - word-break: break-word; } .dont-break-out { /* These are technically the same, but use both */ - overflow-wrap: break-word; word-wrap: break-word; -ms-word-break: break-all; /* This is the dangerous one in WebKit, as it breaks things wherever */ - word-break: break-all; /* Instead use this non-standard one: */ - word-break: break-word; /* Adds a hyphen where the word breaks, if supported (No Blink) */ - -ms-hyphens: auto; -moz-hyphens: auto; -webkit-hyphens: auto; @@ -817,7 +812,7 @@ footer .ui.language .menu { border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; - box-shadow: inset 0 -1px 0 #bbbbbb; + box-shadow: inset 0 -1px 0 #bbb; } .markdown:not(code) input[type="checkbox"] { vertical-align: middle !important; @@ -888,7 +883,7 @@ footer .ui.language .menu { } .install form label { text-align: right; - width: 320px; + width: 320px !important; } .install form input { width: 35% !important; @@ -897,7 +892,7 @@ footer .ui.language .menu { text-align: left; } .install form .field .help { - margin-left: 335px; + margin-left: 335px !important; } .install form .field.optional .title { margin-left: 38%; @@ -932,18 +927,18 @@ footer .ui.language .menu { text-align: center; } #create-page-form form .header { - padding-left: 280px; + padding-left: 280px !important; } #create-page-form form .inline.field > label { text-align: right; - width: 250px; + width: 250px !important; word-wrap: break-word; } #create-page-form form .help { - margin-left: 265px; + margin-left: 265px !important; } #create-page-form form .optional .title { - margin-left: 250px; + margin-left: 250px !important; } #create-page-form form input, #create-page-form form textarea { @@ -969,7 +964,7 @@ footer .ui.language .menu { .user.reset.password form .header, .user.signin form .header, .user.signup form .header { - padding-left: 280px; + padding-left: 280px !important; } .user.activate form .inline.field > label, .user.forgot.password form .inline.field > label, @@ -977,7 +972,7 @@ footer .ui.language .menu { .user.signin form .inline.field > label, .user.signup form .inline.field > label { text-align: right; - width: 250px; + width: 250px !important; word-wrap: break-word; } .user.activate form .help, @@ -985,14 +980,14 @@ footer .ui.language .menu { .user.reset.password form .help, .user.signin form .help, .user.signup form .help { - margin-left: 265px; + margin-left: 265px !important; } .user.activate form .optional .title, .user.forgot.password form .optional .title, .user.reset.password form .optional .title, .user.signin form .optional .title, .user.signup form .optional .title { - margin-left: 250px; + margin-left: 250px !important; } .user.activate form input, .user.forgot.password form input, @@ -1026,7 +1021,7 @@ footer .ui.language .menu { .user.reset.password form .inline.field > label, .user.signin form .inline.field > label, .user.signup form .inline.field > label { - width: 200px; + width: 200px !important; } .repository.new.repo form, .repository.new.migrate form, @@ -1042,24 +1037,24 @@ footer .ui.language .menu { .repository.new.repo form .header, .repository.new.migrate form .header, .repository.new.fork form .header { - padding-left: 280px; + padding-left: 280px !important; } .repository.new.repo form .inline.field > label, .repository.new.migrate form .inline.field > label, .repository.new.fork form .inline.field > label { text-align: right; - width: 250px; + width: 250px !important; word-wrap: break-word; } .repository.new.repo form .help, .repository.new.migrate form .help, .repository.new.fork form .help { - margin-left: 265px; + margin-left: 265px !important; } .repository.new.repo form .optional .title, .repository.new.migrate form .optional .title, .repository.new.fork form .optional .title { - margin-left: 250px; + margin-left: 250px !important; } .repository.new.repo form input, .repository.new.migrate form input, @@ -1094,7 +1089,7 @@ footer .ui.language .menu { width: 50%!important; } .repository.new.repo .ui.form #auto-init { - margin-left: 265px; + margin-left: 265px !important; } .new.webhook form .help { margin-left: 25px; @@ -2340,18 +2335,14 @@ footer .ui.language .menu { } .settings .hook.list .item a { /* These are technically the same, but use both */ - overflow-wrap: break-word; word-wrap: break-word; -ms-word-break: break-all; /* This is the dangerous one in WebKit, as it breaks things wherever */ - word-break: break-all; /* Instead use this non-standard one: */ - word-break: break-word; /* Adds a hyphen where the word breaks, if supported (No Blink) */ - -ms-hyphens: auto; -moz-hyphens: auto; -webkit-hyphens: auto; @@ -2550,18 +2541,18 @@ footer .ui.language .menu { text-align: center; } .organization.new.org form .header { - padding-left: 280px; + padding-left: 280px !important; } .organization.new.org form .inline.field > label { text-align: right; - width: 250px; + width: 250px !important; word-wrap: break-word; } .organization.new.org form .help { - margin-left: 265px; + margin-left: 265px !important; } .organization.new.org form .optional .title { - margin-left: 250px; + margin-left: 250px !important; } .organization.new.org form input, .organization.new.org form textarea { diff --git a/public/js/gogs.js b/public/js/index.js index d7fca17423..d7fca17423 100644 --- a/public/js/gogs.js +++ b/public/js/index.js diff --git a/public/less/gogs.less b/public/less/index.less index d885195f5f..d885195f5f 100644 --- a/public/less/gogs.less +++ b/public/less/index.less |