##// END OF EJS Templates
fix(ui): fixed issues with hover menus and diff download items....
fix(ui): fixed issues with hover menus and diff download items. - the diff ops are now moved into context menu - the diff ops could be now used in PR context - fixed various UI problems with the old solution

File last commit:

r4511:c6ccda60 stable
r5294:5bd3eb1a default
Show More
summary.less
479 lines | 8.9 KiB | text/x-less | LessCssLexer
project: added all source files and assets
r1 // summary.less
// For use in RhodeCode applications;
// Used for headers and file detail summary screens.
.summary {
Liviu
Repo summary box changes
r3620 clear: both;
float: none;
project: added all source files and assets
r1 position: relative;
width: 100%;
margin: 0;
padding: 0;
Liviu
Repo summary box changes
r3620 background: #FCFCFC;
border: 1px solid #EAEAEA;
border-radius: @border-radius;
margin-bottom: 20px;
project: added all source files and assets
r1
.summary-detail-header {
display: block;
width: 100%;
Liviu
fixed compare view layout
r3703 margin-bottom: 10px;
project: added all source files and assets
r1 padding: 0 0 .5em 0;
border-bottom: @border-thickness solid @border-default-color;
.breadcrumbs {
display: inline;
margin: 0;
padding: 0;
}
Liviu
styled the files summary box
r3649
project: added all source files and assets
r1 h4 {
margin: 0 1em 0 0;
Liviu
fixed compare view layout
r3703 padding: 10px 0 5px 20px;
project: added all source files and assets
r1 line-height: 1.2em;
font-size: @basefontsize;
}
.action_link {
float: right;
}
.new-file {
float: right;
margin-top: -1.5em;
}
}
.summary-detail {
Liviu
Repo summary box changes
r3620 float: none;
project: added all source files and assets
r1 position: relative;
Liviu
Repo summary box changes
r3620 width: 100%;
margin: 0;
Liviu
fixed compare view layout
r3703 padding: 0 0 20px 0;
project: added all source files and assets
r1
.file_diff_buttons {
margin-top: @space;
}
// commit message
.commit {
white-space: pre-wrap;
}
ui: allow selecting and specifing ssh clone url....
r2497 .left-clone {
float: left;
height: 30px;
margin: 0;
padding: 0;
Liviu
Aligned expanded sumarry box content better and moved comments as last column
r3639 width: 130px;
style: bring back bold font style.
r3186 font-weight: @text-semibold-weight;
ui: allow selecting and specifing ssh clone url....
r2497 font-family: @text-semibold;
ux: make url on summary screen stretch to fill in space.
r1704 }
Liviu
Repo summary box changes
r3620 .left-clone select {
Liviu
Aligned expanded sumarry box content better and moved comments as last column
r3639 width: 130px;
Liviu
Repo summary box changes
r3620 margin-right: 0;
background-color: @grey7;
border-color: @grey4;
color: #5C5C5C;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
ux: make url on summary screen stretch to fill in space.
r1704
ui: allow selecting and specifing ssh clone url....
r2497 .right-clone {
Liviu
Repo summary box changes
r3620 float: left;
Liviu
Aligned expanded sumarry box content better and moved comments as last column
r3639 width: ~"calc(100% - 170px)";
Liviu
Repo summary box changes
r3620
.clipboard-action {
margin-left: -30px;
}
ui: allow selecting and specifing ssh clone url....
r2497 }
.clone_url_input {
Liviu
Aligned expanded sumarry box content better and moved comments as last column
r3639 width: ~"calc(100% - 90px)";
Liviu
Repo summary box changes
r3620 padding: 6px 30px 6px 10px;
height: 14px;
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.07);
border-top-left-radius: 0;
border-bottom-left-radius: 0;
margin-left: -1px;
project: added all source files and assets
r1 }
&.directory {
margin-bottom: 0;
}
.desc {
white-space: pre-wrap;
}
.disabled {
opacity: .5;
diffs: compare overhaul....
r1259 cursor: inherit;
project: added all source files and assets
r1 }
.help-block {
color: inherit;
margin: 0;
}
}
.sidebar-right {
float: left;
width: 24%;
margin: 0;
padding: 0;
ul {
margin-left: 0;
padding-left: 0;
li {
style: updated li style and markdown style....
r3248 list-style-type: none;
project: added all source files and assets
r1 }
}
}
#clone_by_name, #clone_by_id{
display: inline-block;
templates: add copy to clipboard for repository clone.
r1942 margin-left: 0px;
project: added all source files and assets
r1 }
.codeblock {
border: none;
background-color: transparent;
}
.code-body {
border: @border-thickness solid @border-default-color;
.border-radius(@border-radius);
}
Liviu
Repo summary box changes
r3620
.btn-collapse {
clear: both;
float: none;
background: #F7F7F7;
text-align: center;
color: #949494;
font-size: 11px;
ui: new commits page....
r3882 line-height: 1.3em;
Liviu
Repo summary box changes
r3620
&:hover {
background: #f1f1f1;
color: #2B2B2D;
}
}
project: added all source files and assets
r1 }
// this is used outside of just the summary
.fieldset, // similar to form fieldset
.summary .sidebar-right-content { // these have to match
clear: both;
Liviu
Repo summary box changes
r3620 float: none;
project: added all source files and assets
r1 position: relative;
display:block;
width: 100%;
Liviu
adjusted the padding of path and summary box between files and file details screens
r3720 min-height: 20px;
Liviu
Repo summary box changes
r3620 margin-bottom: 10px;
project: added all source files and assets
r1 padding: 0;
line-height: 1.2em;
&:after { // clearfix
content: "";
clear: both;
width: 100%;
height: 1em;
}
}
.summary .sidebar-right-content {
Liviu
file details view summary box changes, not yet finnished
r3653 margin-bottom: 0;
ux: #4037 use gravatar for commit email and add tooltips for name + email
r410
.rc-user {
min-width: 0;
}
Liviu
file details view summary box changes, not yet finnished
r3653
li {
list-style: none;
line-height: normal;
}
project: added all source files and assets
r1 }
Liviu
styled the files summary box
r3649 .summary {
.fieldset {
margin-bottom: 0;
}
ui: new commits page....
r3882
.tags-main {
margin-bottom: 5px;
}
Liviu
styled the files summary box
r3649 }
project: added all source files and assets
r1 .fieldset {
.left-label { // similar to form legend
display: block;
margin: 0;
padding: 0;
style: bring back bold font style.
r3186 font-weight: @text-semibold-weight;
project: added all source files and assets
r1 font-family: @text-semibold;
}
summary-page: re-organize summary page info for better UX....
r3183
.left-label-summary {
Liviu
Repo summary box changes
r3620 padding-left: 20px;
margin-bottom: 5px;
p {
margin-bottom: 5px;
color: @grey1;
Liviu
Aligned expanded sumarry box content better and moved comments as last column
r3639 float: left;
width: 130px;
Liviu
fixed compare view layout
r3703
&.spacing {
margin-top: 10px;
}
Liviu
Aligned expanded sumarry box content better and moved comments as last column
r3639 }
.right-label-summary {
float: left;
dan
header-labels: fixed small spacing issues
r4040 margin-top: 0px;
line-height: 2em;
Liviu
Changeset view summary box changes and fixed my profile view
r3685 width: ~"calc(100% - 160px)";
Liviu
Repo summary box changes
r3620 }
}
Liviu
file summary and codeblock styles adjustments
r3668 .left-label-summary-files {
padding-left: 45px;
margin-top: 5px;
p {
margin-bottom: 5px;
color: @grey1;
float: left;
width: 130px;
Liviu
fixed compare view layout
r3703
&.spacing {
margin-top: 10px;
}
Liviu
file summary and codeblock styles adjustments
r3668 }
.right-label-summary {
float: left;
dan
header-labels: fixed small spacing issues
r4040 margin-top: 0px;
line-height: 2em;
Liviu
file summary and codeblock styles adjustments
r3668 }
}
Liviu
Repo summary box changes
r3620 .left-content {
Liviu
added white-space:pre for the commit message
r3652 width: ~"calc(60% - 20px)";
Liviu
Repo summary box changes
r3620 float: left;
margin: 15px 0 15px 20px;
Liviu
styled the files summary box
r3649
.rc-user {
min-width: auto;
max-width: none;
min-height: auto;
padding-right: 5px;
}
Liviu
files avatar in front of message and rounded gravatars
r3650
.left-content-avatar {
width: 45px;
float: left;
margin-top: 8px;
}
.left-content-message {
float: left;
Liviu
prevent avatar jumping on new line when commit message is expanded
r3651 width: ~"calc(100% - 45px)";
Liviu
files avatar in front of message and rounded gravatars
r3650 }
summary-page: re-organize summary page info for better UX....
r3183 }
Liviu
fixed clone input url alignment
r3596
project: added all source files and assets
r1 .right-content { // similar to form fields
float: left;
display: block;
Liviu
added white-space:pre for the commit message
r3652 width: ~"calc(40% - 20px)";
Liviu
Repo summary box changes
r3620 text-align: right;
margin: 15px 20px 15px 0;
project: added all source files and assets
r1
.truncate-wrap,
.truncate {
max-width: 100%;
width: 100%;
}
.commit-long {
overflow-x: auto;
}
Liviu
Repo summary box changes
r3620
.commit-info {
margin-top: 7px;
}
ui: fixed tags display
r3766 .summary-tag,
.summary-tagtag,
.summary-branchtag,
.summary-booktag,
.summary-metatag,
.summary-perm_tag {
Liviu
Repo summary box changes
r3620 background:transparent;
border: none;
box-shadow: none;
margin-left: 10px;
font-size: 13px;
}
ui: fixed tags display
r3766 .summary-tag span,
.summary-tag i,
.summary-tag a {
Liviu
Repo summary box changes
r3620 color: @grey1;
}
ui: fixed tags display
r3766
project: added all source files and assets
r1 }
Liviu
styled the files summary box
r3649 .commit {
color: @grey1;
Liviu
files avatar in front of message and rounded gravatars
r3650 margin-bottom: 5px;
Liviu
added white-space:pre for the commit message
r3652 white-space: pre;
Liviu
styled the files summary box
r3649 }
styling: #4086 fixing bug where long commit messages did not wrap in file view
r439 .commit.truncate-wrap {
overflow:hidden;
text-overflow: ellipsis;
}
Liviu
files avatar in front of message and rounded gravatars
r3650 .commit-author {
color: @grey1;
}
.commit-date {
color: @grey4;
}
dan
ui: fixed commit range page
r3759 .fieldset-text-line {
line-height: 36px;
}
project: added all source files and assets
r1 }
// expand commit message
#message_expand {
clear: both;
display: block;
color: @rcblue;
cursor: pointer;
}
#trimmed_message_box {
max-height: floor(2 * @basefontsize * 1.2); // 2 lines * line-height
overflow: hidden;
}
// show/hide comments button
.show-inline-comments {
display: inline;
cursor: pointer;
.comments-show { display: inline; }
.comments-hide { display: none; }
Liviu
fixed clone input url alignment
r3596
project: added all source files and assets
r1 &.comments-visible {
.comments-show { display: none; }
.comments-hide { display: inline; }
}
}
Liviu
fixed clone input url alignment
r3596
project: added all source files and assets
r1 // Quick Start section
Liviu
Repo summary box changes
r3620
.empty-repo {
border: 1px solid #EAEAEA;
border-bottom: 0;
border-radius: @border-radius;
padding: 0 20px;
}
.empty-repo h3, .quick_start p {
margin-bottom: 10px;
}
.quick_start pre {
background: #FCFEFF;
border: 1px solid #CBDBEB;
box-shadow: @button-shadow;
padding: 10px 15px;
border-radius: 4px;
color: @grey2;
}
Liviu
fixed settings clearfix overwritter css
r3644 .clear-fix {
Liviu
Repo summary box changes
r3620 clear: both;
}
project: added all source files and assets
r1 .quick_start {
display: block;
position: relative;
Liviu
Repo summary box changes
r3620 border: 1px solid #EAEAEA;
border-top: 0;
border-radius: @border-radius;
padding: 0 20px;
project: added all source files and assets
r1
// adds some space to make copy and paste easier
.left-label,
.right-content {
line-height: 1.6em;
}
}
Liviu
Repo summary box changes
r3620
project: added all source files and assets
r1 .submodule {
.summary-detail {
width: 100%;
.btn-collapse {
display: none;
}
}
}
.codeblock-header {
float: left;
display: block;
width: 100%;
margin: 0;
files: moved source path to lower position according to the design
r3715 .file-filename {
float:left;
Liviu
file summary and codeblock styles adjustments
r3668 padding: 10px;
project: added all source files and assets
r1 }
files: moved source path to lower position according to the design
r3715
.file-stats {
padding: 10px;
float:right;
files: handle long paths in nicer UI.
r3136 }
files: moved source path to lower position according to the design
r3715
files: handle long paths in nicer UI.
r3136 .stats-first-item {
padding: 0px 0px 0px 3px;
}
project: added all source files and assets
r1
Liviu
file summary and codeblock styles adjustments
r3668 .stats-info {
Liviu
removed extra top margin for file details view and smaller stats-info text
r3708 font-size: 11px;
Liviu
file summary and codeblock styles adjustments
r3668 color: @grey4;
}
project: added all source files and assets
r1 .buttons {
float: right;
text-align: right;
color: @grey4;
Liviu
file summary and codeblock styles adjustments
r3668 padding: 10px;
project: added all source files and assets
r1 }
search: added narrow result links for global search.
r3467
.file-container {
display: inline-block;
width: 100%;
}
project: added all source files and assets
r1 }
#summary-menu-stats {
.stats-bullet {
color: @grey3;
min-width: 3em;
}
.repo-size {
margin-bottom: .5em;
}
Liviu
fixed clone input url alignment
r3596
project: added all source files and assets
r1 }