##// END OF EJS Templates
caches: dbm backend needs to use bytes to list keys
caches: dbm backend needs to use bytes to list keys

File last commit:

r4511:c6ccda60 stable
r5022:b2c2c0f3 default
Show More
summary.less
479 lines | 8.9 KiB | text/x-less | LessCssLexer
// summary.less
// For use in RhodeCode applications;
// Used for headers and file detail summary screens.
.summary {
clear: both;
float: none;
position: relative;
width: 100%;
margin: 0;
padding: 0;
background: #FCFCFC;
border: 1px solid #EAEAEA;
border-radius: @border-radius;
margin-bottom: 20px;
.summary-detail-header {
display: block;
width: 100%;
margin-bottom: 10px;
padding: 0 0 .5em 0;
border-bottom: @border-thickness solid @border-default-color;
.breadcrumbs {
display: inline;
margin: 0;
padding: 0;
}
h4 {
margin: 0 1em 0 0;
padding: 10px 0 5px 20px;
line-height: 1.2em;
font-size: @basefontsize;
}
.action_link {
float: right;
}
.new-file {
float: right;
margin-top: -1.5em;
}
}
.summary-detail {
float: none;
position: relative;
width: 100%;
margin: 0;
padding: 0 0 20px 0;
.file_diff_buttons {
margin-top: @space;
}
// commit message
.commit {
white-space: pre-wrap;
}
.left-clone {
float: left;
height: 30px;
margin: 0;
padding: 0;
width: 130px;
font-weight: @text-semibold-weight;
font-family: @text-semibold;
}
.left-clone select {
width: 130px;
margin-right: 0;
background-color: @grey7;
border-color: @grey4;
color: #5C5C5C;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.right-clone {
float: left;
width: ~"calc(100% - 170px)";
.clipboard-action {
margin-left: -30px;
}
}
.clone_url_input {
width: ~"calc(100% - 90px)";
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;
}
&.directory {
margin-bottom: 0;
}
.desc {
white-space: pre-wrap;
}
.disabled {
opacity: .5;
cursor: inherit;
}
.help-block {
color: inherit;
margin: 0;
}
}
.sidebar-right {
float: left;
width: 24%;
margin: 0;
padding: 0;
ul {
margin-left: 0;
padding-left: 0;
li {
list-style-type: none;
}
}
}
#clone_by_name, #clone_by_id{
display: inline-block;
margin-left: 0px;
}
.codeblock {
border: none;
background-color: transparent;
}
.code-body {
border: @border-thickness solid @border-default-color;
.border-radius(@border-radius);
}
.btn-collapse {
clear: both;
float: none;
background: #F7F7F7;
text-align: center;
color: #949494;
font-size: 11px;
line-height: 1.3em;
&:hover {
background: #f1f1f1;
color: #2B2B2D;
}
}
}
// this is used outside of just the summary
.fieldset, // similar to form fieldset
.summary .sidebar-right-content { // these have to match
clear: both;
float: none;
position: relative;
display:block;
width: 100%;
min-height: 20px;
margin-bottom: 10px;
padding: 0;
line-height: 1.2em;
&:after { // clearfix
content: "";
clear: both;
width: 100%;
height: 1em;
}
}
.summary .sidebar-right-content {
margin-bottom: 0;
.rc-user {
min-width: 0;
}
li {
list-style: none;
line-height: normal;
}
}
.summary {
.fieldset {
margin-bottom: 0;
}
.tags-main {
margin-bottom: 5px;
}
}
.fieldset {
.left-label { // similar to form legend
display: block;
margin: 0;
padding: 0;
font-weight: @text-semibold-weight;
font-family: @text-semibold;
}
.left-label-summary {
padding-left: 20px;
margin-bottom: 5px;
p {
margin-bottom: 5px;
color: @grey1;
float: left;
width: 130px;
&.spacing {
margin-top: 10px;
}
}
.right-label-summary {
float: left;
margin-top: 0px;
line-height: 2em;
width: ~"calc(100% - 160px)";
}
}
.left-label-summary-files {
padding-left: 45px;
margin-top: 5px;
p {
margin-bottom: 5px;
color: @grey1;
float: left;
width: 130px;
&.spacing {
margin-top: 10px;
}
}
.right-label-summary {
float: left;
margin-top: 0px;
line-height: 2em;
}
}
.left-content {
width: ~"calc(60% - 20px)";
float: left;
margin: 15px 0 15px 20px;
.rc-user {
min-width: auto;
max-width: none;
min-height: auto;
padding-right: 5px;
}
.left-content-avatar {
width: 45px;
float: left;
margin-top: 8px;
}
.left-content-message {
float: left;
width: ~"calc(100% - 45px)";
}
}
.right-content { // similar to form fields
float: left;
display: block;
width: ~"calc(40% - 20px)";
text-align: right;
margin: 15px 20px 15px 0;
.truncate-wrap,
.truncate {
max-width: 100%;
width: 100%;
}
.commit-long {
overflow-x: auto;
}
.commit-info {
margin-top: 7px;
}
.summary-tag,
.summary-tagtag,
.summary-branchtag,
.summary-booktag,
.summary-metatag,
.summary-perm_tag {
background:transparent;
border: none;
box-shadow: none;
margin-left: 10px;
font-size: 13px;
}
.summary-tag span,
.summary-tag i,
.summary-tag a {
color: @grey1;
}
}
.commit {
color: @grey1;
margin-bottom: 5px;
white-space: pre;
}
.commit.truncate-wrap {
overflow:hidden;
text-overflow: ellipsis;
}
.commit-author {
color: @grey1;
}
.commit-date {
color: @grey4;
}
.fieldset-text-line {
line-height: 36px;
}
}
// 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; }
&.comments-visible {
.comments-show { display: none; }
.comments-hide { display: inline; }
}
}
// Quick Start section
.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;
}
.clear-fix {
clear: both;
}
.quick_start {
display: block;
position: relative;
border: 1px solid #EAEAEA;
border-top: 0;
border-radius: @border-radius;
padding: 0 20px;
// adds some space to make copy and paste easier
.left-label,
.right-content {
line-height: 1.6em;
}
}
.submodule {
.summary-detail {
width: 100%;
.btn-collapse {
display: none;
}
}
}
.codeblock-header {
float: left;
display: block;
width: 100%;
margin: 0;
.file-filename {
float:left;
padding: 10px;
}
.file-stats {
padding: 10px;
float:right;
}
.stats-first-item {
padding: 0px 0px 0px 3px;
}
.stats-info {
font-size: 11px;
color: @grey4;
}
.buttons {
float: right;
text-align: right;
color: @grey4;
padding: 10px;
}
.file-container {
display: inline-block;
width: 100%;
}
}
#summary-menu-stats {
.stats-bullet {
color: @grey3;
min-width: 3em;
}
.repo-size {
margin-bottom: .5em;
}
}