diff options
author | Unknwon <u@gogs.io> | 2016-08-15 01:42:20 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-15 01:42:20 -0700 |
commit | 4a19fd64412dc111bac3c1b56cf3eb55728d2ba3 (patch) | |
tree | 57d03a9b2f6aab9b1f0f69a2926c0e8418e66be0 /public/less/_repository.less | |
parent | 54e0ada9d53c28543a436d266dc73e759cc7658b (diff) | |
download | gitea-4a19fd64412dc111bac3c1b56cf3eb55728d2ba3.tar.gz gitea-4a19fd64412dc111bac3c1b56cf3eb55728d2ba3.zip |
Web editor: temporarily disable upload and quick fix for edit and new
Try to merge into develop branch ASAP, then continue minor fixes afterwards.
Diffstat (limited to 'public/less/_repository.less')
-rw-r--r-- | public/less/_repository.less | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less index 6a378ee396..dceaa67ca3 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -158,6 +158,14 @@ font-size: 1.4em; } } + #file-buttons { + font-weight: normal; + margin-top: -3px; + padding-right: 20px; + .ui.button { + padding: 8px 10px; + } + } #repo-files-table { thead { @@ -204,8 +212,36 @@ font-size: 1em; margin-top: -2px; } + .file-actions { + padding-left: 20px; + .btn-octicon { + display: inline-block; + padding: 5px; + margin-left: 5px; + line-height: 1; + color: #767676; + vertical-align: middle; + background: transparent; + border: 0; + outline: none; + } + .btn-octicon:hover { + color: #4078c0; + } + .btn-octicon-danger:hover { + color: #bd2c00; + } + .btn-octicon.disabled { + color: #bbb; + cursor: default; + } + #delete-file-form { + display: inline-block; + } + } } .view-raw { + padding: 5px; * { max-width: 100%; } @@ -271,6 +307,77 @@ } } + &.file.editor { + .treepath { + width: 100%; + + input { + vertical-align: middle; + box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 2px inset; + width: inherit; + padding: 7px 8px; + margin-right: 5px; + } + } + + .tabular.menu { + .octicon { + margin-right: 5px; + } + } + + .CodeMirror.cm-s-default { + border-radius: 3px; + padding: 0 !important; + } + + .commit-form-wrapper { + padding-left: 64px; + .commit-avatar { + float: left; + margin-left: -64px; + width: 3em; + height: auto; + } + .commit-form { + position: relative; + padding: 15px; + margin-bottom: 10px; + border: 1px solid #ddd; + border-radius: 3px; + #avatar-arrow; + &:after { + border-right-color: #fff; + } + + .quick-pull-choice { + .branch-name { + display: inline-block; + padding: 3px 6px; + font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; + color: rgba(0,0,0,0.65); + background-color: rgba(209,227,237,0.45); + border-radius: 3px; + } + .new-branch-name-input { + position: relative; + margin-left: 25px; + input { + width: 240px !important; + padding-left: 26px !important; + } + } + .octicon-git-branch { + position: absolute; + top: 9px; + left: 10px; + color: #b0c4ce; + } + } + } + } + } + &.options { #interval { width: 100px!important; |