##// END OF EJS Templates
permissions: allow users to update settings for repository groups they still own, or have admin perms, when they don't change their name....
permissions: allow users to update settings for repository groups they still own, or have admin perms, when they don't change their name. - this before gave no-permission errors as the parent group access was checked - since the group parent permission should be checked at creation, or name change this commit fixes such case

File last commit:

r4411:569617be default
r4421:73f70a03 default
Show More
comments.less
635 lines | 10.8 KiB | text/x-less | LessCssLexer
project: added all source files and assets
r1 // comments.less
// For use in RhodeCode applications;
// see style guide documentation for guidelines.
// Comments
comments: show links to unresolved todos...
r1344 @comment-outdated-opacity: 0.6;
project: added all source files and assets
r1 .comments {
width: 100%;
}
ui: new commits page....
r3882 .comments-heading {
margin-bottom: -1px;
background: @grey6;
display: block;
padding: 10px 0px;
font-size: 18px
}
comments: re-implemented diff and comments/todos in pull-requests.
r3884 #comment-tr-show {
padding: 5px 0;
}
project: added all source files and assets
r1 tr.inline-comments div {
max-width: 100%;
p {
Liviu
Multiple changes for the navigation and buttons
r3570 white-space: normal;
project: added all source files and assets
r1 }
code, pre, .code, dd {
overflow-x: auto;
width: 1062px;
}
dd {
width: auto;
}
}
#injected_page_comments {
.comment-previous-link,
.comment-next-link,
.comment-links-divider {
display: none;
}
}
.add-comment {
margin-bottom: 10px;
}
.hide-comment-button .add-comment {
display: none;
}
.comment-bubble {
color: @grey4;
margin-top: 4px;
margin-right: 30px;
visibility: hidden;
}
comments: add comments type into comments.
r1324 .comment-label {
float: left;
padding: 0.4em 0.4em;
comments: made few UI changes/improvements for how we show comments status, ribbons and general comment data.
r4411 margin: 2px 4px 0px 0px;
comments: add comments type into comments.
r1324 display: inline-block;
min-height: 0;
text-align: center;
font-size: 10px;
line-height: .8em;
font-family: @text-italic;
style: bring back bold font style.
r3186 font-style: italic;
comments: add comments type into comments.
r1324 background: #fff none;
comments: made few UI changes/improvements for how we show comments status, ribbons and general comment data.
r4411 color: @grey3;
comments: add comments type into comments.
r1324 border: 1px solid @grey4;
white-space: nowrap;
text-transform: uppercase;
comments: made few UI changes/improvements for how we show comments status, ribbons and general comment data.
r4411 min-width: 50px;
border-radius: 4px;
comments: add comments type into comments.
r1324
&.todo {
color: @color5;
style: bring back bold font style.
r3186 font-style: italic;
font-weight: @text-bold-italic-weight;
comments: add comments type into comments.
r1324 font-family: @text-bold-italic;
}
comments: enabled resolution for general comments, and finalized how general comment is build
r1326
.resolve {
cursor: pointer;
text-decoration: underline;
}
.resolved {
text-decoration: line-through;
color: @color1;
}
.resolved a {
text-decoration: line-through;
color: @color1;
}
.resolve-text {
color: @color1;
margin: 2px 8px;
font-family: @text-italic;
style: bring back bold font style.
r3186 font-style: italic;
comments: enabled resolution for general comments, and finalized how general comment is build
r1326 }
comments: add comments type into comments.
r1324 }
comments: link to resolved comment in FIX comment type.
r1360 .has-spacer-after {
&:after {
content: ' | ';
color: @grey5;
}
}
.has-spacer-before {
&:before {
content: ' | ';
color: @grey5;
}
}
comments: add comments type into comments.
r1324
project: added all source files and assets
r1 .comment {
comments: properly show version of pull request into added comments....
r1286
&.comment-general {
border: 1px solid @grey5;
padding: 5px 5px 5px 5px;
}
project: added all source files and assets
r1 margin: @padding 0;
padding: 4px 0 0 0;
line-height: 1em;
styling: gravatar improvements for special cases
r8 .rc-user {
min-width: 0;
comments: add comments type into comments.
r1324 margin: 0px .5em 0 0;
.user {
display: inline;
}
styling: gravatar improvements for special cases
r8 }
project: added all source files and assets
r1 .meta {
position: relative;
width: 100%;
comments: properly show version of pull request into added comments....
r1286 border-bottom: 1px solid @grey5;
comments: add comments type into comments.
r1324 margin: -5px 0px;
line-height: 24px;
project: added all source files and assets
r1
&:hover .permalink {
visibility: visible;
color: @rcblue;
}
}
.author,
.date {
display: inline;
&:after {
content: ' | ';
color: @grey5;
}
}
comments: properly show version of pull request into added comments....
r1286 .author-general img {
comments: add comments type into comments.
r1324 top: 3px;
comments: properly show version of pull request into added comments....
r1286 }
.author-inline img {
comments: add comments type into comments.
r1324 top: 3px;
comments: properly show version of pull request into added comments....
r1286 }
project: added all source files and assets
r1 .status-change,
.permalink,
.changeset-status-lbl {
display: inline;
}
.permalink {
visibility: hidden;
}
.comment-links-divider {
display: inline;
}
.comment-links-block {
float:right;
text-align: right;
min-width: 85px;
[class^="icon-"]:before,
[class*=" icon-"]:before {
margin-left: 0;
margin-right: 0;
}
}
.comment-previous-link {
display: inline-block;
.arrow_comment_link{
cursor: pointer;
i {
font-size:10px;
}
}
.arrow_comment_link.disabled {
cursor: default;
color: @grey5;
}
}
.comment-next-link {
display: inline-block;
.arrow_comment_link{
cursor: pointer;
i {
font-size:10px;
}
}
.arrow_comment_link.disabled {
cursor: default;
color: @grey5;
}
}
.delete-comment {
display: inline-block;
color: @rcblue;
Liviu
Multiple changes for the navigation and buttons
r3570
project: added all source files and assets
r1 &:hover {
cursor: pointer;
}
}
.text {
clear: both;
.border-radius(@border-radius);
.box-sizing(border-box);
.markdown-block p,
.rst-block p {
margin: .5em 0 !important;
// TODO: lisa: This is needed because of other rst !important rules :[
}
}
comments: properly show version of pull request into added comments....
r1286
.pr-version {
comments: cleanup of PR versions/author tags.
r4409 display: inline-block;
comments: properly show version of pull request into added comments....
r1286 }
.pr-version-inline {
comments: cleanup of PR versions/author tags.
r4409 display: inline-block;
comments: properly show version of pull request into added comments....
r1286 }
.pr-version-num {
font-size: 10px;
}
project: added all source files and assets
r1 }
comments: add comments type into comments.
r1324 @comment-padding: 5px;
comments: show links to unresolved todos...
r1344 .general-comments {
.comment-outdated {
opacity: @comment-outdated-opacity;
}
}
comments: add comments type into comments.
r1324 .inline-comments {
border-radius: @border-radius;
.comment {
margin: 0;
border-radius: @border-radius;
}
.comment-outdated {
comments: show links to unresolved todos...
r1344 opacity: @comment-outdated-opacity;
comments: add comments type into comments.
r1324 }
.comment-inline {
background: white;
padding: @comment-padding @comment-padding;
border: @comment-padding solid @grey6;
.text {
border: none;
}
.meta {
border-bottom: 1px solid @grey6;
margin: -5px 0px;
line-height: 24px;
}
}
.comment-selected {
border-left: 6px solid @comment-highlight-color;
}
.comment-inline-form {
padding: @comment-padding;
display: none;
}
.cb-comment-add-button {
margin: @comment-padding;
}
/* hide add comment button when form is open */
.comment-inline-form-open ~ .cb-comment-add-button {
display: none;
}
.comment-inline-form-open {
display: block;
}
/* hide add comment button when form but no comments */
.comment-inline-form:first-child + .cb-comment-add-button {
display: none;
}
/* hide add comment button when no comments or form */
.cb-comment-add-button:first-child {
display: none;
}
/* hide add comment button when only comment is being deleted */
.comment-deleting:first-child + .cb-comment-add-button {
display: none;
}
}
project: added all source files and assets
r1 .show-outdated-comments {
display: inline;
color: @rcblue;
}
// Comment Form
div.comment-form {
margin-top: 20px;
}
.comment-form strong {
display: block;
margin-bottom: 15px;
}
.comment-form textarea {
width: 100%;
height: 100px;
fonts: use consistent fonts across whole application.
r3165 font-family: @text-monospace;
project: added all source files and assets
r1 }
form.comment-form {
margin-top: 10px;
margin-left: 10px;
}
.comment-inline-form .comment-block-ta,
.comment-form .comment-block-ta,
.comment-form .preview-box {
.border-radius(@border-radius);
.box-sizing(border-box);
background-color: white;
}
.comment-form-submit {
margin-top: 5px;
margin-left: 525px;
}
.file-comments {
display: none;
}
.comment-form .preview-box.unloaded,
.comment-inline-form .preview-box.unloaded {
height: 50px;
text-align: center;
padding: 20px;
background-color: white;
}
.comment-footer {
position: relative;
width: 100%;
min-height: 42px;
Liviu
Multiple changes for the navigation and buttons
r3570
project: added all source files and assets
r1 .status_box,
.cancel-button {
float: left;
display: inline-block;
}
Liviu
Multiple changes for the navigation and buttons
r3570
ui: updated comments box with latest styling.
r4130 .status_box {
margin-left: 10px;
}
project: added all source files and assets
r1 .action-buttons {
ui: updated comments box with latest styling.
r4130 float: left;
project: added all source files and assets
r1 display: inline-block;
}
pull-requests: add explicit CLOSE pr action instead of closed status from selector....
r1445
.action-buttons-extra {
display: inline-block;
}
project: added all source files and assets
r1 }
.comment-form {
.comment {
margin-left: 10px;
}
.comment-help {
color: @grey4;
padding: 5px 0 5px 0;
}
.comment-title {
padding: 5px 0 5px 0;
}
.comment-button {
display: inline-block;
}
comments: allow submitting id of comment which submitted comment resolved....
r1325 .comment-button-input {
project: added all source files and assets
r1 margin-right: 0;
}
.comment-footer {
pull-request: flip the order of comments/merge status. Comments should be close to actuall comments
r4051 margin-bottom: 50px;
comments: improved comments form layout....
r1281 margin-top: 10px;
project: added all source files and assets
r1 }
}
.comment-form-login {
.comment-help {
Liviu
Multiple changes for the navigation and buttons
r3570 padding: 0.7em; //same as the button
project: added all source files and assets
r1 }
Liviu
Multiple changes for the navigation and buttons
r3570 div.clearfix {
project: added all source files and assets
r1 clear: both;
width: 100%;
display: block;
}
}
comment-history: UI fixes
r4404 .comment-version-select {
margin: 0px;
border-radius: inherit;
border-color: @grey6;
height: 20px;
}
comments: add comments type into comments.
r1324 .comment-type {
margin: 0px;
border-radius: inherit;
border-color: @grey6;
}
project: added all source files and assets
r1 .preview-box {
comments: improved comments form layout....
r1281 min-height: 105px;
project: added all source files and assets
r1 margin-bottom: 15px;
background-color: white;
.border-radius(@border-radius);
.box-sizing(border-box);
}
.add-another-button {
margin-left: 10px;
margin-top: 10px;
margin-bottom: 10px;
}
.comment .buttons {
float: right;
margin: -1px 0px 0px 0px;
}
// Inline Comment Form
.injected_diff .comment-inline-form,
.comment-inline-form {
comments: improved comments form layout....
r1281 background-color: white;
project: added all source files and assets
r1 margin-top: 10px;
margin-bottom: 20px;
}
.inline-form {
padding: 10px 7px;
}
.inline-form div {
max-width: 100%;
}
.overlay {
display: none;
position: absolute;
width: 100%;
text-align: center;
vertical-align: middle;
font-size: 16px;
background: none repeat scroll 0 0 white;
&.submitting {
display: block;
opacity: 0.5;
z-index: 100;
}
}
.comment-inline-form .overlay.submitting .overlay-text {
margin-top: 5%;
}
.comment-inline-form .clearfix,
.comment-form .clearfix {
.border-radius(@border-radius);
margin: 0px;
}
comments: improved comments form layout....
r1281 .comment-inline-form .comment-footer {
margin: 10px 0px 0px 0px;
}
project: added all source files and assets
r1 .hide-inline-form-button {
margin-left: 5px;
}
.comment-button .hide-inline-form {
background: white;
}
comments: improved comments form layout....
r1281
.comment-area {
ui: updated comments box with latest styling.
r4130 padding: 6px 8px;
comments: improved comments form layout....
r1281 border: 1px solid @grey5;
.border-radius(@border-radius);
comments: show links to unresolved todos...
r1344
.resolve-action {
padding: 1px 0px 0px 6px;
}
comments: improved comments form layout....
r1281 }
ui: updated comments box with latest styling.
r4130 comment-area-text {
color: @grey3;
}
.comment-area-header {
height: 35px;
}
comments: improved comments form layout....
r1281 .comment-area-header .nav-links {
display: flex;
flex-flow: row wrap;
-webkit-flex-flow: row wrap;
width: 100%;
}
.comment-area-footer {
comments: added support for adding comment attachments using the artifacts logic....
r3973 min-height: 30px;
comments: improved comments form layout....
r1281 }
.comment-footer .toolbar {
}
comments: added support for adding comment attachments using the artifacts logic....
r3973 .comment-attachment-uploader {
border: 1px dashed white;
border-radius: @border-radius;
margin-top: -10px;
ui: updated comments box with latest styling.
r4130 line-height: 30px;
comments: added support for adding comment attachments using the artifacts logic....
r3973 &.dz-drag-hover {
border-color: @grey3;
}
.dz-error-message {
padding-top: 0;
}
}
.comment-attachment-text {
clear: both;
font-size: 11px;
color: #8F8F8F;
width: 100%;
.pick-attachment {
color: #8F8F8F;
}
.pick-attachment:hover {
color: @rcblue;
}
}
comments: improved comments form layout....
r1281 .nav-links {
padding: 0;
margin: 0;
list-style: none;
height: auto;
border-bottom: 1px solid @grey5;
}
.nav-links li {
display: inline-block;
style: updated li style and markdown style....
r3248 list-style-type: none;
comments: improved comments form layout....
r1281 }
style: updated li style and markdown style....
r3248
comments: improved comments form layout....
r1281 .nav-links li a.disabled {
cursor: not-allowed;
}
.nav-links li.active a {
border-bottom: 2px solid @rcblue;
color: #000;
font-weight: 600;
}
.nav-links li a {
display: inline-block;
padding: 0px 10px 5px 10px;
margin-bottom: -1px;
font-size: 14px;
line-height: 28px;
color: #8f8f8f;
border-bottom: 2px solid transparent;
}
.toolbar-text {
ui: updated comments box with latest styling.
r4130 float: right;
font-size: 11px;
color: @grey4;
text-align: right;
a {
color: @grey4;
}
comments: improved comments form layout....
r1281 }