diff options
author | Xaver Maierhofer <xaver.maierhofer@xwissen.info> | 2019-05-14 02:54:23 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2019-05-14 08:54:23 +0800 |
commit | 3957b40021a7e017fc118a72fb5de38034427f00 (patch) | |
tree | 964ebe0d9c2b98a21ae6339c534c8a5233b9161a /public | |
parent | c0fc6cd9a8ae438f5759f2ee88d395bf7e1dbe1d (diff) | |
download | gitea-3957b40021a7e017fc118a72fb5de38034427f00.tar.gz gitea-3957b40021a7e017fc118a72fb5de38034427f00.zip |
Add less linter via npx (#6936)
Diffstat (limited to 'public')
-rw-r--r-- | public/css/index.css | 108 | ||||
-rw-r--r-- | public/css/theme-arc-green.css | 22 | ||||
-rw-r--r-- | public/less/_admin.less | 5 | ||||
-rw-r--r-- | public/less/_base.less | 110 | ||||
-rw-r--r-- | public/less/_dashboard.less | 6 | ||||
-rw-r--r-- | public/less/_editor.less | 8 | ||||
-rw-r--r-- | public/less/_explore.less | 10 | ||||
-rw-r--r-- | public/less/_form.less | 22 | ||||
-rw-r--r-- | public/less/_home.less | 6 | ||||
-rw-r--r-- | public/less/_markdown.less | 41 | ||||
-rw-r--r-- | public/less/_organization.less | 6 | ||||
-rw-r--r-- | public/less/_repository.less | 184 | ||||
-rw-r--r-- | public/less/_review.less | 8 | ||||
-rw-r--r-- | public/less/_tribute.less | 5 | ||||
-rw-r--r-- | public/less/themes/_base.less | 2 | ||||
-rw-r--r-- | public/less/themes/arc-green.less | 386 |
16 files changed, 558 insertions, 371 deletions
diff --git a/public/css/index.css b/public/css/index.css index 8e3e4293e5..d53d4fb157 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -3,7 +3,7 @@ .tribute-container li{padding:8px 12px;border-bottom:1px solid #dcdcdc} .tribute-container li img{display:inline-block;vertical-align:middle;width:28px;height:28px;margin-right:5px} .tribute-container li span.fullname{font-weight:400;font-size:.8rem;margin-left:3px} -.tribute-container li.highlight,.tribute-container li:hover{background:#2185D0;color:#fff} +.tribute-container li.highlight,.tribute-container li:hover{background:#2185d0;color:#fff} .emoji{width:1.5em;height:1.5em;display:inline-block;background-size:contain} .ui.label .emoji{height:1.2em!important} @font-face{font-family:Lato;src:url(../vendor/assets/lato-fonts/lato-regular.eot);src:url(../vendor/assets/lato-fonts/lato-regular.eot?#iefix) format('embedded-opentype'),url(../vendor/assets/lato-fonts/lato-regular.woff2) format('woff2'),url(../vendor/assets/lato-fonts/lato-regular.woff) format('woff'),url(../vendor/assets/lato-fonts/lato-regular.ttf) format('truetype');font-weight:400;font-style:normal} @@ -53,7 +53,7 @@ code.wrap,pre.wrap{white-space:pre-wrap;word-break:break-all;overflow-wrap:break .dont-break-out{overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto} .full.height{flex-grow:1;padding-bottom:80px} .following.bar{z-index:900;left:0;margin:0!important} -.following.bar.light{background-color:#fff;border-bottom:1px solid #DDD;box-shadow:0 2px 3px rgba(0,0,0,.04)} +.following.bar.light{background-color:#fff;border-bottom:1px solid #ddd;box-shadow:0 2px 3px rgba(0,0,0,.04)} .following.bar .column .menu{margin-top:0} .following.bar .top.menu a.item.brand{padding-left:0} .following.bar .brand .ui.mini.image{width:30px} @@ -85,7 +85,7 @@ code.wrap,pre.wrap{white-space:pre-wrap;word-break:break-all;overflow-wrap:break .ui.dropdown .menu .menu>.item>.floating.label{z-index:21} .ui .text.red{color:#d95c5c!important} .ui .text.red a{color:#d95c5c!important} -.ui .text.red a:hover{color:#E67777!important} +.ui .text.red a:hover{color:#e67777!important} .ui .text.blue{color:#428bca!important} .ui .text.blue a{color:#15c!important} .ui .text.blue a:hover{color:#428bca!important} @@ -97,7 +97,7 @@ code.wrap,pre.wrap{white-space:pre-wrap;word-break:break-all;overflow-wrap:break .ui .text.light.grey{color:#888!important} .ui .text.green{color:#6cc644!important} .ui .text.purple{color:#6e5494!important} -.ui .text.yellow{color:#FBBD08!important} +.ui .text.yellow{color:#fbbd08!important} .ui .text.gold{color:#a1882b!important} .ui .text.left{text-align:left!important} .ui .text.right{text-align:right!important} @@ -113,8 +113,8 @@ code.wrap,pre.wrap{white-space:pre-wrap;word-break:break-all;overflow-wrap:break .ui.bottom.attached.message .pull-right{color:#000} .ui.bottom.attached.message .pull-right>span,.ui.bottom.attached.message>span{color:#21ba45} .ui .header>i+.content{padding-left:.75rem;vertical-align:middle} -.ui .warning.header{background-color:#F9EDBE!important;border-color:#F0C36D} -.ui .warning.segment{border-color:#F0C36D} +.ui .warning.header{background-color:#f9edbe!important;border-color:#efc16b} +.ui .warning.segment{border-color:#efc16b} .ui .info.segment{border:1px solid #c5d5dd} .ui .info.segment.top{background-color:#e6f1f6!important} .ui .info.segment.top h3,.ui .info.segment.top h4{margin-top:0} @@ -134,7 +134,7 @@ code.wrap,pre.wrap{white-space:pre-wrap;word-break:break-all;overflow-wrap:break .ui .background.light.grey{background-color:#888!important} .ui .background.green{background-color:#6cc644!important} .ui .background.purple{background-color:#6e5494!important} -.ui .background.yellow{background-color:#FBBD08!important} +.ui .background.yellow{background-color:#fbbf09!important} .ui .background.gold{background-color:#a1882b!important} .ui .branch-tag-choice{line-height:20px} @media only screen and (max-width:767px){.ui.pagination.menu .item.navigation span.navigation_label,.ui.pagination.menu .item:not(.active):not(.navigation){display:none} @@ -147,7 +147,7 @@ footer{background-color:#fff;border-top:1px solid #d6d6d6;width:100%;flex-basis: footer .container{width:100vw!important;padding:0 .5rem} footer .container .fa{width:16px;text-align:center;color:#428bca} footer .container .links>*{border-left:1px solid #d6d6d6;padding-left:8px;margin-left:5px} -footer .container .links>:first-child{border-left:none} +footer .container .links>:first-child{border-left:0} footer .ui.language .menu{max-height:500px;overflow-y:auto;margin-bottom:7px} footer .ui.left,footer .ui.right{line-height:40px} .hide{display:none} @@ -180,7 +180,7 @@ footer .ui.left,footer .ui.right{line-height:40px} @media only screen and (max-width:991px) and (min-width:768px){.ui.container{width:95%} } .hljs{background:inherit!important;padding:0!important} -.ui.menu.new-menu{justify-content:center!important;padding-top:15px!important;margin-top:-15px!important;margin-bottom:15px!important;background-color:#FAFAFA!important;border-width:1px!important} +.ui.menu.new-menu{justify-content:center!important;padding-top:15px!important;margin-top:-15px!important;margin-bottom:15px!important;background-color:#fafafa!important;border-width:1px!important} @media only screen and (max-width:1200px){.ui.menu.new-menu{overflow-x:auto!important;justify-content:left!important;padding-bottom:5px} .ui.menu.new-menu::-webkit-scrollbar{height:8px;display:none} .ui.menu.new-menu:hover::-webkit-scrollbar{display:block} @@ -236,7 +236,7 @@ footer .ui.left,footer .ui.right{line-height:40px} .markdown:not(code) h6 .anchor{line-height:1.1} .markdown:not(code) blockquote,.markdown:not(code) dl,.markdown:not(code) ol,.markdown:not(code) p,.markdown:not(code) pre,.markdown:not(code) table,.markdown:not(code) ul{margin-top:0;margin-bottom:16px} .markdown:not(code) blockquote{margin-left:0} -.markdown:not(code) hr{height:4px;padding:0;margin:16px 0;background-color:#e7e7e7;border:0 none} +.markdown:not(code) hr{height:4px;padding:0;margin:16px 0;background-color:#e7e7e7;border:0} .markdown:not(code) ol,.markdown:not(code) ul{padding-left:2em} .markdown:not(code) ol.no-list,.markdown:not(code) ul.no-list{padding:0;list-style-type:none} .markdown:not(code) ol ol,.markdown:not(code) ol ul,.markdown:not(code) ul ol,.markdown:not(code) ul ul{margin-top:0;margin-bottom:0} @@ -248,7 +248,7 @@ footer .ui.left,footer .ui.right{line-height:40px} .markdown:not(code) blockquote{padding:0 15px;color:#777;border-left:4px solid #ddd} .markdown:not(code) blockquote>:first-child{margin-top:0} .markdown:not(code) blockquote>:last-child{margin-bottom:0} -.markdown:not(code) table{width:auto;overflow:auto;word-break:normal;word-break:keep-all;display:block} +.markdown:not(code) table{width:auto;overflow:auto;word-break:keep-all;display:block} .markdown:not(code) table th{font-weight:700} .markdown:not(code) table td,.markdown:not(code) table th{padding:6px 13px!important;border:1px solid #ddd!important} .markdown:not(code) table tr{background-color:#fff;border-top:1px solid #ccc} @@ -405,8 +405,8 @@ footer .ui.left,footer .ui.right{line-height:40px} .repository .metas .ui.list a .text{color:#444} .repository .metas .ui.list a .text:hover{color:#000} .repository .metas #deadlineForm input{width:12.8rem;border-radius:4px 0 0 4px;border-right:0;white-space:nowrap} -.repository .header-wrapper{background-color:#FAFAFA;margin-top:-15px;padding-top:15px} -.repository .header-wrapper .ui.tabs.divider{border-bottom:none} +.repository .header-wrapper{background-color:#fafafa;margin-top:-15px;padding-top:15px} +.repository .header-wrapper .ui.tabs.divider{border-bottom:0} .repository .header-wrapper .ui.tabular .octicon{margin-right:5px} .repository .filter.menu .label.color{border-radius:3px;margin-left:15px;padding:0 8px} .repository .filter.menu .octicon{float:left;margin:5px -7px 0 -5px;width:16px} @@ -417,7 +417,7 @@ footer .ui.left,footer .ui.right{line-height:40px} .repository .select-label .item{max-width:250px;overflow:hidden;text-overflow:ellipsis} .repository .select-label .desc{padding-left:16px} .repository .ui.tabs.container{margin-top:14px;margin-bottom:0} -.repository .ui.tabs.container .ui.menu{border-bottom:none} +.repository .ui.tabs.container .ui.menu{border-bottom:0} .repository .ui.tabs.divider{margin-top:0;margin-bottom:20px} .repository #clone-panel{width:350px} @media only screen and (max-width:768px){.repository #clone-panel{width:100%} @@ -446,7 +446,7 @@ footer .ui.left,footer .ui.right{line-height:40px} .repository.file.list #repo-files-table td.age{width:120px} .repository.file.list #repo-files-table td .truncate{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:top;white-space:nowrap} .repository.file.list #repo-files-table td.message .isSigned{cursor:default} -.repository.file.list #repo-files-table tr:hover{background-color:#ffE} +.repository.file.list #repo-files-table tr:hover{background-color:#ffe} .repository.file.list #repo-files-table .jumpable-path{color:#888} .repository.file.list .non-diff-file-content .header .icon{font-size:1em} .repository.file.list .non-diff-file-content .header .file-actions{margin-top:0;margin-bottom:-5px;padding-left:20px} @@ -486,7 +486,7 @@ footer .ui.left,footer .ui.right{line-height:40px} .repository.file.editor .commit-form-wrapper .commit-avatar{float:left;margin-left:-64px;width:3em;height:auto} .repository.file.editor .commit-form-wrapper .commit-form{position:relative;padding:15px;margin-bottom:10px;border:1px solid #ddd;border-radius:3px} .repository.file.editor .commit-form-wrapper .commit-form:after,.repository.file.editor .commit-form-wrapper .commit-form:before{right:100%;top:20px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none} -.repository.file.editor .commit-form-wrapper .commit-form:before{border-right-color:#D4D4D5;border-width:9px;margin-top:-9px} +.repository.file.editor .commit-form-wrapper .commit-form:before{border-right-color:#d3d3d4;border-width:9px;margin-top:-9px} .repository.file.editor .commit-form-wrapper .commit-form:after{border-right-color:#f7f7f7;border-width:8px;margin-top:-8px} .repository.file.editor .commit-form-wrapper .commit-form:after{border-right-color:#fff} .repository.file.editor .commit-form-wrapper .commit-form .quick-pull-choice .branch-name{display:inline-block;padding:3px 6px;font:12px 'SF Mono',Consolas,Menlo,'Liberation Mono',Monaco,'Lucida Console',monospace;color:rgba(0,0,0,.65);background-color:rgba(209,227,237,.45);border-radius:3px} @@ -499,7 +499,7 @@ footer .ui.left,footer .ui.right{line-height:40px} .repository.new.issue .comment.form .comment .avatar{width:3em} .repository.new.issue .comment.form .content{margin-left:4em} .repository.new.issue .comment.form .content:after,.repository.new.issue .comment.form .content:before{right:100%;top:20px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none} -.repository.new.issue .comment.form .content:before{border-right-color:#D4D4D5;border-width:9px;margin-top:-9px} +.repository.new.issue .comment.form .content:before{border-right-color:#d3d3d4;border-width:9px;margin-top:-9px} .repository.new.issue .comment.form .content:after{border-right-color:#f7f7f7;border-width:8px;margin-top:-8px} .repository.new.issue .comment.form .content:after{border-right-color:#fff} .repository.new.issue .comment.form .content .markdown{font-size:14px} @@ -512,10 +512,10 @@ footer .ui.left,footer .ui.right{line-height:40px} .repository.view.issue .title .index{font-weight:300;color:#aaa;letter-spacing:-1px} .repository.view.issue .title .label{margin-right:10px} .repository.view.issue .title .edit-zone{margin-top:10px} -.repository.view.issue .pull-desc code{color:#0166E6} +.repository.view.issue .pull-desc code{color:#0166e6} .repository.view.issue .pull.tabular.menu{margin-bottom:10px} .repository.view.issue .pull.tabular.menu .octicon{margin-right:5px} -.repository.view.issue .pull.tab.segment{border:none;padding:10px 0 0;box-shadow:none;background-color:inherit} +.repository.view.issue .pull.tab.segment{border:0;padding:10px 0 0;box-shadow:none;background-color:inherit} .repository.view.issue .pull .merge.box .avatar{margin-left:10px;margin-top:10px} .repository.view.issue .pull .review-item .avatar,.repository.view.issue .pull .review-item .type-icon{float:none;display:inline-block;text-align:center;vertical-align:middle} .repository.view.issue .pull .review-item .avatar .octicon,.repository.view.issue .pull .review-item .type-icon .octicon{width:23px;font-size:23px;margin-top:.45em} @@ -532,7 +532,7 @@ footer .ui.left,footer .ui.right{line-height:40px} .repository.view.issue .comment-list .comment .content{margin-left:4em} .repository.view.issue .comment-list .comment .content>.header{font-weight:400;padding:auto 15px;position:relative;color:#767676;background-color:#f7f7f7;border-bottom:1px solid #eee;border-top-left-radius:3px;border-top-right-radius:3px} .repository.view.issue .comment-list .comment .content>.header:after,.repository.view.issue .comment-list .comment .content>.header:before{right:100%;top:20px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none} -.repository.view.issue .comment-list .comment .content>.header:before{border-right-color:#D4D4D5;border-width:9px;margin-top:-9px} +.repository.view.issue .comment-list .comment .content>.header:before{border-right-color:#d3d3d4;border-width:9px;margin-top:-9px} .repository.view.issue .comment-list .comment .content>.header:after{border-right-color:#f7f7f7;border-width:8px;margin-top:-8px} .repository.view.issue .comment-list .comment .content>.header .text{max-width:78%;padding-top:10px;padding-bottom:10px} .repository.view.issue .comment-list .comment .content .markdown{font-size:14px} @@ -545,7 +545,7 @@ footer .ui.left,footer .ui.right{line-height:40px} .repository.view.issue .comment-list .comment .content>.bottom.segment span.ui.image{font-size:128px;color:#000} .repository.view.issue .comment-list .comment .content>.bottom.segment span.ui.image:hover{color:#000} .repository.view.issue .comment-list .comment .ui.form .field:first-child{clear:none} -.repository.view.issue .comment-list .comment .ui.form .tab.segment{border:none;padding:10px 0 0} +.repository.view.issue .comment-list .comment .ui.form .tab.segment{border:0;padding:10px 0 0} .repository.view.issue .comment-list .comment .ui.form textarea{height:200px;font-family:'SF Mono',Consolas,Menlo,'Liberation Mono',Monaco,'Lucida Console',monospace} .repository.view.issue .comment-list .comment .edit.buttons{margin-top:10px} .repository.view.issue .comment-list .event{position:relative;margin:15px 0 15px 79px;padding-left:25px} @@ -564,19 +564,19 @@ footer .ui.left,footer .ui.right{line-height:40px} .repository .comment.form .ui.comments{margin-top:-12px;max-width:100%} .repository .comment.form .content .field:first-child{clear:none} .repository .comment.form .content .form:after,.repository .comment.form .content .form:before{right:100%;top:20px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none} -.repository .comment.form .content .form:before{border-right-color:#D4D4D5;border-width:9px;margin-top:-9px} +.repository .comment.form .content .form:before{border-right-color:#d3d3d4;border-width:9px;margin-top:-9px} .repository .comment.form .content .form:after{border-right-color:#f7f7f7;border-width:8px;margin-top:-8px} .repository .comment.form .content .form:after{border-right-color:#fff} -.repository .comment.form .content .tab.segment{border:none;padding:10px 0 0} +.repository .comment.form .content .tab.segment{border:0;padding:10px 0 0} .repository .comment.form .content textarea{height:200px;font-family:'SF Mono',Consolas,Menlo,'Liberation Mono',Monaco,'Lucida Console',monospace} .repository .label.list{list-style:none;padding-top:15px} -.repository .label.list .item{padding-top:10px;padding-bottom:10px;border-bottom:1px dashed #AAA} +.repository .label.list .item{padding-top:10px;padding-bottom:10px;border-bottom:1px dashed #aaa} .repository .label.list .item a{font-size:15px;padding-top:5px;padding-right:10px;color:#666} .repository .label.list .item a:hover{color:#000} .repository .label.list .item a.open-issues{margin-right:30px} .repository .label.list .item .ui.label{font-size:1em} .repository .milestone.list{list-style:none;padding-top:15px} -.repository .milestone.list>.item{padding-top:10px;padding-bottom:10px;border-bottom:1px dashed #AAA} +.repository .milestone.list>.item{padding-top:10px;padding-bottom:10px;border-bottom:1px dashed #aaa} .repository .milestone.list>.item>a{padding-top:5px;padding-right:10px;color:#000} .repository .milestone.list>.item>a:hover{color:#4078c0} .repository .milestone.list>.item .ui.progress{width:40%;padding:0;border:0;margin:0} @@ -592,7 +592,7 @@ footer .ui.left,footer .ui.right{line-height:40px} .repository.new.milestone #deadline{width:150px} .repository.compare.pull .choose.branch .octicon{padding-right:10px} .repository.compare.pull .comment.form .content:after,.repository.compare.pull .comment.form .content:before{right:100%;top:20px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none} -.repository.compare.pull .comment.form .content:before{border-right-color:#D4D4D5;border-width:9px;margin-top:-9px} +.repository.compare.pull .comment.form .content:before{border-right-color:#d3d3d4;border-width:9px;margin-top:-9px} .repository.compare.pull .comment.form .content:after{border-right-color:#f7f7f7;border-width:8px;margin-top:-8px} .repository.compare.pull .comment.form .content:after{border-right-color:#fff} .repository .filter.dropdown .menu{margin-top:1px!important} @@ -610,14 +610,14 @@ footer .ui.left,footer .ui.right{line-height:40px} .repository #commits-table thead .shatd{text-align:center} .repository #commits-table td.sha .sha.label{margin:0} .repository #commits-table.ui.basic.striped.table tbody tr:nth-child(2n){background-color:rgba(0,0,0,.02)!important} -.repository #commits-table td.sha .sha.label.isSigned,.repository #repo-files-table .sha.label.isSigned{border:1px solid #BBB} -.repository #commits-table td.sha .sha.label.isSigned .detail.icon,.repository #repo-files-table .sha.label.isSigned .detail.icon{background:#FAFAFA;margin:-6px -10px -4px 0;padding:5px 3px 5px 6px;border-left:1px solid #BBB;border-top-left-radius:0;border-bottom-left-radius:0} -.repository #commits-table td.sha .sha.label.isSigned.isVerified,.repository #repo-files-table .sha.label.isSigned.isVerified{border:1px solid #21BA45;background:rgba(33,186,69,.1)} +.repository #commits-table td.sha .sha.label.isSigned,.repository #repo-files-table .sha.label.isSigned{border:1px solid #bbb} +.repository #commits-table td.sha .sha.label.isSigned .detail.icon,.repository #repo-files-table .sha.label.isSigned .detail.icon{background:#fafafa;margin:-6px -10px -4px 0;padding:5px 3px 5px 6px;border-left:1px solid #bbb;border-top-left-radius:0;border-bottom-left-radius:0} +.repository #commits-table td.sha .sha.label.isSigned.isVerified,.repository #repo-files-table .sha.label.isSigned.isVerified{border:1px solid #21ba45;background:rgba(33,186,69,.1)} .repository #commits-table td.sha .sha.label.isSigned.isVerified .detail.icon,.repository #repo-files-table .sha.label.isSigned.isVerified .detail.icon{border-left:1px solid rgba(33,186,69,.5)} .repository .diff-detail-box{padding:7px 0;background:#fff;line-height:30px} .repository .diff-detail-box>div:after{clear:both;content:"";display:block} .repository .diff-detail-box ol{clear:both;padding-left:0;margin-top:5px;margin-bottom:28px} -.repository .diff-detail-box ol li{list-style:none;padding-bottom:4px;margin-bottom:4px;border-bottom:1px dashed #DDD;padding-left:6px} +.repository .diff-detail-box ol li{list-style:none;padding-bottom:4px;margin-bottom:4px;border-bottom:1px dashed #ddd;padding-left:6px} .repository .diff-detail-box span.status{display:inline-block;width:12px;height:12px;margin-right:8px;vertical-align:middle} .repository .diff-detail-box span.status.modify{background-color:#f0db88} .repository .diff-detail-box span.status.add{background-color:#b4e2b4} @@ -631,15 +631,15 @@ footer .ui.left,footer .ui.right{line-height:40px} .repository .diff-box .header .file{flex:1;color:#888;word-break:break-all} .repository .diff-box .header .button{margin:-5px 0 -5px 12px;padding:8px 10px;flex:0 0 auto} .repository .diff-file-box .header{background-color:#f7f7f7} -.repository .diff-file-box .file-body.file-code .lines-num{text-align:right;color:#A7A7A7;background:#fafafa;width:1%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top} +.repository .diff-file-box .file-body.file-code .lines-num{text-align:right;color:#a6a6a6;background:#fafafa;width:1%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top} .repository .diff-file-box .file-body.file-code .lines-num span.fold{display:block;text-align:center} -.repository .diff-file-box .file-body.file-code .lines-num-old{border-right:1px solid #DDD} +.repository .diff-file-box .file-body.file-code .lines-num-old{border-right:1px solid #ddd} .repository .diff-file-box .code-diff{font-size:12px} -.repository .diff-file-box .code-diff td{padding:0 0 0 10px;border-top:none} +.repository .diff-file-box .code-diff td{padding:0 0 0 10px;border-top:0} .repository .diff-file-box .code-diff pre{margin:0} .repository .diff-file-box .code-diff .lines-num{border-color:#d4d4d5;border-right-width:1px;border-right-style:solid;padding:0 5px} .repository .diff-file-box .code-diff tbody tr td.halfwidth{width:49%} -.repository .diff-file-box .code-diff tbody tr td.tag-code,.repository .diff-file-box .code-diff tbody tr.tag-code td{background-color:#F0F0F0!important;border-color:#D2CECE!important;padding-top:8px;padding-bottom:8px} +.repository .diff-file-box .code-diff tbody tr td.tag-code,.repository .diff-file-box .code-diff tbody tr.tag-code td{background-color:#f0f0f0!important;border-color:#d3cfcf!important;padding-top:8px;padding-bottom:8px} .repository .diff-file-box .code-diff tbody tr .removed-code{background-color:#f99} .repository .diff-file-box .code-diff tbody tr .added-code{background-color:#9f9} .repository .diff-file-box .code-diff-unified tbody tr.del-code td{background-color:#ffe0e0!important;border-color:#f1c0c0!important} @@ -659,19 +659,19 @@ footer .ui.left,footer .ui.right{line-height:40px} .repository.quickstart .guide .clone.button:first-child{border-radius:.28571429rem 0 0 .28571429rem} .repository.quickstart .guide .ui.action.small.input{width:100%} .repository.quickstart .guide #repo-clone-url{border-radius:0;padding:5px 10px;font-size:1.2em} -.repository.release #release-list{border-top:1px solid #DDD;margin-top:20px;padding-top:15px} +.repository.release #release-list{border-top:1px solid #ddd;margin-top:20px;padding-top:15px} .repository.release #release-list>li{list-style:none} .repository.release #release-list>li .detail,.repository.release #release-list>li .meta{padding-top:30px;padding-bottom:40px} .repository.release #release-list>li .meta{text-align:right;position:relative} .repository.release #release-list>li .meta .tag:not(.icon){display:block;margin-top:15px} .repository.release #release-list>li .meta .commit{display:block;margin-top:10px} -.repository.release #release-list>li .detail{border-left:1px solid #DDD} +.repository.release #release-list>li .detail{border-left:1px solid #ddd} .repository.release #release-list>li .detail .author img{margin-bottom:-3px} .repository.release #release-list>li .detail .download{margin-top:20px} .repository.release #release-list>li .detail .download>a .octicon{margin-left:5px;margin-right:5px} .repository.release #release-list>li .detail .download .list{padding-left:0;border-top:1px solid #eee} .repository.release #release-list>li .detail .download .list li{list-style:none;display:block;padding-top:8px;padding-bottom:8px;border-bottom:1px solid #eee} -.repository.release #release-list>li .detail .dot{width:9px;height:9px;background-color:#ccc;z-index:999;position:absolute;display:block;left:-5px;top:40px;border-radius:6px;border:1px solid #FFF} +.repository.release #release-list>li .detail .dot{width:9px;height:9px;background-color:#ccc;z-index:999;position:absolute;display:block;left:-5px;top:40px;border-radius:6px;border:1px solid #fff} .repository.new.release .target{min-width:500px} .repository.new.release .target #tag-name{margin-top:-4px} .repository.new.release .target .at{margin-left:-5px;margin-right:5px} @@ -683,7 +683,7 @@ footer .ui.left,footer .ui.right{line-height:40px} @media only screen and (max-width:768px){.repository.new.release .field button{margin-bottom:1em} } .repository.forks .list{margin-top:0} -.repository.forks .list .item{padding-top:10px;padding-bottom:10px;border-bottom:1px solid #DDD} +.repository.forks .list .item{padding-top:10px;padding-bottom:10px;border-bottom:1px solid #ddd} .repository.forks .list .item .ui.avatar{float:left;margin-right:5px} .repository.forks .list .item .link{padding-top:5px} .repository.wiki.start .ui.segment{padding-top:70px;padding-bottom:100px} @@ -699,7 +699,7 @@ footer .ui.left,footer .ui.right{line-height:40px} } .repository.settings.collaboration .collaborator.list{padding:0} .repository.settings.collaboration .collaborator.list>.item{margin:0;line-height:2em} -.repository.settings.collaboration .collaborator.list>.item:not(:last-child){border-bottom:1px solid #DDD} +.repository.settings.collaboration .collaborator.list>.item:not(:last-child){border-bottom:1px solid #ddd} .repository.settings.collaboration #repo-collab-form #search-user-box .results{left:7px} .repository.settings.collaboration #repo-collab-form .ui.button{margin-left:5px;margin-top:-3px} .repository.settings.branches .protected-branches .selection.dropdown{width:300px} @@ -711,9 +711,9 @@ footer .ui.left,footer .ui.right{line-height:40px} .repository.settings.branches .branch-protection .whitelist .dropdown img{display:inline-block} .repository.settings.webhook .events .column{padding-bottom:0} .repository.settings.webhook .events .help{font-size:13px;margin-left:26px;padding-top:0} -.repository .ui.attached.isSigned.isVerified:not(.positive){border-left:1px solid #A3C293;border-right:1px solid #A3C293} -.repository .ui.attached.isSigned.isVerified.top:not(.positive){border-top:1px solid #A3C293} -.repository .ui.attached.isSigned.isVerified:not(.positive):last-child{border-bottom:1px solid #A3C293} +.repository .ui.attached.isSigned.isVerified:not(.positive){border-left:1px solid #a3c293;border-right:1px solid #a3c293} +.repository .ui.attached.isSigned.isVerified.top:not(.positive){border-top:1px solid #a3c293} +.repository .ui.attached.isSigned.isVerified:not(.positive):last-child{border-bottom:1px solid #a3c293} .repository .ui.segment.sub-menu{padding:7px;line-height:0} .repository .ui.segment.sub-menu .list{width:100%;display:flex} .repository .ui.segment.sub-menu .list .item{width:100%;border-radius:3px} @@ -743,7 +743,7 @@ footer .ui.left,footer .ui.right{line-height:40px} #issue-actions.hide{display:none} .ui.checkbox.issue-checkbox{vertical-align:middle} .issue.list{list-style:none} -.issue.list>.item{padding-top:15px;padding-bottom:10px;border-bottom:1px dashed #AAA} +.issue.list>.item{padding-top:15px;padding-bottom:10px;border-bottom:1px dashed #aaa} .issue.list>.item .title{color:#444;font-size:15px;font-weight:700;margin:0 6px} .issue.list>.item .title:hover{color:#000} .issue.list>.item .comment{padding-right:10px;color:#666} @@ -756,16 +756,16 @@ footer .ui.left,footer .ui.right{line-height:40px} .issue.list>.item .desc .assignee{margin-top:-5px;margin-right:5px} .issue.list>.item .desc .overdue{color:red} .page.buttons{padding-top:15px} -.ui.form .dropzone{width:100%;margin-bottom:10px;border:2px dashed #0087F7;box-shadow:none!important} +.ui.form .dropzone{width:100%;margin-bottom:10px;border:2px dashed #0087f5;box-shadow:none!important} .ui.form .dropzone .dz-error-message{top:140px} .settings .content{margin-top:2px} .settings .content .segment,.settings .content>.header{box-shadow:0 1px 2px 0 rgba(34,36,38,.15)} -.settings .list>.item .green{color:#21BA45} +.settings .list>.item .green{color:#21ba45} .settings .list>.item:not(:first-child){border-top:1px solid #eaeaea;padding:1rem;margin:15px -1rem -1rem -1rem} .settings .list>.item>.mega-octicon{display:table-cell} .settings .list>.item>.mega-octicon+.content{display:table-cell;padding:0 0 0 .5em;vertical-align:top} .settings .list>.item .info{margin-top:10px} -.settings .list>.item .info .tab.segment{border:none;padding:10px 0 0} +.settings .list>.item .info .tab.segment{border:0;padding:10px 0 0} .settings .list.key .meta{padding-top:5px;color:#666} .settings .list.email>.item:not(:first-child){min-height:60px} .settings .list.collaborator>.item{padding:0} @@ -778,7 +778,7 @@ footer .ui.left,footer .ui.right{line-height:40px} .edit-label.modal .form .precolors,.new-label.segment .form .precolors{padding-left:0;padding-right:0;margin:3px 10px auto 10px;width:120px} .edit-label.modal .form .precolors .color,.new-label.segment .form .precolors .color{float:left;width:15px;height:15px} #avatar-arrow:after,#avatar-arrow:before{right:100%;top:20px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none} -#avatar-arrow:before{border-right-color:#D4D4D5;border-width:9px;margin-top:-9px} +#avatar-arrow:before{border-right-color:#d3d3d4;border-width:9px;margin-top:-9px} #avatar-arrow:after{border-right-color:#f7f7f7;border-width:8px;margin-top:-8px} #delete-repo-modal .ui.message,#transfer-repo-modal .ui.message{width:100%!important} .tab-size-1{-moz-tab-size:1!important;-o-tab-size:1!important;tab-size:1!important} @@ -817,13 +817,13 @@ tbody.commit-list{vertical-align:baseline} .repo-buttons .disabled-repo-button .label{opacity:.5} .repo-buttons .disabled-repo-button a.button{opacity:.5;cursor:not-allowed} .repo-buttons .disabled-repo-button a.button:hover{background:0 0!important;color:rgba(0,0,0,.6)!important;box-shadow:0 0 0 1px rgba(34,36,38,.15) inset!important} -.repo-buttons .ui.labeled.button>.label{border-left:none!important;margin:0!important} +.repo-buttons .ui.labeled.button>.label{border-left:0!important;margin:0!important} .CodeMirror{font:14px 'SF Mono',Consolas,Menlo,'Liberation Mono',Monaco,'Lucida Console',monospace} .CodeMirror.cm-s-default{border-radius:3px;padding:0!important} .CodeMirror .cm-comment{background:inherit!important} .repository.file.editor .tab[data-tab=write]{padding:0!important} -.repository.file.editor .tab[data-tab=write] .editor-toolbar{border:none!important} -.repository.file.editor .tab[data-tab=write] .CodeMirror{border-left:none;border-right:none;border-bottom:none} +.repository.file.editor .tab[data-tab=write] .editor-toolbar{border:0!important} +.repository.file.editor .tab[data-tab=write] .CodeMirror{border-left:0;border-right:0;border-bottom:0} .organization{padding-top:15px} .organization .head .ui.header .text{vertical-align:middle;font-size:1.6rem;margin-left:15px} .organization .head .ui.header .ui.right{margin-top:5px} @@ -858,7 +858,7 @@ tbody.commit-list{vertical-align:baseline} .organization.teams .detail .item{padding:10px 15px} .organization.teams .detail .item:not(:last-child){border-bottom:1px solid #eee} .organization.teams .members .item,.organization.teams .repositories .item{padding:10px 20px;line-height:32px} -.organization.teams .members .item:not(:last-child),.organization.teams .repositories .item:not(:last-child){border-bottom:1px solid #DDD} +.organization.teams .members .item:not(:last-child),.organization.teams .repositories .item:not(:last-child){border-bottom:1px solid #ddd} .organization.teams .members .item .button,.organization.teams .repositories .item .button{padding:9px 10px} .organization.teams #add-member-form input,.organization.teams #add-repo-form input{margin-left:0} .organization.teams #add-member-form .ui.button,.organization.teams #add-repo-form .ui.button{margin-left:5px;margin-top:-3px} @@ -920,7 +920,7 @@ tbody.commit-list{vertical-align:baseline} .feeds .list .header .ui.label{margin-top:-4px;padding:4px 5px;font-weight:400} .feeds .list .header .plus.icon{margin-top:5px} .feeds .list ul{list-style:none;margin:0;padding-left:0} -.feeds .list ul li:not(:last-child){border-bottom:1px solid #EAEAEA} +.feeds .list ul li:not(:last-child){border-bottom:1px solid #ebebeb} .feeds .list ul li.private{background-color:#fcf8e9} .feeds .list ul li a{padding:6px 1.2em;display:block} .feeds .list ul li a .octicon{color:#888} @@ -942,7 +942,7 @@ tbody.commit-list{vertical-align:baseline} .admin dl.admin-dl-horizontal dt{font-weight:bolder;float:left;width:285px;clear:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap} .admin.config #test-mail-btn{margin-left:5px} .explore{padding-top:15px} -.explore .navbar{justify-content:center;padding-top:15px!important;margin-top:-15px!important;margin-bottom:15px!important;background-color:#FAFAFA!important;border-width:1px!important} +.explore .navbar{justify-content:center;padding-top:15px!important;margin-top:-15px!important;margin-bottom:15px!important;background-color:#fafafa!important;border-width:1px!important} .explore .navbar .octicon{width:16px;text-align:center;margin-right:5px} .ui.repository.list .item{padding-bottom:25px} .ui.repository.list .item:not(:first-child){border-top:1px solid #eee;padding-top:25px} @@ -965,7 +965,7 @@ tbody.commit-list{vertical-align:baseline} .focus-lines-new .ui.button.add-code-comment.add-code-comment-right,.focus-lines-old .ui.button.add-code-comment.add-code-comment-left{opacity:1} .comment-code-cloud{padding:4px;position:relative;border:1px solid #f1f1f1;margin:13px 10px 5px auto} .comment-code-cloud:before{content:" ";width:0;height:0;border-left:13px solid transparent;border-right:13px solid transparent;border-bottom:13px solid #f1f1f1;left:20px;position:absolute;top:-13px} -.comment-code-cloud .attached.tab{border:none;padding:0;margin:0} +.comment-code-cloud .attached.tab{border:0;padding:0;margin:0} .comment-code-cloud .attached.tab.markdown{padding:1em;min-height:168px} .comment-code-cloud .attached.header{padding:.1rem 1rem} .comment-code-cloud .right.menu.options .item{padding:.85714286em .442857em;cursor:pointer} diff --git a/public/css/theme-arc-green.css b/public/css/theme-arc-green.css index b78ffad05c..dd2b13542a 100644 --- a/public/css/theme-arc-green.css +++ b/public/css/theme-arc-green.css @@ -47,9 +47,9 @@ footer{background:#2e323e;border-top:1px solid #313131} .ui.dropdown .menu>.header{color:#dbdbdb} .ui.red.label,.ui.red.labels .label{background-color:#7d3434!important;border-color:#8a2121!important} .ui.menu{background:#404552;border:1px solid #353945} -.ui.menu .active.item:hover,.ui.vertical.menu .active.item:hover{color:#dbdbdb;background:#4B5162} +.ui.menu .active.item:hover,.ui.vertical.menu .active.item:hover{color:#dbdbdb;background:#4b5162} .ui.link.menu .item:hover,.ui.menu .dropdown.item:hover,.ui.menu .link.item:hover,.ui.menu a.item:hover{color:#dbdbdb;background:#454b5a} -.ui.menu .active.item{background:#4B5162;color:#dbdbdb} +.ui.menu .active.item{background:#4b5162;color:#dbdbdb} .ui.input input{background:#404552;border:2px solid #353945;color:#dbdbdb} .ui.input input:focus,.ui.input.focus input{background:#404552;border:2px solid #353945;color:#dbdbdb} .ui.accordion .title:not(.ui){color:#dbdbdb} @@ -67,7 +67,7 @@ footer{background:#2e323e;border-top:1px solid #313131} .ui.menu .item.disabled,.ui.menu .item.disabled:hover{color:#626773} .ui.pagination.menu .active.item{color:#dbdbdb;background-color:#87ab63} .repository .header-wrapper{background-color:#2a2e3a} -.ui.tabular.menu .active.item{background:#383c4a;color:#dbdbdb;border-left:1px solid transparent;border-right:1px solid transparent;border-top:none} +.ui.tabular.menu .active.item{background:#383c4a;color:#dbdbdb;border-left:1px solid transparent;border-right:1px solid transparent;border-top:0} .ui.tabular.menu .item{color:#9e9e9e} .ui.tabular.menu .item:hover{color:#dbdbdb} .ui.breadcrumb .divider,.ui.header{color:#9e9e9e} @@ -75,8 +75,8 @@ footer{background:#2e323e;border-top:1px solid #313131} .ui.menu .item>.label{background:#565454} .ui.blue.button,.ui.blue.buttons .button{background-color:#87ab63} .ui.blue.button:hover,.ui.blue.buttons .button:hover{background-color:#a0cc75} -.ui.form input:not([type]),.ui.form input[type=date],.ui.form input[type=datetime-local],.ui.form input[type=email],.ui.form input[type=number],.ui.form input[type=password],.ui.form input[type=search],.ui.form input[type=tel],.ui.form input[type=text],.ui.form input[type=time],.ui.form input[type=url]{background:#404552;border:2px solid #353945} -.ui.form input:not([type]):focus,.ui.form input[type=date]:focus,.ui.form input[type=datetime-local]:focus,.ui.form input[type=email]:focus,.ui.form input[type=number]:focus,.ui.form input[type=password]:focus,.ui.form input[type=search]:focus,.ui.form input[type=tel]:focus,.ui.form input[type=text]:focus,.ui.form input[type=time]:focus,.ui.form input[type=url]:focus{background:#404552;border:2px solid #4b505f;color:#dbdbdb} +.ui.form input:not([type]),.ui.form input[type=text],.ui.form input[type=email],.ui.form input[type=search],.ui.form input[type=password],.ui.form input[type=date],.ui.form input[type=datetime-local],.ui.form input[type=tel],.ui.form input[type=time],.ui.form input[type=url],.ui.form input[type=number]{color:#9e9e9e;background:#404552;border:2px solid #353945} +.ui.form input:not([type]):focus,.ui.form input[type=text]:focus,.ui.form input[type=email]:focus,.ui.form input[type=search]:focus,.ui.form input[type=password]:focus,.ui.form input[type=date]:focus,.ui.form input[type=datetime-local]:focus,.ui.form input[type=tel]:focus,.ui.form input[type=time]:focus,.ui.form input[type=url]:focus,.ui.form input[type=number]:focus{background:#404552;border:2px solid #4b505f;color:#dbdbdb} .ui.action.input:not([class*="left action"]) input:focus{border-right-color:#4b505f!important} .ui.green.button,.ui.green.buttons .button{background-color:#87ab63} .ui.green.button:hover,.ui.green.buttons .button:hover{background-color:#a0cc75} @@ -126,13 +126,12 @@ footer{background:#2e323e;border-top:1px solid #313131} .repository .diff-file-box .code-diff tbody tr .added-code{background-color:#3a523a} .repository .diff-file-box .code-diff .lines-num{border-right:1px solid #2d2d2d} .repository .diff-file-box .file-body.file-code .lines-num{color:#9e9e9e;background:#2e323e} -.repository .diff-file-box .code-diff tbody tr td.tag-code,.repository .diff-file-box .code-diff tbody tr.tag-code td{border-color:#2d2d2d!important} .repository .diff-file-box .file-body.file-code .lines-num-old{border-right:1px solid #2d2d2d} .hljs-section,.hljs-selector-id,.hljs-title{color:#986c88} .hljs-doctag,.hljs-string{color:#949494} .repository .diff-file-box .code-diff tbody tr .removed-code{background-color:#5f3737} .repository .diff-file-box .code-diff tbody tr td.tag-code,.repository .diff-file-box .code-diff tbody tr.tag-code td{background-color:#292727!important} -.ui.vertical.menu .active.item{background:#4B5162} +.ui.vertical.menu .active.item{background:#4b5162} .ui.vertical.menu .item{background:#353945} .ui.vertical.menu .header.item{background:#404552} .ui.vertical.menu{background:#353945;border:1px solid #333640} @@ -161,9 +160,8 @@ footer{background:#2e323e;border-top:1px solid #313131} @media only screen and (max-width:1200px){.ui.menu.new-menu:after{background-image:linear-gradient(to right,rgba(42,46,42,0),#2a2e2a 100%)} } input{background:#2e323e} -.ui.secondary.pointing.menu .active.item{border:none;background:#383c4a} +.ui.secondary.pointing.menu .active.item{border:0;background:#383c4a} .settings .key.list .item:not(:first-child){border-top:1px solid #404552} -.ui.form input:not([type]),.ui.form input[type=date],.ui.form input[type=datetime-local],.ui.form input[type=email],.ui.form input[type=number],.ui.form input[type=password],.ui.form input[type=search],.ui.form input[type=tel],.ui.form input[type=text],.ui.form input[type=time],.ui.form input[type=url]{color:#9e9e9e} .ui.attached.info.message,.ui.info.message{box-shadow:0 0 0 1px #4b5e71 inset,0 0 0 0 transparent} .ui.bottom.attached.message{background-color:#2c662d;color:#87ab63} .ui.bottom.attached.message .pull-right{color:#87ab63} @@ -210,7 +208,7 @@ a.ui.label:hover,a.ui.labels .label:hover{background-color:#505667;color:#dbdbdb .repository.file.list #file-content .code-view .lines-num{background:#2e323e} .repository.file.list #repo-files-table tbody .octicon.octicon-file-directory,.repository.file.list #repo-files-table tbody .octicon.octicon-file-submodule{color:#7c9b5e} .ui.basic.blue.button,.ui.basic.blue.buttons .button{box-shadow:0 0 0 1px #a27558 inset!important;color:#a27558!important} -.repository.file.list #file-content .code-view .lines-code .hljs,.repository.file.list #file-content .code-view .lines-code ol,.repository.file.list #file-content .code-view .lines-code pre,.repository.file.list #file-content .code-view .lines-num .hljs,.repository.file.list #file-content .code-view .lines-num ol,.repository.file.list #file-content .code-view .lines-num pre{background-color:#2a2e3a} +.repository.file.list #file-content .code-view .hljs,.repository.file.list #file-content .code-view .lines-code ol,.repository.file.list #file-content .code-view .lines-code pre,.repository.file.list #file-content .code-view .lines-num .hljs,.repository.file.list #file-content .code-view .lines-num ol,.repository.file.list #file-content .code-view .lines-num pre{background-color:#2a2e3a} a.ui.label:hover,a.ui.labels .label:hover{background-color:#505667;color:#dbdbdb} .repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(1),.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(2),.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(3),.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(4){background-color:#2a2e3a} .repository .diff-file-box .code-diff-split tbody tr td.add-code,.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(3),.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(4){background-color:#283e2d!important;border-color:#314a37!important} @@ -227,11 +225,11 @@ a.ui.label:hover,a.ui.labels .label:hover{background-color:#505667;color:#dbdbdb .ui.basic.blue.button,.ui.basic.blue.buttons .button{box-shadow:0 0 0 1px #87ab63 inset!important;color:#87ab63!important} .editor-toolbar{background-color:#404552} .editor-toolbar a{color:#87ab63!important} -.CodeMirror{color:#9daccc;background-color:#2b2b2b;border-top:none} +.CodeMirror{color:#9daccc;background-color:#2b2b2b;border-top:0} .CodeMirror-gutters{background-color:#2b2b2b} .repository .diff-detail-box{background-color:#383c4a} .repository .diff-detail-box .detail-files{background-color:inherit} -.comment-code-cloud .ui.attached.tabular.menu{background:none transparent;border:none} +.comment-code-cloud .ui.attached.tabular.menu{background:none transparent;border:0} .comment-code-cloud .footer .markdown-info{color:inherit} .file-comment{color:#888} .ui.comments .comment .author{color:#dbdbdb} diff --git a/public/less/_admin.less b/public/less/_admin.less index 24d5af159c..af68a43dbd 100644 --- a/public/less/_admin.less +++ b/public/less/_admin.less @@ -21,7 +21,8 @@ } &:not(.select) { - th, td { + th, + td { &:first-of-type { padding-left: 15px !important; } @@ -31,7 +32,7 @@ .ui.header, .ui.segment { - box-shadow: 0 1px 2px 0 rgba(34, 36, 38, .15); + box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15); } &.user { diff --git a/public/less/_base.less b/public/less/_base.less index 1dd17541bb..13ae1ad665 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -55,11 +55,16 @@ } /* We're going to just override the semantic fonts here */ - h1, h2, h3, h4, h5 { + h1, + h2, + h3, + h4, + h5 { font-family: Lato, @fonts, sans-serif; } - .home .hero h1, .home .hero h2 { + .home .hero h1, + .home .hero h2 { font-family: 'PT Sans Narrow', Lato, @fonts, sans-serif; } @@ -67,7 +72,18 @@ .ui.button, .ui.card > .content > .header.ui.card > .content > .header, .ui.category.search > .results .category > .name, - .ui.form input:not([type]), .ui.form input[type=date], .ui.form input[type=datetime-local], .ui.form input[type=email], .ui.form input[type=file], .ui.form input[type=number], .ui.form input[type=password], .ui.form input[type=search], .ui.form input[type=tel], .ui.form input[type=text], .ui.form input[type=time], .ui.form input[type=url], + .ui.form input:not([type]), + .ui.form input[type="date"], + .ui.form input[type="datetime-local"], + .ui.form input[type="email"], + .ui.form input[type="file"], + .ui.form input[type="number"], + .ui.form input[type="password"], + .ui.form input[type="search"], + .ui.form input[type="tel"], + .ui.form input[type="text"], + .ui.form input[type="time"], + .ui.form input[type="url"], .ui.header, .ui.items > .item > .content > .header, .ui.list .list > .item .header, @@ -79,7 +95,8 @@ .ui.search > .results .result .title, .ui.search > .results > .message .header, body, - .ui.input > input, .ui.input input, + .ui.input > input, + .ui.input input, .ui.statistics .statistic > .value, .ui.statistic > .value, .ui.statistics .statistic > .label, @@ -94,7 +111,7 @@ .override-fonts(@default-fonts); body { - background-color: #fff; + background-color: #ffffff; overflow-y: auto; -webkit-font-smoothing: antialiased; display: flex; @@ -139,17 +156,18 @@ a { } .rounded { - border-radius: .28571429rem !important; + border-radius: 0.28571429rem !important; } -pre, code { +pre, +code { font: 12px @monospaced-fonts, monospace; &.raw { padding: 7px 12px; margin: 10px 0; background-color: #f8f8f8; - border: 1px solid #ddd; + border: 1px solid #dddddd; border-radius: 3px; font-size: 13px; line-height: 1.5; @@ -183,7 +201,7 @@ pre, code { &.light { background-color: white; - border-bottom: 1px solid #DDDDDD; + border-bottom: 1px solid #dddddd; box-shadow: 0 2px 3px rgba(0, 0, 0, 0.04); } @@ -206,7 +224,7 @@ pre, code { } .top.menu a.item:hover { - color: rgba(0, 0, 0, .45); + color: rgba(0, 0, 0, 0.45); } .top.menu .menu { @@ -218,14 +236,14 @@ pre, code { margin-right: 0; } - margin-right: .75em; + margin-right: 0.75em; } .searchbox { - background-color: rgb(244, 244, 244) !important; + background-color: #f4f4f4 !important; &:focus { - background-color: rgb(233, 233, 233) !important; + background-color: #e9e9e9 !important; } } @@ -237,7 +255,7 @@ pre, code { #navbar { width: 100vw; min-height: 52px; - padding: 0 .5rem; + padding: 0 0.5rem; } #navbar .brand { @@ -270,7 +288,8 @@ pre, code { float: right; } - &.button, &.menu .item { + &.button, + &.menu .item { user-select: auto; } @@ -306,11 +325,11 @@ pre, code { /* This fixes the commit graph button on the commits page */ .menu:not(.vertical) .item > .button.compact { - padding: .58928571em 1.125em; + padding: 0.58928571em 1.125em; } .menu:not(.vertical) .item > .button.small { - font-size: .92857143rem; + font-size: 0.92857143rem; } &.menu .ui.dropdown.item .menu .item { @@ -333,7 +352,7 @@ pre, code { color: #d95c5c !important; &:hover { - color: #E67777 !important; + color: #e67777 !important; } } } @@ -342,7 +361,7 @@ pre, code { color: #428bca !important; a { - color: #15c !important; + color: #1155cc !important; &:hover { color: #428bca !important; @@ -351,10 +370,10 @@ pre, code { } &.black { - color: #444; + color: #444444; &:hover { - color: #000; + color: #000000; } } @@ -362,16 +381,16 @@ pre, code { color: #767676 !important; a { - color: #444 !important; + color: #444444 !important; &:hover { - color: #000 !important; + color: #000000 !important; } } } &.light.grey { - color: #888 !important; + color: #888888 !important; } &.green { @@ -383,7 +402,7 @@ pre, code { } &.yellow { - color: #FBBD08 !important; + color: #fbbd08 !important; } &.gold { @@ -443,7 +462,8 @@ pre, code { color: black; } - & > span, .pull-right > span { + & > span, + .pull-right > span { color: #21ba45; } } @@ -455,12 +475,12 @@ pre, code { .warning { &.header { - background-color: #F9EDBE !important; - border-color: #F0C36D; + background-color: #f9edbe !important; + border-color: #efc16b; } &.segment { - border-color: #F0C36D; + border-color: #efc16b; } } @@ -471,7 +491,8 @@ pre, code { &.top { background-color: #e6f1f6 !important; - h3, h4 { + h3, + h4 { margin-top: 0; } @@ -533,7 +554,7 @@ pre, code { } &.black { - background-color: #444; + background-color: #444444; } &.grey { @@ -541,7 +562,7 @@ pre, code { } &.light.grey { - background-color: #888 !important; + background-color: #888888 !important; } &.green { @@ -553,7 +574,7 @@ pre, code { } &.yellow { - background-color: #FBBD08 !important; + background-color: #fbbf09 !important; } &.gold { @@ -577,7 +598,7 @@ pre, code { .file-comment { font: 12px @monospaced-fonts, monospace; - color: rgba(0, 0, 0, .87); + color: rgba(0, 0, 0, 0.87); } @@ -611,7 +632,7 @@ footer { .container { width: 100vw !important; - padding: 0 .5rem; + padding: 0 0.5rem; .fa { width: 16px; @@ -625,7 +646,7 @@ footer { margin-left: 5px; &:first-child { - border-left: none; + border-left: 0; } } } @@ -637,7 +658,8 @@ footer { } .ui { - &.left, &.right { + &.left, + &.right { line-height: 40px; } } @@ -665,12 +687,14 @@ footer { width: (2px * @i) !important; height: (2px * @i) !important; } + .generate-img(@n, (@i + 1)); } // Conditional display @media only screen and (min-width: 768px) { - .mobile-only, .ui.button.mobile-only { + .mobile-only, + .ui.button.mobile-only { display: none; } @@ -726,7 +750,7 @@ footer { padding-top: 15px !important; margin-top: -15px !important; margin-bottom: 15px !important; - background-color: #FAFAFA !important; + background-color: #fafafa !important; border-width: 1px !important; } @@ -828,7 +852,7 @@ footer { } .archived-icon { - color: lighten(#000, 70%) !important; + color: lighten(#000000, 70%) !important; } .oauth2-authorize-application-box { @@ -837,13 +861,13 @@ footer { /* Tab color tweaks */ .ui.tabular.menu .item { - color: rgba(0, 0, 0, .5); + color: rgba(0, 0, 0, 0.5); } .ui.tabular.menu .item:hover { - color: rgba(0, 0, 0, .8); + color: rgba(0, 0, 0, 0.8); } .ui.tabular.menu .item.active { - color: rgba(0, 0, 0, .9); + color: rgba(0, 0, 0, 0.9); } diff --git a/public/less/_dashboard.less b/public/less/_dashboard.less index f59daf49d2..1b5d231499 100644 --- a/public/less/_dashboard.less +++ b/public/less/_dashboard.less @@ -71,7 +71,7 @@ .dashboard-navbar { width: 100vw; - padding: 0 .5rem; + padding: 0 0.5rem; } } @@ -142,7 +142,7 @@ li { &:not(:last-child) { - border-bottom: 1px solid #EAEAEA; + border-bottom: 1px solid #ebebeb; } &.private { @@ -154,7 +154,7 @@ display: block; .octicon { - color: #888; + color: #888888; &.rear { font-size: 15px; diff --git a/public/less/_editor.less b/public/less/_editor.less index ee671d8b4b..453b8b433e 100644 --- a/public/less/_editor.less +++ b/public/less/_editor.less @@ -16,11 +16,11 @@ } .repository.file.editor .tab[data-tab="write"] .editor-toolbar { - border: none !important; + border: 0 !important; } .repository.file.editor .tab[data-tab="write"] .CodeMirror { - border-left: none; - border-right: none; - border-bottom: none; + border-left: 0; + border-right: 0; + border-bottom: 0; } diff --git a/public/less/_explore.less b/public/less/_explore.less index 1d635c8b45..809a138a6c 100644 --- a/public/less/_explore.less +++ b/public/less/_explore.less @@ -6,7 +6,7 @@ padding-top: 15px !important; margin-top: -15px !important; margin-bottom: 15px !important; - background-color: #FAFAFA !important; + background-color: #fafafa !important; border-width: 1px !important; .octicon { @@ -22,7 +22,7 @@ padding-bottom: 25px; &:not(:first-child) { - border-top: 1px solid #eee; + border-top: 1px solid #eeeeee; padding-top: 25px; } @@ -35,7 +35,7 @@ } .metas { - color: #888; + color: #888888; font-size: 14px; font-weight: normal; @@ -68,7 +68,7 @@ padding-bottom: 25px; &:not(:first-child) { - border-top: 1px solid #eee; + border-top: 1px solid #eeeeee; padding-top: 25px; } @@ -85,7 +85,7 @@ } a { - color: #333; + color: #333333; &:hover { text-decoration: underline; diff --git a/public/less/_form.less b/public/less/_form.less index 641df7caaf..419b16ecb4 100644 --- a/public/less/_form.less +++ b/public/less/_form.less @@ -1,8 +1,8 @@ .form { .help { color: #999999; - padding-top: .6em; - padding-bottom: .6em; + padding-top: 0.6em; + padding-bottom: 0.6em; display: inline-block; } } @@ -31,6 +31,7 @@ @media only screen and (min-width: 768px) { width: 800px !important; + .header { padding-left: @create-page-form-input-padding+30px; } @@ -54,6 +55,7 @@ width: 50% !important; } } + @media only screen and (max-width: 767px) { .optional .title { margin-left: 15px; @@ -105,7 +107,8 @@ } @media screen and (max-height: 575px) { - #rc-imageselect, .g-recaptcha { + #rc-imageselect, + .g-recaptcha { transform: scale(0.77); transform-origin: 0 0; } @@ -131,7 +134,8 @@ width: @input-padding; } - .inline.field > label, input { + .inline.field > label, + input { @media only screen and (max-width: 768px) { width: 100% !important; } @@ -167,11 +171,14 @@ } @media only screen and (max-width: 768px) { - label, input, .selection.dropdown { + label, + input, + .selection.dropdown { width: 100% !important; } - .field button, .field a { + .field button, + .field a { margin-bottom: 1em; width: 100%; } @@ -222,7 +229,8 @@ .new.org .ui.form { @media only screen and (max-width: 768px) { - .field button, .field a { + .field button, + .field a { margin-bottom: 1em; width: 100%; } diff --git a/public/less/_home.less b/public/less/_home.less index 7ea8a9a6f3..53fd76f098 100644 --- a/public/less/_home.less +++ b/public/less/_home.less @@ -13,6 +13,7 @@ font-size: 2em; } } + @media only screen and (min-width: 768px) { h1 { font-size: 5.5em; @@ -35,7 +36,7 @@ } p.large { - font-size: 16px + font-size: 16px; } .stackable { @@ -52,7 +53,8 @@ } footer { - .ui.container .left, .ui.container .right { + .ui.container .left, + .ui.container .right { @media only screen and (max-width: 880px) { display: block; text-align: center; diff --git a/public/less/_markdown.less b/public/less/_markdown.less index d8a616919d..af46d6a3b2 100644 --- a/public/less/_markdown.less +++ b/public/less/_markdown.less @@ -26,7 +26,7 @@ } .absent { - color: #c00; + color: #cc0000; } .anchor { @@ -67,7 +67,7 @@ h5 .octicon-link, h6 .octicon-link { display: none; - color: #000; + color: #000000; vertical-align: middle; } @@ -110,7 +110,7 @@ padding-bottom: 0.3em; font-size: 2.25em; line-height: 1.2; - border-bottom: 1px solid #eee; + border-bottom: 1px solid #eeeeee; } h1 .anchor { @@ -121,7 +121,7 @@ padding-bottom: 0.3em; font-size: 1.75em; line-height: 1.225; - border-bottom: 1px solid #eee; + border-bottom: 1px solid #eeeeee; } h2 .anchor { @@ -155,7 +155,7 @@ h6 { font-size: 1em; - color: #777; + color: #777777; } h6 .anchor { @@ -182,7 +182,7 @@ padding: 0; margin: 16px 0; background-color: #e7e7e7; - border: 0 none; + border: 0; } ul, @@ -232,8 +232,8 @@ blockquote { padding: 0 15px; - color: #777; - border-left: 4px solid #ddd; + color: #777777; + border-left: 4px solid #dddddd; } blockquote > :first-child { @@ -247,7 +247,6 @@ table { width: auto; overflow: auto; - word-break: normal; word-break: keep-all; display: block; } @@ -259,12 +258,12 @@ table th, table td { padding: 6px 13px !important; - border: 1px solid #ddd !important; + border: 1px solid #dddddd !important; } table tr { - background-color: #fff; - border-top: 1px solid #ccc; + background-color: #ffffff; + border-top: 1px solid #cccccc; } table tr:nth-child(2n) { @@ -292,7 +291,7 @@ padding: 7px; margin: 13px 0 0; overflow: hidden; - border: 1px solid #ddd; + border: 1px solid #dddddd; } span.frame span img { @@ -304,7 +303,7 @@ display: block; padding: 5px 0 0; clear: both; - color: #333; + color: #333333; } span.align-center { @@ -452,13 +451,13 @@ padding: 3px 5px; font-size: 11px; line-height: 10px; - color: #555; + color: #555555; vertical-align: middle; background-color: #fcfcfc; - border: solid 1px #ccc; - border-bottom-color: #bbb; + border: solid 1px #cccccc; + border-bottom-color: #bbbbbb; border-radius: 3px; - box-shadow: inset 0 -1px 0 #bbb; + box-shadow: inset 0 -1px 0 #bbbbbb; } input[type="checkbox"] { @@ -478,7 +477,7 @@ .csv-data .blob-num { padding: 10px 8px 9px; text-align: right; - background: #fff; + background: #ffffff; border: 0; } @@ -492,7 +491,9 @@ border-top: 0; } - .ui.list .list, ol.ui.list ol, ul.ui.list ul { + .ui.list .list, + ol.ui.list ol, + ul.ui.list ul { padding-left: 2em; } } diff --git a/public/less/_organization.less b/public/less/_organization.less index f7e855edec..27dc7544fd 100644 --- a/public/less/_organization.less +++ b/public/less/_organization.less @@ -110,7 +110,7 @@ .item { margin-left: 0; margin-right: 0; - border-bottom: 1px solid #eee; + border-bottom: 1px solid #eeeeee; .ui.avatar { width: 48px; @@ -130,7 +130,7 @@ padding: 10px 15px; &:not(:last-child) { - border-bottom: 1px solid #eee; + border-bottom: 1px solid #eeeeee; } } } @@ -142,7 +142,7 @@ line-height: 32px; &:not(:last-child) { - border-bottom: 1px solid #DDD; + border-bottom: 1px solid #dddddd; } .button { diff --git a/public/less/_repository.less b/public/less/_repository.less index e31bc89642..f063d3b1a3 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -101,10 +101,10 @@ margin: 2px 0; .text { - color: #444; + color: #444444; &:hover { - color: #000; + color: #000000; } } } @@ -119,12 +119,12 @@ } .header-wrapper { - background-color: #FAFAFA; + background-color: #fafafa; margin-top: -15px; padding-top: 15px; .ui.tabs.divider { - border-bottom: none; + border-bottom: 0; } .ui.tabular .octicon { @@ -184,7 +184,7 @@ margin-bottom: 0; .ui.menu { - border-bottom: none; + border-bottom: 0; } } @@ -212,7 +212,7 @@ padding: 0 5px; &:first-child { - border-radius: .28571429rem 0 0 .28571429rem; + border-radius: 0.28571429rem 0 0 0.28571429rem; } } @@ -283,7 +283,7 @@ .octicon { margin-left: 3px; margin-right: 5px; - color: #777; + color: #777777; &.octicon-mail-reply { margin-right: 10px; @@ -329,11 +329,11 @@ } tr:hover { - background-color: #ffffEE; + background-color: #ffffee; } .jumpable-path { - color: #888; + color: #888888; } } @@ -369,7 +369,7 @@ } .btn-octicon.disabled { - color: #bbb; + color: #bbbbbb; cursor: default; } @@ -413,7 +413,7 @@ .lines-num { vertical-align: top; text-align: right; - color: #999; + color: #999999; background: #f5f5f5; width: 1%; user-select: none; @@ -454,7 +454,7 @@ .lines-commit { vertical-align: top; - color: #999; + color: #999999; padding: 0; background: #f5f5f5; width: 1%; @@ -551,12 +551,12 @@ position: relative; padding: 15px; margin-bottom: 10px; - border: 1px solid #ddd; + border: 1px solid #dddddd; border-radius: 3px; #avatar-arrow; &:after { - border-right-color: #fff; + border-right-color: #ffffff; } .quick-pull-choice { @@ -622,7 +622,7 @@ #avatar-arrow; &:after { - border-right-color: #fff; + border-right-color: #ffffff; } .markdown { @@ -666,7 +666,7 @@ .index { font-weight: 300; - color: #aaa; + color: #aaaaaa; letter-spacing: -1px; } @@ -681,7 +681,7 @@ .pull-desc { code { - color: #0166E6; + color: #0166e6; } } @@ -695,7 +695,7 @@ } &.tab.segment { - border: none; + border: 0; padding: 10px 0 0; box-shadow: none; background-color: inherit; @@ -725,7 +725,7 @@ } .text { - margin: .3em 0 .5em .5em + margin: 0.3em 0 0.5em 0.5em; } .type-icon { @@ -734,7 +734,7 @@ } .divider { - margin: .5rem 0; + margin: 0.5rem 0; } .review-content { @@ -797,7 +797,7 @@ position: relative; color: #767676; background-color: #f7f7f7; - border-bottom: 1px solid #eee; + border-bottom: 1px solid #eeeeee; border-top-left-radius: 3px; border-top-right-radius: 3px; @@ -832,10 +832,10 @@ margin: 5px; padding: 5px; height: 150px; - border: solid 1px #eee; + border: solid 1px #eeeeee; border-radius: 3px; max-width: 150px; - background-color: #fff; + background-color: #ffffff; &:before { content: ' '; @@ -869,7 +869,7 @@ } .tab.segment { - border: none; + border: 0; padding: 10px 0 0; } @@ -983,12 +983,12 @@ #avatar-arrow; &:after { - border-right-color: #fff; + border-right-color: #ffffff; } } .tab.segment { - border: none; + border: 0; padding: 10px 0 0; } @@ -1006,16 +1006,16 @@ .item { padding-top: 10px; padding-bottom: 10px; - border-bottom: 1px dashed #AAA; + border-bottom: 1px dashed #aaaaaa; a { font-size: 15px; padding-top: 5px; padding-right: 10px; - color: #666; + color: #666666; &:hover { - color: #000; + color: #000000; } &.open-issues { @@ -1036,12 +1036,12 @@ > .item { padding-top: 10px; padding-bottom: 10px; - border-bottom: 1px dashed #AAA; + border-bottom: 1px dashed #aaaaaa; > a { padding-top: 5px; padding-right: 10px; - color: #000; + color: #000000; &:hover { color: #4078c0; @@ -1060,7 +1060,7 @@ } .meta { - color: #999; + color: #999999; padding-top: 5px; .issue-stats .octicon { @@ -1079,10 +1079,10 @@ font-size: 15px; padding-top: 5px; padding-right: 10px; - color: #666; + color: #666666; &:hover { - color: #000; + color: #000000; } } } @@ -1115,7 +1115,7 @@ #avatar-arrow; &:after { - border-right-color: #fff; + border-right-color: #ffffff; } } } @@ -1197,38 +1197,38 @@ } &.ui.basic.striped.table tbody tr:nth-child(2n) { - background-color: rgba(0, 0, 0, .02) !important; + background-color: rgba(0, 0, 0, 0.02) !important; } } #commits-table td.sha .sha.label, #repo-files-table .sha.label { &.isSigned { - border: 1px solid #BBB; + border: 1px solid #bbbbbb; .detail.icon { - background: #FAFAFA; + background: #fafafa; margin: -6px -10px -4px 0px; padding: 5px 3px 5px 6px; - border-left: 1px solid #BBB; + border-left: 1px solid #bbbbbb; border-top-left-radius: 0; border-bottom-left-radius: 0; } } &.isSigned.isVerified { - border: 1px solid #21BA45; - background: fade(#21BA45, 10%); + border: 1px solid #21ba45; + background: fade(#21ba45, 10%); .detail.icon { - border-left: 1px solid fade(#21BA45, 50%); + border-left: 1px solid fade(#21ba45, 50%); } } } .diff-detail-box { padding: 7px 0; - background: #fff; + background: #ffffff; line-height: 30px; > div:after { @@ -1247,7 +1247,7 @@ list-style: none; padding-bottom: 4px; margin-bottom: 4px; - border-bottom: 1px dashed #DDD; + border-bottom: 1px dashed #dddddd; padding-left: 6px; } } @@ -1277,7 +1277,7 @@ } .detail-files { - background: #fff; + background: #ffffff; margin: 0; } } @@ -1308,7 +1308,7 @@ .file { flex: 1; - color: #888; + color: #888888; word-break: break-all; } @@ -1327,7 +1327,7 @@ .file-body.file-code { .lines-num { text-align: right; - color: #A7A7A7; + color: #a6a6a6; background: #fafafa; width: 1%; user-select: none; @@ -1340,7 +1340,7 @@ } .lines-num-old { - border-right: 1px solid #DDD; + border-right: 1px solid #dddddd; } } @@ -1349,7 +1349,7 @@ td { padding: 0 0 0 10px; - border-top: none; + border-top: 0; } pre { @@ -1372,8 +1372,8 @@ &.tag-code td, td.tag-code { - background-color: #F0F0F0 !important; - border-color: #D2CECE !important; + background-color: #f0f0f0 !important; + border-color: #d3cfcf !important; padding-top: 8px; padding-bottom: 8px; // td.selected-line, td.selected-line pre { @@ -1484,7 +1484,7 @@ } .clone.button:first-child { - border-radius: .28571429rem 0 0 .28571429rem; + border-radius: 0.28571429rem 0 0 0.28571429rem; } .ui.action.small.input { @@ -1501,7 +1501,7 @@ &.release { #release-list { - border-top: 1px solid #DDD; + border-top: 1px solid #dddddd; margin-top: 20px; padding-top: 15px; @@ -1530,7 +1530,7 @@ } .detail { - border-left: 1px solid #DDD; + border-left: 1px solid #dddddd; .author { img { @@ -1550,14 +1550,14 @@ .list { padding-left: 0; - border-top: 1px solid #eee; + border-top: 1px solid #eeeeee; li { list-style: none; display: block; padding-top: 8px; padding-bottom: 8px; - border-bottom: 1px solid #eee; + border-bottom: 1px solid #eeeeee; } } } @@ -1565,14 +1565,14 @@ .dot { width: 9px; height: 9px; - background-color: #ccc; + background-color: #cccccc; z-index: 999; position: absolute; display: block; left: -5px; top: 40px; border-radius: 6px; - border: 1px solid #FFF; + border: 1px solid #ffffff; } } } @@ -1631,7 +1631,7 @@ .item { padding-top: 10px; padding-bottom: 10px; - border-bottom: 1px solid #DDD; + border-bottom: 1px solid #dddddd; .ui.avatar { float: left; @@ -1716,7 +1716,7 @@ line-height: 2em; &:not(:last-child) { - border-bottom: 1px solid #DDD; + border-bottom: 1px solid #dddddd; } } } @@ -1789,16 +1789,16 @@ .ui.attached.isSigned.isVerified { &:not(.positive) { - border-left: 1px solid #A3C293; - border-right: 1px solid #A3C293; + border-left: 1px solid #a3c293; + border-right: 1px solid #a3c293; } &.top:not(.positive) { - border-top: 1px solid #A3C293; + border-top: 1px solid #a3c293; } &:not(.positive):last-child { - border-bottom: 1px solid #A3C293; + border-bottom: 1px solid #a3c293; } } @@ -1818,12 +1818,12 @@ color: black; &:hover { - color: #666; + color: #666666; } } &.active { - background: rgba(0, 0, 0, .05); + background: rgba(0, 0, 0, 0.05); } } } @@ -1836,12 +1836,12 @@ left: auto !important; > .header { - margin: 0.75rem 0 .5rem; + margin: 0.75rem 0 0.5rem; } > .item { float: left; - padding: .5rem .5rem !important; + padding: 0.5rem 0.5rem !important; img.emoji { margin-right: 0; @@ -1851,10 +1851,10 @@ } .segment.reactions { - padding: .3em 1em; + padding: 0.3em 1em; .ui.label { - padding: .4em; + padding: 0.4em; &.disabled { cursor: default; @@ -1953,27 +1953,27 @@ > .item { padding-top: 15px; padding-bottom: 10px; - border-bottom: 1px dashed #AAA; + border-bottom: 1px dashed #aaaaaa; .title { - color: #444; + color: #444444; font-size: 15px; font-weight: bold; margin: 0 6px; &:hover { - color: #000; + color: #000000; } } .comment { padding-right: 10px; - color: #666; + color: #666666; } .desc { padding-top: 5px; - color: #999; + color: #999999; .checklist { padding-left: 5px; @@ -1983,13 +1983,13 @@ width: 80px; height: 6px; display: inline-block; - background-color: #eee; + background-color: #eeeeee; overflow: hidden; border-radius: 3px; vertical-align: 2px !important; .progress { - background-color: #ccc; + background-color: #cccccc; display: block; height: 100%; } @@ -1998,10 +1998,10 @@ a.milestone { padding-left: 5px; - color: #999 !important; + color: #999999 !important; &:hover { - color: #000 !important; + color: #000000 !important; } } @@ -2025,7 +2025,7 @@ .dropzone { width: 100%; margin-bottom: 10px; - border: 2px dashed #0087F7; + border: 2px dashed #0087f5; box-shadow: none !important; .dz-error-message { @@ -2040,14 +2040,14 @@ > .header, .segment { - box-shadow: 0 1px 2px 0 rgba(34, 36, 38, .15); + box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15); } } .list { > .item { .green { - color: #21BA45; + color: #21ba45; } &:not(:first-child) { @@ -2062,7 +2062,7 @@ > .mega-octicon + .content { display: table-cell; - padding: 0 0 0 .5em; + padding: 0 0 0 0.5em; vertical-align: top; } @@ -2070,7 +2070,7 @@ margin-top: 10px; .tab.segment { - border: none; + border: 0; padding: 10px 0 0; } } @@ -2079,7 +2079,7 @@ &.key { .meta { padding-top: 5px; - color: #666; + color: #666666; } } @@ -2163,7 +2163,7 @@ } &:before { - border-right-color: #D4D4D5; + border-right-color: #d3d3d4; border-width: 9px; margin-top: -9px; } @@ -2201,7 +2201,7 @@ display: table-cell; &.tiny { - height: .5em; + height: 0.5em; } } } @@ -2276,21 +2276,21 @@ tbody.commit-list { } .repo-buttons .disabled-repo-button .label { - opacity: .5; + opacity: 0.5; } .repo-buttons .disabled-repo-button a.button { - opacity: .5; + opacity: 0.5; cursor: not-allowed; } .repo-buttons .disabled-repo-button a.button:hover { background: none !important; - color: rgba(0, 0, 0, .6) !important; - box-shadow: 0 0 0 1px rgba(34, 36, 38, .15) inset !important; + color: rgba(0, 0, 0, 0.6) !important; + box-shadow: 0 0 0 1px rgba(34, 36, 38, 0.15) inset !important; } .repo-buttons .ui.labeled.button > .label { - border-left: none !important; + border-left: 0 !important; margin: 0 !important; } diff --git a/public/less/_review.less b/public/less/_review.less index a4a813cfd8..c01e7533b4 100644 --- a/public/less/_review.less +++ b/public/less/_review.less @@ -41,7 +41,7 @@ .attached { &.tab { - border: none; + border: 0; padding: 0; margin: 0; @@ -52,7 +52,7 @@ } &.header { - padding: .1rem 1rem; + padding: 0.1rem 1rem; } } @@ -81,7 +81,7 @@ display: inline-block; margin: 5px 0; font-size: 12px; - color: rgba(0, 0, 0, .6) + color: rgba(0, 0, 0, 0.6); } .ui.right.floated { @@ -106,5 +106,5 @@ .file-comment { font: 12px @monospaced-fonts, monospace; - color: rgba(0, 0, 0, .87); + color: rgba(0, 0, 0, 0.87); } diff --git a/public/less/_tribute.less b/public/less/_tribute.less index 4db85a2cb6..ad097bef6d 100644 --- a/public/less/_tribute.less +++ b/public/less/_tribute.less @@ -24,8 +24,9 @@ } } - li.highlight, li:hover { - background: #2185D0; + li.highlight, + li:hover { + background: #2185d0; color: #ffffff; } } diff --git a/public/less/themes/_base.less b/public/less/themes/_base.less index 18d4f068c8..e339a6fa8e 100644 --- a/public/less/themes/_base.less +++ b/public/less/themes/_base.less @@ -1,3 +1,3 @@ // TODO: Instead of having each theme file define each // CSS/LESS item in this file and then overide -// in the theme files
\ No newline at end of file +// in the theme files diff --git a/public/less/themes/arc-green.less b/public/less/themes/arc-green.less index 7a6fb64150..6d13bb2e52 100644 --- a/public/less/themes/arc-green.less +++ b/public/less/themes/arc-green.less @@ -7,19 +7,27 @@ color: #bababa; } -.repository.file.list .non-diff-file-content .code-view .lines-num, .repository.file.list .non-diff-file-content .code-view .lines-code ol { +.repository.file.list .non-diff-file-content .code-view .lines-num, +.repository.file.list .non-diff-file-content .code-view .lines-code ol { background-color: #2b2b2b !important; } -.hljs-strong, .hljs-emphasis { +.hljs-strong, +.hljs-emphasis { color: #a8a8a2; } -.hljs-bullet, .hljs-quote, .hljs-link, .hljs-number, .hljs-regexp, .hljs-literal { +.hljs-bullet, +.hljs-quote, +.hljs-link, +.hljs-number, +.hljs-regexp, +.hljs-literal { color: #6896ba; } -.hljs-code, .hljs-selector-class { +.hljs-code, +.hljs-selector-class { color: #a6e22e; } @@ -27,7 +35,12 @@ font-style: italic; } -.hljs-keyword, .hljs-selector-tag, .hljs-section, .hljs-attribute, .hljs-name, .hljs-variable { +.hljs-keyword, +.hljs-selector-tag, +.hljs-section, +.hljs-attribute, +.hljs-name, +.hljs-variable { color: #cb7832; } @@ -39,11 +52,23 @@ color: #6a8759; } -.hljs-subst, .hljs-type, .hljs-built_in, .hljs-builtin-name, .hljs-symbol, .hljs-selector-id, .hljs-selector-attr, .hljs-selector-pseudo, .hljs-template-tag, .hljs-template-variable, .hljs-addition { +.hljs-subst, +.hljs-type, +.hljs-built_in, +.hljs-builtin-name, +.hljs-symbol, +.hljs-selector-id, +.hljs-selector-attr, +.hljs-selector-pseudo, +.hljs-template-tag, +.hljs-template-variable, +.hljs-addition { color: #e0c46c; } -.hljs-comment, .hljs-deletion, .hljs-meta { +.hljs-comment, +.hljs-deletion, +.hljs-meta { color: #7f7f7f; } @@ -68,7 +93,8 @@ a:hover { color: #a0cc75; } -.ui.card > .extra a:not(.ui):hover, .ui.cards > .card > .extra a:not(.ui):hover { +.ui.card > .extra a:not(.ui):hover, +.ui.cards > .card > .extra a:not(.ui):hover { color: #a0cc75; } @@ -137,7 +163,7 @@ a:hover { } .following.bar .top.menu a.item:hover { - color: #fff; + color: #ffffff; } .repository.view.issue .comment-list .comment .content > .bottom.segment a { @@ -169,8 +195,10 @@ a:hover { border: 1px solid #333640; } -.ui.secondary.menu .dropdown.item:hover, .ui.secondary.menu .link.item:hover, .ui.secondary.menu a.item:hover { - color: #fff; +.ui.secondary.menu .dropdown.item:hover, +.ui.secondary.menu .link.item:hover, +.ui.secondary.menu a.item:hover { + color: #ffffff; } .ui.menu .ui.dropdown .menu > .item { @@ -178,7 +206,8 @@ a:hover { color: #9e9e9e !important; } -.ui.secondary.menu .dropdown.item > .menu, .ui.text.menu .dropdown.item > .menu { +.ui.secondary.menu .dropdown.item > .menu, +.ui.text.menu .dropdown.item > .menu { border: 1px solid #434444; } @@ -191,15 +220,17 @@ footer { background: #2c303a; } -.ui.menu .ui.dropdown .menu > .item:hover, .ui.menu .ui.dropdown .menu > .selected.item { - color: #fff !important; +.ui.menu .ui.dropdown .menu > .item:hover, +.ui.menu .ui.dropdown .menu > .selected.item { + color: #ffffff !important; } .ui.dropdown .menu > .header { color: #dbdbdb; } -.ui.red.label, .ui.red.labels .label { +.ui.red.label, +.ui.red.labels .label { background-color: #7d3434 !important; border-color: #8a2121 !important; } @@ -209,18 +240,22 @@ footer { border: 1px solid #353945; } -.ui.menu .active.item:hover, .ui.vertical.menu .active.item:hover { +.ui.menu .active.item:hover, +.ui.vertical.menu .active.item:hover { color: #dbdbdb; - background: #4B5162; + background: #4b5162; } -.ui.link.menu .item:hover, .ui.menu .dropdown.item:hover, .ui.menu .link.item:hover, .ui.menu a.item:hover { +.ui.link.menu .item:hover, +.ui.menu .dropdown.item:hover, +.ui.menu .link.item:hover, +.ui.menu a.item:hover { color: #dbdbdb; background: #454b5a; } .ui.menu .active.item { - background: #4B5162; + background: #4b5162; color: #dbdbdb; } @@ -230,7 +265,8 @@ footer { color: #dbdbdb; } -.ui.input input:focus, .ui.input.focus input { +.ui.input input:focus, +.ui.input.focus input { background: #404552; border: 2px solid #353945; color: #dbdbdb; @@ -257,31 +293,39 @@ footer { border-bottom: 1px dashed #475767; } -.ui.green.label, .ui.green.labels .label, .ui.basic.green.label { +.ui.green.label, +.ui.green.labels .label, +.ui.basic.green.label { background-color: #2d693b !important; border-color: #2d693b !important; } -.ui.basic.green.labels a.label:hover, a.ui.basic.green.label:hover { +.ui.basic.green.labels a.label:hover, +a.ui.basic.green.label:hover { background-color: #16ab39 !important; border-color: #16ab39 !important; - color: #fff !important; + color: #ffffff !important; } .issue.list > .item .comment { color: #129c92; } -.ui.basic.button, .ui.basic.buttons .button { +.ui.basic.button, +.ui.basic.buttons .button { color: #797979 !important; } -.ui.basic.red.active.button, .ui.basic.red.buttons .active.button { +.ui.basic.red.active.button, +.ui.basic.red.buttons .active.button { box-shadow: 0 0 0 1px #c75252 inset !important; color: #c75252 !important; } -.ui.basic.button:focus, .ui.basic.button:hover, .ui.basic.buttons .button:focus, .ui.basic.buttons .button:hover { +.ui.basic.button:focus, +.ui.basic.button:hover, +.ui.basic.buttons .button:focus, +.ui.basic.buttons .button:hover { background: transparent !important; color: #dbdbdb !important; } @@ -291,7 +335,8 @@ footer { color: #9e9e9e; } -.ui.menu .item.disabled, .ui.menu .item.disabled:hover { +.ui.menu .item.disabled, +.ui.menu .item.disabled:hover { color: #626773; } @@ -309,7 +354,7 @@ footer { color: #dbdbdb; border-left: 1px solid transparent; border-right: 1px solid transparent; - border-top: none; + border-top: 0; } .ui.tabular.menu .item { @@ -320,11 +365,13 @@ footer { color: #dbdbdb; } -.ui.header, .ui.breadcrumb .divider { +.ui.header, +.ui.breadcrumb .divider { color: #9e9e9e; } -.ui.blue.label, .ui.blue.labels .label { +.ui.blue.label, +.ui.blue.labels .label { background-color: #26577b !important; border-color: #26577b !important; } @@ -333,20 +380,43 @@ footer { background: #565454; } -.ui.blue.button, .ui.blue.buttons .button { +.ui.blue.button, +.ui.blue.buttons .button { background-color: #87ab63; } -.ui.blue.button:hover, .ui.blue.buttons .button:hover { +.ui.blue.button:hover, +.ui.blue.buttons .button:hover { background-color: #a0cc75; } -.ui.form input:not([type]), .ui.form input[type=text], .ui.form input[type=email], .ui.form input[type=search], .ui.form input[type=password], .ui.form input[type=date], .ui.form input[type=datetime-local], .ui.form input[type=tel], .ui.form input[type=time], .ui.form input[type=url], .ui.form input[type=number] { +.ui.form input:not([type]), +.ui.form input[type="text"], +.ui.form input[type="email"], +.ui.form input[type="search"], +.ui.form input[type="password"], +.ui.form input[type="date"], +.ui.form input[type="datetime-local"], +.ui.form input[type="tel"], +.ui.form input[type="time"], +.ui.form input[type="url"], +.ui.form input[type="number"] { + color: #9e9e9e; background: #404552; border: 2px solid #353945; } -.ui.form input:not([type]):focus, .ui.form input[type=text]:focus, .ui.form input[type=email]:focus, .ui.form input[type=search]:focus, .ui.form input[type=password]:focus, .ui.form input[type=date]:focus, .ui.form input[type=datetime-local]:focus, .ui.form input[type=tel]:focus, .ui.form input[type=time]:focus, .ui.form input[type=url]:focus, .ui.form input[type=number]:focus { +.ui.form input:not([type]):focus, +.ui.form input[type="text"]:focus, +.ui.form input[type="email"]:focus, +.ui.form input[type="search"]:focus, +.ui.form input[type="password"]:focus, +.ui.form input[type="date"]:focus, +.ui.form input[type="datetime-local"]:focus, +.ui.form input[type="tel"]:focus, +.ui.form input[type="time"]:focus, +.ui.form input[type="url"]:focus, +.ui.form input[type="number"]:focus { background: #404552; border: 2px solid #4b505f; color: #dbdbdb; @@ -356,11 +426,13 @@ footer { border-right-color: #4b505f !important; } -.ui.green.button, .ui.green.buttons .button { +.ui.green.button, +.ui.green.buttons .button { background-color: #87ab63; } -.ui.green.button:hover, .ui.green.buttons .button:hover { +.ui.green.button:hover, +.ui.green.buttons .button:hover { background-color: #a0cc75; } @@ -370,7 +442,8 @@ footer { color: #dbdbdb; } -.ui.labeled.button:not([class*="left labeled"]) > .label, .ui[class*="left labeled"].button > .button { +.ui.labeled.button:not([class*="left labeled"]) > .label, +.ui[class*="left labeled"].button > .button { background: #404552; border: 1px solid #4c505c; color: #87ab63; @@ -414,11 +487,15 @@ footer { border-bottom: 1px solid #304251; } -.hljs, .hljs-keyword, .hljs-selector-tag, .hljs-subst { +.hljs, +.hljs-keyword, +.hljs-selector-tag, +.hljs-subst { color: #9daccc; } -.markdown:not(code) .highlight pre, .markdown:not(code) pre { +.markdown:not(code) .highlight pre, +.markdown:not(code) pre { background-color: #2a2e3a; border: 1px solid #404552; } @@ -432,7 +509,7 @@ footer { } .ui.dropdown .menu > .message:not(.ui) { - color: rgb(99, 99, 99); + color: #636363; } .ui.input { @@ -453,12 +530,15 @@ footer { border: 1px solid #404552; } -.ui.active.button:active, .ui.button:active, .ui.button:focus { +.ui.active.button:active, +.ui.button:active, +.ui.button:focus { background-color: #2e3e4e; color: #dbdbdb; } -.ui.dropdown .menu .selected.item, .ui.dropdown.selected { +.ui.dropdown .menu .selected.item, +.ui.dropdown.selected { color: #dbdbdb; } @@ -528,11 +608,13 @@ footer { color: #dbdbdb !important; } -.ui.basic.green.active.button, .ui.basic.green.buttons .active.button { +.ui.basic.green.active.button, +.ui.basic.green.buttons .active.button { color: #13ae38 !important; } -.ui.form textarea, .ui.form textarea:focus { +.ui.form textarea, +.ui.form textarea:focus { background: #1a2632; border: 1px solid #313c47; color: #dbdbdb; @@ -552,7 +634,7 @@ footer { } .repository .diff-file-box .code-diff-unified tbody tr.add-code td { - background-color: rgb(40, 62, 45) !important; + background-color: #283e2d !important; border-color: #314a37 !important; } @@ -569,19 +651,18 @@ footer { background: #2e323e; } -.repository .diff-file-box .code-diff tbody tr.tag-code td, .repository .diff-file-box .code-diff tbody tr td.tag-code { - border-color: #2d2d2d !important; -} - .repository .diff-file-box .file-body.file-code .lines-num-old { border-right: 1px solid #2d2d2d; } -.hljs-title, .hljs-section, .hljs-selector-id { +.hljs-title, +.hljs-section, +.hljs-selector-id { color: #986c88; } -.hljs-string, .hljs-doctag { +.hljs-string, +.hljs-doctag { color: #949494; } @@ -589,12 +670,13 @@ footer { background-color: #5f3737; } -.repository .diff-file-box .code-diff tbody tr.tag-code td, .repository .diff-file-box .code-diff tbody tr td.tag-code { +.repository .diff-file-box .code-diff tbody tr.tag-code td, +.repository .diff-file-box .code-diff tbody tr td.tag-code { background-color: #292727 !important; } .ui.vertical.menu .active.item { - background: #4B5162; + background: #4b5162; } .ui.vertical.menu .item { @@ -618,19 +700,21 @@ footer { color: #87ab63 !important; } -.ui.selection.active.dropdown, .ui.selection.active.dropdown .menu { +.ui.selection.active.dropdown, +.ui.selection.active.dropdown .menu { border-color: #4e5361; - box-shadow: 0 2px 3px 0 rgba(34, 36, 38, .15); + box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15); } -.ui.selection.active.dropdown:hover, .ui.selection.active.dropdown:hover .menu { +.ui.selection.active.dropdown:hover, +.ui.selection.active.dropdown:hover .menu { border-color: #4e5361; - box-shadow: 0 2px 3px 0 rgba(34, 36, 38, .15); + box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15); } .ui.selection.dropdown { background: #404552; - border: 1px solid rgb(64, 69, 82); + border: 1px solid #404552; color: #9e9e9e; } @@ -642,16 +726,19 @@ footer { border-bottom: 1px solid #313c47; } -.ui.card, .ui.cards > .card { +.ui.card, +.ui.cards > .card { background: #353945; box-shadow: 0 1px 3px 0 #4c505c, 0 0 0 1px #4c505c; } -.ui.card > .content > .header, .ui.cards > .card > .content > .header { +.ui.card > .content > .header, +.ui.cards > .card > .content > .header { color: #dbdbdb; } -.ui.card > .extra a:not(.ui), .ui.cards > .card > .extra a:not(.ui) { +.ui.card > .extra a:not(.ui), +.ui.cards > .card > .extra a:not(.ui) { color: #87ab63; } @@ -683,15 +770,23 @@ footer { background: #4b5162; } -.ui.secondary.pointing.menu .dropdown.item:hover, .ui.secondary.pointing.menu .link.item:hover, .ui.secondary.pointing.menu a.item:hover { +.ui.secondary.pointing.menu .dropdown.item:hover, +.ui.secondary.pointing.menu .link.item:hover, +.ui.secondary.pointing.menu a.item:hover { color: #dbdbdb; } -.ui.checkbox label, .ui.checkbox + label, .ui.form .field > label { +.ui.checkbox label, +.ui.checkbox + label, +.ui.form .field > label { color: #9e9e9e; } -.ui.form .inline.field > label, .ui.form .inline.field > p, .ui.form .inline.fields .field > label, .ui.form .inline.fields .field > p, .ui.form .inline.fields > label { +.ui.form .inline.field > label, +.ui.form .inline.field > p, +.ui.form .inline.fields .field > label, +.ui.form .inline.fields .field > p, +.ui.form .inline.fields > label { color: #9e9e9e; } @@ -717,7 +812,7 @@ input { } .ui.secondary.pointing.menu .active.item { - border: none; + border: 0; background: #383c4a; } @@ -725,11 +820,8 @@ input { border-top: 1px solid #404552; } -.ui.form input:not([type]), .ui.form input[type=text], .ui.form input[type=email], .ui.form input[type=search], .ui.form input[type=password], .ui.form input[type=date], .ui.form input[type=datetime-local], .ui.form input[type=tel], .ui.form input[type=time], .ui.form input[type=url], .ui.form input[type=number] { - color: #9e9e9e; -} - -.ui.attached.info.message, .ui.info.message { +.ui.attached.info.message, +.ui.info.message { box-shadow: 0 0 0 1px #4b5e71 inset, 0 0 0 0 transparent; } @@ -762,65 +854,84 @@ input { box-shadow: 0 0 0 1px rgba(121, 71, 66, 0.5) inset, 0 0 0 0 transparent; } -.ui.red.button, .ui.red.buttons .button { +.ui.red.button, +.ui.red.buttons .button { background-color: #7d3434; } -.ui.red.button:hover, .ui.red.buttons .button:hover { +.ui.red.button:hover, +.ui.red.buttons .button:hover { background-color: #984646; } -.ui.checkbox label:hover, .ui.checkbox + label:hover { +.ui.checkbox label:hover, +.ui.checkbox + label:hover { color: #dbdbdb !important; } -.ui.checkbox input:checked ~ .box:after, .ui.checkbox input:checked ~ label:after { - color: rgb(127, 152, 173); +.ui.checkbox input:checked ~ .box:after, +.ui.checkbox input:checked ~ label:after { + color: #7f98ad; } -.ui.checkbox input:checked ~ .box:before, .ui.checkbox input:checked ~ label:before { +.ui.checkbox input:checked ~ .box:before, +.ui.checkbox input:checked ~ label:before { background: #304251; } -.ui.checkbox .box:hover::before, .ui.checkbox label:hover::before { +.ui.checkbox .box:hover::before, +.ui.checkbox label:hover::before { background: #304251; } -.ui.checkbox .box:before, .ui.checkbox label:before { +.ui.checkbox .box:before, +.ui.checkbox label:before { background: #304251; border: 1px solid #304251; } -.ui.checkbox .box:active::before, .ui.checkbox label:active::before { +.ui.checkbox .box:active::before, +.ui.checkbox label:active::before { background: #304251; - border-color: rgba(34, 36, 38, .35); + border-color: rgba(34, 36, 38, 0.35); } -.ui.checkbox input:checked ~ .box:before, .ui.checkbox input:checked ~ label:before { +.ui.checkbox input:checked ~ .box:before, +.ui.checkbox input:checked ~ label:before { border-color: #304251; background: #304251; } -.ui.checkbox input:focus ~ .box:before, .ui.checkbox input:focus ~ label:before { +.ui.checkbox input:focus ~ .box:before, +.ui.checkbox input:focus ~ label:before { border-color: #304251; background: #304251; } -.ui.checkbox input:checked:focus ~ .box:before, .ui.checkbox input:checked:focus ~ label:before, .ui.checkbox input:not([type=radio]):indeterminate:focus ~ .box:before, .ui.checkbox input:not([type=radio]):indeterminate:focus ~ label:before { +.ui.checkbox input:checked:focus ~ .box:before, +.ui.checkbox input:checked:focus ~ label:before, +.ui.checkbox input:not([type="radio"]):indeterminate:focus ~ .box:before, +.ui.checkbox input:not([type="radio"]):indeterminate:focus ~ label:before { border-color: #304251; background: #304251; } -.ui.checkbox input:checked ~ .box:after, .ui.checkbox input:checked ~ label:after { +.ui.checkbox input:checked ~ .box:after, +.ui.checkbox input:checked ~ label:after { opacity: 1; - color: rgb(127, 152, 173); + color: #7f98ad; } -.ui.checkbox input:checked:focus ~ .box:after, .ui.checkbox input:checked:focus ~ label:after, .ui.checkbox input:not([type=radio]):indeterminate:focus ~ .box:after, .ui.checkbox input:not([type=radio]):indeterminate:focus ~ label:after { - color: rgb(127, 152, 173); +.ui.checkbox input:checked:focus ~ .box:after, +.ui.checkbox input:checked:focus ~ label:after, +.ui.checkbox input:not([type="radio"]):indeterminate:focus ~ .box:after, +.ui.checkbox input:not([type="radio"]):indeterminate:focus ~ label:after { + color: #7f98ad; } -.ui.checkbox input:focus ~ .box:after, .ui.checkbox input:focus ~ label, .ui.checkbox input:focus ~ label:after { +.ui.checkbox input:focus ~ .box:after, +.ui.checkbox input:focus ~ label, +.ui.checkbox input:focus ~ label:after { color: #9a9a9a; } @@ -842,7 +953,9 @@ input { box-shadow: 0 0 0 1px rgba(121, 71, 66, 0.5) inset, 0 0 0 0 transparent; } -.hljs-tag, .hljs-name, .hljs-attribute { +.hljs-tag, +.hljs-name, +.hljs-attribute { color: #ef5e77; } @@ -850,16 +963,22 @@ input { border-bottom: 1px solid #4c505c; } -.ui.form textarea, .ui.form textarea:focus { +.ui.form textarea, +.ui.form textarea:focus { background: #404552; border: 2px solid #353945; } -.hljs-number, .hljs-literal, .hljs-variable, .hljs-template-variable, .hljs-tag .hljs-attr { +.hljs-number, +.hljs-literal, +.hljs-variable, +.hljs-template-variable, +.hljs-tag .hljs-attr { color: #bd84bf; } -.hljs-string, .hljs-doctag { +.hljs-string, +.hljs-doctag { color: #8ab398; } @@ -867,16 +986,19 @@ input { border: 2px dashed #4c505c; } -.ui.basic.red.button, .ui.basic.red.buttons .button { +.ui.basic.red.button, +.ui.basic.red.buttons .button { box-shadow: 0 0 0 1px #a04141 inset !important; color: #a04141 !important; } -.ui.list .list > .item .header, .ui.list > .item .header { +.ui.list .list > .item .header, +.ui.list > .item .header { color: #dedede; } -.ui.list .list > .item .description, .ui.list > .item .description { +.ui.list .list > .item .description, +.ui.list > .item .description { color: #9e9e9e; } @@ -888,31 +1010,41 @@ input { background: #2e323e; } -.repository.file.list #repo-files-table tbody .octicon.octicon-file-directory, .repository.file.list #repo-files-table tbody .octicon.octicon-file-submodule { +.repository.file.list #repo-files-table tbody .octicon.octicon-file-directory, +.repository.file.list #repo-files-table tbody .octicon.octicon-file-submodule { color: #7c9b5e; } -.ui.blue.button:focus, .ui.blue.buttons .button:focus { +.ui.blue.button:focus, +.ui.blue.buttons .button:focus { background-color: #87ab63; } -.ui.basic.blue.button:hover, .ui.basic.blue.buttons .button:hover { +.ui.basic.blue.button:hover, +.ui.basic.blue.buttons .button:hover { box-shadow: 0 0 0 1px #87ab63 inset !important; color: #87ab63 !important; } -.ui.basic.blue.button:focus, .ui.basic.blue.buttons .button:focus { +.ui.basic.blue.button:focus, +.ui.basic.blue.buttons .button:focus { box-shadow: 0 0 0 1px #87ab63 inset !important; color: #87ab63 !important; } -.repository.file.list #file-content .code-view .lines-num pre, .repository.file.list #file-content .code-view .lines-code pre, .repository.file.list #file-content .code-view .lines-num ol, .repository.file.list #file-content .code-view .lines-code ol, .repository.file.list #file-content .code-view .lines-num .hljs, .repository.file.list #file-content .code-view .lines-code .hljs { +.repository.file.list #file-content .code-view .lines-num pre, +.repository.file.list #file-content .code-view .lines-code pre, +.repository.file.list #file-content .code-view .lines-num ol, +.repository.file.list #file-content .code-view .lines-code ol, +.repository.file.list #file-content .code-view .lines-num .hljs, +.repository.file.list #file-content .code-view .lines-code .hljs { background-color: #2a2e3a; } -a.ui.label:hover, a.ui.labels .label:hover { +a.ui.label:hover, +a.ui.labels .label:hover { background-color: #505667; - color: rgb(219, 219, 219); + color: #dbdbdb; } .repository .label.list .item { @@ -923,43 +1055,62 @@ a.ui.label:hover, a.ui.labels .label:hover { background: #2e323e; } -.repository.file.list #repo-files-table tbody .octicon.octicon-file-directory, .repository.file.list #repo-files-table tbody .octicon.octicon-file-submodule { +.repository.file.list #repo-files-table tbody .octicon.octicon-file-directory, +.repository.file.list #repo-files-table tbody .octicon.octicon-file-submodule { color: #7c9b5e; } -.ui.basic.blue.button, .ui.basic.blue.buttons .button { +.ui.basic.blue.button, +.ui.basic.blue.buttons .button { box-shadow: 0 0 0 1px #a27558 inset !important; color: #a27558 !important; } -.repository.file.list #file-content .code-view .lines-num pre, .repository.file.list #file-content .code-view .lines-code pre, .repository.file.list #file-content .code-view .lines-num ol, .repository.file.list #file-content .code-view .lines-code ol, .repository.file.list #file-content .code-view .lines-num .hljs, .repository.file.list #file-content .code-view .lines-code .hljs { - background-color: #2a2e3a; +.repository.file.list #file-content .code-view { + .lines-num pre, + .lines-code pre, + .lines-num ol, + .lines-code ol, + .lines-num .hljs, + .hljs { + background-color: #2a2e3a; + } } -a.ui.label:hover, a.ui.labels .label:hover { +a.ui.label:hover, +a.ui.labels .label:hover { background-color: #505667; - color: rgb(219, 219, 219); + color: #dbdbdb; } -.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(1), .repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(2), .repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(3), .repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(4) { +.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(1), +.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(2), +.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(3), +.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(4) { background-color: #2a2e3a; } -.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(3), .repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(4), .repository .diff-file-box .code-diff-split tbody tr td.add-code { +.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(3), +.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(4), +.repository .diff-file-box .code-diff-split tbody tr td.add-code { background-color: #283e2d !important; border-color: #314a37 !important; } -.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(1), .repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(2), .repository .diff-file-box .code-diff-split tbody tr td.del-code { +.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(1), +.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(2), +.repository .diff-file-box .code-diff-split tbody tr td.del-code { background-color: #3c2626 !important; border-color: #634343 !important; } -.ui.blue.button:focus, .ui.blue.buttons .button:focus { +.ui.blue.button:focus, +.ui.blue.buttons .button:focus { background-color: #a27558; } -.ui.blue.button:active, .ui.blue.buttons .button:active { +.ui.blue.button:active, +.ui.blue.buttons .button:active { background-color: #a27558; } @@ -993,7 +1144,8 @@ a.ui.label:hover, a.ui.labels .label:hover { background: #383c4a; } -.ui.basic.blue.button, .ui.basic.blue.buttons .button { +.ui.basic.blue.button, +.ui.basic.blue.buttons .button { box-shadow: 0 0 0 1px #87ab63 inset !important; color: #87ab63 !important; } @@ -1009,7 +1161,7 @@ a.ui.label:hover, a.ui.labels .label:hover { .CodeMirror { color: #9daccc; background-color: #2b2b2b; - border-top: none; + border-top: 0; } .CodeMirror-gutters { @@ -1027,7 +1179,7 @@ a.ui.label:hover, a.ui.labels .label:hover { .comment-code-cloud { .ui.attached.tabular.menu { background: none transparent; - border: none; + border: 0; } .footer .markdown-info { @@ -1036,7 +1188,7 @@ a.ui.label:hover, a.ui.labels .label:hover { } .file-comment { - color: #888; + color: #888888; } .ui.comments .comment { |