##// END OF EJS Templates
dependencies: bumped supervisor to 3.3.2
dependencies: bumped supervisor to 3.3.2

File last commit:

r1769:fb9baff8 default
r1868:bbb2d662 default
Show More
main.less
2385 lines | 36.7 KiB | text/x-less | LessCssLexer
project: added all source files and assets
r1 //Primary CSS
//--- IMPORTS ------------------//
@import 'helpers';
@import 'mixins';
@import 'rcicons';
@import 'fonts';
@import 'variables';
@import 'bootstrap-variables';
@import 'form-bootstrap';
@import 'codemirror';
@import 'legacy_code_styles';
summary: disconnect readme rendering data from the comments....
r1731 @import 'readme-box';
project: added all source files and assets
r1 @import 'progress-bar';
@import 'type';
@import 'alerts';
@import 'buttons';
@import 'tags';
@import 'code-block';
@import 'examples';
@import 'login';
@import 'main-content';
@import 'select2';
@import 'comments';
@import 'panels-bootstrap';
@import 'panels';
dan
forms: add deform for integration settings forms
r518 @import 'deform';
project: added all source files and assets
r1
//--- BASE ------------------//
.noscript-error {
top: 0;
left: 0;
width: 100%;
z-index: 101;
text-align: center;
font-family: @text-semibold;
font-size: 120%;
color: white;
background-color: @alert2;
padding: 5px 0 5px 0;
}
html {
display: table;
height: 100%;
width: 100%;
}
body {
display: table-cell;
width: 100%;
}
//--- LAYOUT ------------------//
.hidden{
display: none !important;
}
.box{
float: left;
width: 100%;
}
.browser-header {
clear: both;
}
.main {
clear: both;
padding:0 0 @pagepadding;
height: auto;
&:after { //clearfix
content:"";
clear:both;
width:100%;
display:block;
}
}
.action-link{
margin-left: @padding;
padding-left: @padding;
border-left: @border-thickness solid @border-default-color;
}
input + .action-link, .action-link.first{
border-left: none;
}
.action-link.last{
margin-right: @padding;
padding-right: @padding;
}
.action-link.active,
.action-link.active a{
color: @grey4;
}
ul.simple-list{
list-style: none;
margin: 0;
padding: 0;
}
.main-content {
padding-bottom: @pagepadding;
}
diffs: added wide-mode button to expand large diffs.
r1193 .wide-mode-wrapper {
pull-requests: updated versioning support....
r1268 max-width:4000px !important;
diffs: added wide-mode button to expand large diffs.
r1193 }
project: added all source files and assets
r1 .wrapper {
position: relative;
max-width: @wrapper-maxwidth;
margin: 0 auto;
}
#content {
clear: both;
padding: 0 @contentpadding;
}
.advanced-settings-fields{
input{
margin-left: @textmargin;
margin-right: @padding/2;
}
}
.cs_files_title {
margin: @pagepadding 0 0;
}
input.inline[type="file"] {
display: inline;
}
.error_page {
margin: 10% auto;
h1 {
color: @grey2;
}
dan
forms: add deform for integration settings forms
r518
notifications: switch to embedded alerts for HTTPNotFound
r823 .alert {
margin: @padding 0;
}
dan
reviewers: store reviewer reasons to database, fixes #4238
r873
project: added all source files and assets
r1 .error-branding {
font-family: @text-semibold;
color: @grey4;
}
.error_message {
font-family: @text-regular;
}
.sidebar {
min-height: 275px;
margin: 0;
padding: 0 0 @sidebarpadding @sidebarpadding;
border: none;
}
.main-content {
position: relative;
margin: 0 @sidebarpadding @sidebarpadding;
padding: 0 0 0 @sidebarpadding;
border-left: @border-thickness solid @grey5;
@media (max-width:767px) {
clear: both;
width: 100%;
margin: 0;
border: none;
}
}
.inner-column {
float: left;
width: 29.75%;
min-height: 150px;
margin: @sidebarpadding 2% 0 0;
padding: 0 2% 0 0;
border-right: @border-thickness solid @grey5;
@media (max-width:767px) {
clear: both;
width: 100%;
border: none;
}
ul {
padding-left: 1.25em;
}
&:last-child {
margin: @sidebarpadding 0 0;
border: none;
}
h4 {
margin: 0 0 @padding;
font-family: @text-semibold;
}
}
}
.error-page-logo {
width: 130px;
height: 160px;
}
// HEADER
.header {
// TODO: johbo: Fix login pages, so that they work without a min-height
// for the header and then remove the min-height. I chose a smaller value
// intentionally here to avoid rendering issues in the main navigation.
min-height: 49px;
position: relative;
vertical-align: bottom;
padding: 0 @header-padding;
background-color: @grey2;
color: @grey5;
.title {
overflow: visible;
}
&:before,
&:after {
content: "";
clear: both;
width: 100%;
}
// TODO: johbo: Avoids breaking "Repositories" chooser
.select2-container .select2-choice .select2-arrow {
display: none;
}
}
#header-inner {
&.title {
margin: 0;
}
&:before,
&:after {
content: "";
clear: both;
}
}
// Gists
#files_data {
clear: both; //for firefox
}
#gistid {
margin-right: @padding;
}
// Global Settings Editor
.textarea.editor {
float: left;
position: relative;
max-width: @texteditor-width;
select {
position: absolute;
top:10px;
right:0;
}
.CodeMirror {
margin: 0;
}
.help-block {
margin: 0 0 @padding;
padding:.5em;
background-color: @grey6;
}
}
ul.auth_plugins {
margin: @padding 0 @padding @legend-width;
padding: 0;
li {
margin-bottom: @padding;
line-height: 1em;
list-style-type: none;
.auth_buttons .btn {
margin-right: @padding;
}
&:before { content: none; }
}
}
ux: bringing my account pull request list into the great future #4038
r245
// My Account PR list
#show_closed {
margin: 0 1em 0 0;
}
project: added all source files and assets
r1
.pullrequestlist {
ux: bringing my account pull request list into the great future #4038
r245 .closed {
background-color: @grey6;
}
.td-status {
padding-left: .5em;
}
styling: tigtening up my account pull request tables
r467 .log-container .truncate {
ux: bringing my account pull request list into the great future #4038
r245 height: 2.75em;
white-space: pre-line;
}
table.rctable .user {
padding-left: 0;
}
styling: tigtening up my account pull request tables
r467 table.rctable {
td.td-description,
.rc-user {
min-width: auto;
}
}
ux: bringing my account pull request list into the great future #4038
r245 }
project: added all source files and assets
r1
ux: bringing my account pull request list into the great future #4038
r245 // Pull Requests
project: added all source files and assets
r1
.pullrequests_section_head {
display: block;
clear: both;
margin: @padding 0;
font-family: @text-bold;
}
.pr-origininfo, .pr-targetinfo {
position: relative;
.tag {
display: inline-block;
margin: 0 1em .5em 0;
}
.clone-url {
display: inline-block;
margin: 0 0 .5em 0;
padding: 0;
line-height: 1.2em;
}
}
pull-request: extended default reviewers functionality....
r1769 .pr-mergeinfo {
clear: both;
margin: .5em 0;
input {
min-width: 100% !important;
padding: 0 !important;
border: 0;
}
}
project: added all source files and assets
r1 .pr-pullinfo {
clear: both;
margin: .5em 0;
pull-request: extended default reviewers functionality....
r1769
input {
min-width: 100% !important;
padding: 0 !important;
border: 0;
}
project: added all source files and assets
r1 }
#pr-title-input {
width: 72%;
font-size: 1em;
font-family: @text-bold;
margin: 0;
padding: 0 0 0 @padding/4;
line-height: 1.7em;
color: @text-color;
letter-spacing: .02em;
}
#pullrequest_title {
width: 100%;
box-sizing: border-box;
}
#pr_open_message {
border: @border-thickness solid #fff;
border-radius: @border-radius;
padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0;
pull-requests: move text with commit summary to left. It looks better.
r1469 text-align: left;
project: added all source files and assets
r1 overflow: hidden;
}
.pr-submit-button {
float: right;
margin: 0 0 0 5px;
}
.pr-spacing-container {
padding: 20px;
clear: both
}
#pr-description-input {
margin-bottom: 0;
}
.pr-description-label {
vertical-align: top;
}
.perms_section_head {
min-width: 625px;
h2 {
margin-bottom: 0;
}
.label-checkbox {
float: left;
}
&.field {
margin: @space 0 @padding;
}
&:first-child.field {
margin-top: 0;
.label {
margin-top: 0;
padding-top: 0;
}
.radios {
padding-top: 0;
}
}
.radios {
float: right;
position: relative;
width: 405px;
}
}
//--- MODULES ------------------//
settings: new and improved server announcements fix #676 #1342 #4121
r847 // Server Announcement
#server-announcement {
width: 95%;
margin: @padding auto;
padding: @padding;
border-width: 2px;
border-style: solid;
.border-radius(2px);
font-family: @text-bold;
&.info { border-color: @alert4; background-color: @alert4-inner; }
&.warning { border-color: @alert3; background-color: @alert3-inner; }
&.error { border-color: @alert2; background-color: @alert2-inner; }
&.success { border-color: @alert1; background-color: @alert1-inner; }
&.neutral { border-color: @grey3; background-color: @grey6; }
}
project: added all source files and assets
r1 // Fixed Sidebar Column
.sidebar-col-wrapper {
padding-left: @sidebar-all-width;
.sidebar {
width: @sidebar-width;
margin-left: -@sidebar-all-width;
}
}
.sidebar-col-wrapper.scw-small {
padding-left: @sidebar-small-all-width;
.sidebar {
width: @sidebar-small-width;
margin-left: -@sidebar-small-all-width;
}
}
// FOOTER
#footer {
padding: 0;
text-align: center;
vertical-align: middle;
color: @grey2;
background-color: @grey6;
p {
margin: 0;
padding: 1em;
line-height: 1em;
}
.server-instance { //server instance
display: none;
}
.title {
float: none;
margin: 0 auto;
}
}
button.close {
padding: 0;
cursor: pointer;
background: transparent;
border: 0;
.box-shadow(none);
-webkit-appearance: none;
}
.close {
float: right;
font-size: 21px;
font-family: @text-bootstrap;
line-height: 1em;
font-weight: bold;
color: @grey2;
&:hover,
&:focus {
color: @grey1;
text-decoration: none;
cursor: pointer;
}
}
// GRID
.sorting,
.sorting_desc,
.sorting_asc {
cursor: pointer;
}
.sorting_desc:after {
content: "\00A0\25B2";
font-size: .75em;
}
.sorting_asc:after {
content: "\00A0\25BC";
font-size: .68em;
}
.user_auth_tokens {
&.truncate {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.fields .field .input {
margin: 0;
}
input#description {
width: 100px;
margin: 0;
}
.drop-menu {
// TODO: johbo: Remove this, should work out of the box when
// having multiple inputs inline
margin: 0 0 0 5px;
}
}
#user_list_table {
.closed {
background-color: @grey6;
}
}
input {
&.disabled {
opacity: .5;
}
}
// remove extra padding in firefox
input::-moz-focus-inner { border:0; padding:0 }
.adjacent input {
margin-bottom: @padding;
}
.permissions_boxes {
display: block;
}
//TODO: lisa: this should be in tables
.show_more_col {
width: 20px;
}
//FORMS
.medium-inline,
input#description.medium-inline {
display: inline;
width: @medium-inline-input-width;
min-width: 100px;
}
select {
//reset
-webkit-appearance: none;
-moz-appearance: none;
display: inline-block;
height: 28px;
width: auto;
margin: 0 @padding @padding 0;
padding: 0 18px 0 8px;
line-height:1em;
font-size: @basefontsize;
border: @border-thickness solid @rcblue;
background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%;
color: @rcblue;
&:after {
content: "\00A0\25BE";
}
&:focus {
outline: none;
}
}
option {
&:focus {
outline: none;
}
}
input,
textarea {
padding: @input-padding;
border: @input-border-thickness solid @border-highlight-color;
.border-radius (@border-radius);
font-family: @text-light;
font-size: @basefontsize;
&.input-sm {
padding: 5px;
}
&#description {
min-width: @input-description-minwidth;
min-height: 1em;
padding: 10px;
}
}
.field-sm {
input,
textarea {
padding: 5px;
}
}
textarea {
display: block;
clear: both;
width: 100%;
min-height: 100px;
margin-bottom: @padding;
.box-sizing(border-box);
overflow: auto;
}
label {
font-family: @text-light;
}
// GRAVATARS
// centers gravatar on username to the right
.gravatar {
display: inline;
min-width: 16px;
min-height: 16px;
margin: -5px 0;
padding: 0;
line-height: 1em;
border: 1px solid @grey4;
comments: add comments type into comments.
r1324 box-sizing: content-box;
project: added all source files and assets
r1
&.gravatar-large {
margin: -0.5em .25em -0.5em 0;
}
& + .user {
display: inline;
margin: 0;
padding: 0 0 0 .17em;
line-height: 1em;
}
}
ux: #4037 use gravatar for commit email and add tooltips for name + email
r410 .user-inline-data {
display: inline-block;
float: left;
padding-left: .5em;
line-height: 1.3em;
}
project: added all source files and assets
r1 .rc-user { // gravatar + user wrapper
styling: gravatar improvements for special cases
r8 float: left;
project: added all source files and assets
r1 position: relative;
min-width: 100px;
max-width: 200px;
min-height: (@gravatar-size + @border-thickness * 2); // account for border
display: block;
padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2);
.gravatar {
display: block;
position: absolute;
top: 0;
left: 0;
min-width: @gravatar-size;
min-height: @gravatar-size;
margin: 0;
}
.user {
display: block;
max-width: 175px;
padding-top: 2px;
overflow: hidden;
text-overflow: ellipsis;
}
}
.gist-gravatar,
.journal_container {
.gravatar-large {
margin: 0 .5em -10px 0;
}
}
// ADMIN SETTINGS
// Tag Patterns
.tag_patterns {
.tag_input {
margin-bottom: @padding;
}
}
.locked_input {
position: relative;
input {
display: inline;
strip: ui changes....
r1589 margin: 3px 5px 0px 0px;
project: added all source files and assets
r1 }
br {
display: none;
}
.error-message {
float: left;
width: 100%;
}
.lock_input_button {
display: inline;
}
.help-block {
clear: both;
}
}
// Notifications
.notifications_buttons {
margin: 0 0 @space 0;
padding: 0;
.btn {
display: inline-block;
}
}
.notification-list {
div {
display: inline-block;
vertical-align: middle;
}
.container {
display: block;
margin: 0 0 @padding 0;
}
.delete-notifications {
margin-left: @padding;
text-align: right;
cursor: pointer;
}
.read-notifications {
margin-left: @padding/2;
text-align: right;
width: 35px;
cursor: pointer;
}
.icon-minus-sign {
color: @alert2;
}
.icon-ok-sign {
color: @alert1;
}
}
.user_settings {
float: left;
clear: both;
display: block;
width: 100%;
.gravatar_box {
margin-bottom: @padding;
&:after {
content: " ";
clear: both;
width: 100%;
}
}
.fields .field {
clear: both;
}
}
.advanced_settings {
margin-bottom: @space;
.help-block {
margin-left: 0;
}
button + .help-block {
margin-top: @padding;
}
}
// admin settings radio buttons and labels
.label-2 {
float: left;
width: @label2-width;
label {
color: @grey1;
}
}
.checkboxes {
float: left;
width: @checkboxes-width;
margin-bottom: @padding;
.checkbox {
width: 100%;
label {
margin: 0;
padding: 0;
}
}
.checkbox + .checkbox {
display: inline-block;
}
label {
margin-right: 1em;
}
}
// CHANGELOG
.container_header {
float: left;
display: block;
width: 100%;
margin: @padding 0 @padding;
#filter_changelog {
float: left;
margin-right: @padding;
}
.breadcrumbs_light {
display: inline-block;
}
}
.info_box {
float: right;
}
#graph_nodes {
padding-top: 43px;
}
#graph_content{
// adjust for table headers so that graph renders properly
// #graph_nodes padding - table cell padding
padding-top: (@space - (@basefontsize * 2.4));
&.graph_full_width {
width: 100%;
max-width: 100%;
}
}
#graph {
.flag_status {
margin: 0;
}
.pagination-left {
float: left;
clear: both;
}
.log-container {
max-width: 345px;
.message{
max-width: 340px;
}
}
.graph-col-wrapper {
padding-left: 110px;
#graph_nodes {
width: 100px;
margin-left: -110px;
float: left;
clear: left;
}
}
changelog: added dynamic loaders to extend number of commits inside changelog....
r1379
.load-more-commits {
text-align: center;
}
.load-more-commits:hover {
background-color: @grey7;
}
.load-more-commits {
a {
display: block;
}
}
project: added all source files and assets
r1 }
#filter_changelog {
float: left;
}
//--- THEME ------------------//
#logo {
float: left;
margin: 9px 0 0 0;
.header {
background-color: transparent;
}
a {
display: inline-block;
}
img {
height:30px;
}
}
.logo-wrapper {
float:left;
}
.branding{
float: left;
padding: 9px 2px;
line-height: 1em;
font-size: @navigation-fontsize;
}
img {
border: none;
outline: none;
}
user-profile-header
label {
input[type="checkbox"] {
margin-right: 1em;
}
input[type="radio"] {
margin-right: 1em;
}
}
.flag_status {
margin: 2px 8px 6px 2px;
&.under_review {
.circle(5px, @alert3);
}
&.approved {
.circle(5px, @alert1);
}
&.rejected,
&.forced_closed{
.circle(5px, @alert2);
}
&.not_reviewed {
.circle(5px, @grey5);
}
}
.flag_status_comment_box {
margin: 5px 6px 0px 2px;
}
.test_pattern_preview {
margin: @space 0;
p {
margin-bottom: 0;
border-bottom: @border-thickness solid @border-default-color;
color: @grey3;
}
.btn {
margin-bottom: @padding;
}
}
#test_pattern_result {
display: none;
&:extend(pre);
padding: .9em;
color: @grey3;
background-color: @grey7;
dan
forms: add deform for integration settings forms
r518 border-right: @border-thickness solid @border-default-color;
border-bottom: @border-thickness solid @border-default-color;
border-left: @border-thickness solid @border-default-color;
project: added all source files and assets
r1 }
#repo_vcs_settings {
#inherit_overlay_vcs_default {
display: none;
}
#inherit_overlay_vcs_custom {
display: custom;
}
&.inherited {
#inherit_overlay_vcs_default {
display: block;
}
#inherit_overlay_vcs_custom {
display: none;
}
}
}
.issue-tracker-link {
color: @rcblue;
}
// Issue Tracker Table Show/Hide
#repo_issue_tracker {
#inherit_overlay {
display: none;
}
#custom_overlay {
display: custom;
}
&.inherited {
#inherit_overlay {
display: block;
}
#custom_overlay {
display: none;
}
}
}
table.issuetracker {
&.readonly {
tr, td {
color: @grey3;
}
}
.edit {
display: none;
}
.editopen {
.edit {
display: inline;
}
.entry {
display: none;
}
}
tr td.td-action {
min-width: 117px;
}
td input {
max-width: none;
min-width: 30px;
width: 80%;
}
.issuetracker_pref input {
width: 40%;
}
input.edit_issuetracker_update {
margin-right: 0;
width: auto;
}
}
dan
integrations: refactor/cleanup + features, fixes #4181...
r731 table.integrations {
.td-icon {
width: 20px;
.integration-icon {
height: 20px;
width: 20px;
}
}
}
.integrations {
a.integration-box {
color: @text-color;
&:hover {
.panel {
background: #fbfbfb;
}
}
.integration-icon {
width: 30px;
height: 30px;
margin-right: 20px;
float: left;
}
.panel-body {
padding: 10px;
}
.panel {
margin-bottom: 10px;
}
h2 {
display: inline-block;
margin: 0;
min-width: 140px;
}
}
}
ux: bringing my account pull request list into the great future #4038
r245
project: added all source files and assets
r1 //Permissions Settings
#add_perm {
margin: 0 0 @padding;
cursor: pointer;
}
.perm_ac {
input {
width: 95%;
}
}
.autocomplete-suggestions {
width: auto !important; // overrides autocomplete.js
margin: 0;
border: @border-thickness solid @rcblue;
border-radius: @border-radius;
color: @rcblue;
background-color: white;
}
.autocomplete-selected {
background: #F0F0F0;
}
.ac-container-wrap {
margin: 0;
padding: 8px;
border-bottom: @border-thickness solid @rclightblue;
list-style-type: none;
cursor: pointer;
&:hover {
background-color: @rclightblue;
}
img {
styling: fixing gravatar size for reviewers
r876 height: @gravatar-size;
width: @gravatar-size;
project: added all source files and assets
r1 margin-right: 1em;
}
strong {
font-weight: normal;
}
}
// Settings Dropdown
.user-menu .container {
padding: 0 4px;
margin: 0;
}
.user-menu .gravatar {
cursor: pointer;
}
.codeblock {
margin-bottom: @padding;
clear: both;
.stats{
overflow: hidden;
}
.message{
textarea{
margin: 0;
}
}
.code-header {
.stats {
line-height: 2em;
.revision_id {
margin-left: 0;
}
.buttons {
padding-right: 0;
}
}
.item{
margin-right: 0.5em;
}
}
#editor_container{
position: relative;
margin: @padding;
}
}
#file_history_container {
display: none;
}
.file-history-inner {
margin-bottom: 10px;
}
// Pull Requests
.summary-details {
width: 72%;
}
.pr-summary {
border-bottom: @border-thickness solid @grey5;
margin-bottom: @space;
}
.reviewers-title {
width: 25%;
min-width: 200px;
}
.reviewers {
width: 25%;
min-width: 200px;
}
.reviewers ul li {
position: relative;
width: 100%;
margin-bottom: 8px;
}
pull-request: extended default reviewers functionality....
r1769
.reviewer_entry {
min-height: 55px;
}
project: added all source files and assets
r1 .reviewers_member {
width: 100%;
overflow: auto;
}
dan
reviewers: store reviewer reasons to database, fixes #4238
r873 .reviewer_reason {
padding-left: 20px;
}
project: added all source files and assets
r1 .reviewer_status {
display: inline-block;
vertical-align: top;
width: 7%;
min-width: 20px;
height: 1.2em;
margin-top: 3px;
line-height: 1em;
}
.reviewer_name {
display: inline-block;
max-width: 83%;
padding-right: 20px;
vertical-align: middle;
styling: gravatar improvements for special cases
r8 line-height: 1;
.rc-user {
min-width: 0;
margin: -2px 1em 0 0;
}
.reviewer {
float: left;
}
project: added all source files and assets
r1 }
pull-request: extended default reviewers functionality....
r1769 .reviewer_member_mandatory,
.reviewer_member_mandatory_remove,
project: added all source files and assets
r1 .reviewer_member_remove {
position: absolute;
right: 0;
top: 0;
width: 16px;
margin-bottom: 10px;
padding: 0;
color: black;
}
pull-request: extended default reviewers functionality....
r1769
.reviewer_member_mandatory_remove {
color: @grey4;
}
.reviewer_member_mandatory {
padding-top:20px;
}
project: added all source files and assets
r1 .reviewer_member_status {
margin-top: 5px;
}
.pr-summary #summary{
width: 100%;
}
.pr-summary .action_button:hover {
border: 0;
cursor: pointer;
}
.pr-details-title {
padding-bottom: 8px;
border-bottom: @border-thickness solid @grey5;
pull-requests: moved the delete logic into the show view....
r1085
.action_button.disabled {
color: @grey4;
cursor: inherit;
}
project: added all source files and assets
r1 .action_button {
color: @rcblue;
}
}
.pr-details-content {
margin-top: @textmargin;
styling: gravatar improvements for special cases
r8 margin-bottom: @textmargin;
project: added all source files and assets
r1 }
.pr-description {
white-space:pre-wrap;
}
pull-request: extended default reviewers functionality....
r1769
.pr-reviewer-rules {
padding: 10px 0px 20px 0px;
}
project: added all source files and assets
r1 .group_members {
margin-top: 0;
padding: 0;
list-style: outside none none;
styling: fixing gravatar size for reviewers
r876
img {
height: @gravatar-size;
width: @gravatar-size;
margin-right: .5em;
margin-left: 3px;
}
user-groups: new selector for user group memebers....
r1089
.to-delete {
.user {
text-decoration: line-through;
}
}
project: added all source files and assets
r1 }
user-groups: new selector for user group memebers....
r1089
pull-requests: expose version browsing of pull requests....
r1255 .compare_view_commits_title {
.disabled {
cursor: inherit;
&:hover{
background-color: inherit;
color: inherit;
}
}
}
pr-versioning: implemented versioning for pull requests....
r1368 .subtitle-compare {
margin: -15px 0px 0px 0px;
}
.comments-summary-td {
border-top: 1px dashed @grey5;
}
user-groups: new selector for user group memebers....
r1089 // new entry in group_members
.td-author-new-entry {
background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3);
}
.usergroup_member_remove {
width: 16px;
margin-bottom: 10px;
padding: 0;
color: black !important;
cursor: pointer;
}
project: added all source files and assets
r1 .reviewer_ac .ac-input {
width: 92%;
margin-bottom: 1em;
}
pull-requests: added version browsing for pull requests....
r1192
project: added all source files and assets
r1 .compare_view_commits tr{
height: 20px;
}
.compare_view_commits td {
vertical-align: top;
padding-top: 10px;
}
.compare_view_commits .author {
margin-left: 5px;
}
pr-versioning: implemented versioning for pull requests....
r1368 .compare_view_commits {
.color-a {
color: @alert1;
}
.color-c {
color: @color3;
}
.color-r {
color: @color5;
}
.color-a-bg {
background-color: @alert1;
}
.color-c-bg {
background-color: @alert3;
}
.color-r-bg {
background-color: @alert2;
}
.color-a-border {
border: 1px solid @alert1;
}
.color-c-border {
border: 1px solid @alert3;
}
.color-r-border {
border: 1px solid @alert2;
}
.commit-change-indicator {
width: 15px;
height: 15px;
position: relative;
left: 15px;
}
.commit-change-content {
text-align: center;
vertical-align: middle;
line-height: 15px;
}
}
project: added all source files and assets
r1 .compare_view_files {
width: 100%;
td {
vertical-align: middle;
}
}
.compare_view_filepath {
color: @grey1;
}
.show_more {
display: inline-block;
position: relative;
vertical-align: middle;
width: 4px;
height: @basefontsize;
&:after {
content: "\00A0\25BE";
display: inline-block;
width:10px;
line-height: 5px;
font-size: 12px;
cursor: pointer;
}
}
.journal_more .show_more {
display: inline;
&:after {
content: none;
}
}
.open .show_more:after,
.select2-dropdown-open .show_more:after {
.rotate(180deg);
margin-left: 4px;
}
.compare_view_commits .collapse_commit:after {
cursor: pointer;
content: "\00A0\25B4";
margin-left: -3px;
font-size: 17px;
color: @grey4;
}
.diff_links {
margin-left: 8px;
}
diffs: compare overhaul....
r1259 div.ancestor {
compare: fixed spacing for common compare commit in PR open compare page.
r1270 margin: -30px 0px;
project: added all source files and assets
r1 }
.cs_icon_td input[type="checkbox"] {
display: none;
}
.cs_icon_td .expand_file_icon:after {
cursor: pointer;
content: "\00A0\25B6";
font-size: 12px;
color: @grey4;
}
.cs_icon_td .collapse_file_icon:after {
cursor: pointer;
content: "\00A0\25BC";
font-size: 12px;
color: @grey4;
}
/*new binary
NEW_FILENODE = 1
DEL_FILENODE = 2
MOD_FILENODE = 3
RENAMED_FILENODE = 4
COPIED_FILENODE = 5
CHMOD_FILENODE = 6
BIN_FILENODE = 7
*/
.cs_files_expand {
font-size: @basefontsize + 5px;
line-height: 1.8em;
float: right;
}
.cs_files_expand span{
color: @rcblue;
cursor: pointer;
}
.cs_files {
clear: both;
padding-bottom: @padding;
.cur_cs {
margin: 10px 2px;
font-weight: bold;
}
.node {
float: left;
}
.changes {
float: right;
color: white;
font-size: @basefontsize - 4px;
margin-top: 4px;
opacity: 0.6;
filter: Alpha(opacity=60); /* IE8 and earlier */
.added {
background-color: @alert1;
float: left;
text-align: center;
}
.deleted {
background-color: @alert2;
float: left;
text-align: center;
}
.bin {
background-color: @alert1;
text-align: center;
}
/*new binary*/
.bin.bin1 {
background-color: @alert1;
text-align: center;
}
/*deleted binary*/
.bin.bin2 {
background-color: @alert2;
text-align: center;
}
/*mod binary*/
.bin.bin3 {
background-color: @grey2;
text-align: center;
}
/*rename file*/
.bin.bin4 {
background-color: @alert4;
text-align: center;
}
/*copied file*/
.bin.bin5 {
background-color: @alert4;
text-align: center;
}
/*chmod file*/
.bin.bin6 {
background-color: @grey2;
text-align: center;
}
}
}
.cs_files .cs_added, .cs_files .cs_A,
.cs_files .cs_added, .cs_files .cs_M,
.cs_files .cs_added, .cs_files .cs_D {
height: 16px;
padding-right: 10px;
margin-top: 7px;
text-align: left;
}
.cs_icon_td {
min-width: 16px;
width: 16px;
}
.pull-request-merge {
pull-request: introduced new merge-checks....
r1334 border: 1px solid @grey5;
padding: 10px 0px 20px;
project: added all source files and assets
r1 margin-top: 10px;
margin-bottom: 20px;
}
pull-request: introduced new merge-checks....
r1334 .pull-request-merge ul {
padding: 0px 0px;
}
.pull-request-merge li:before{
content:none;
}
project: added all source files and assets
r1 .pull-request-merge .pull-request-wrap {
pull-request: introduced new merge-checks....
r1334 height: auto;
padding: 0px 0px;
text-align: right;
project: added all source files and assets
r1 }
.pull-request-merge span {
pull-request: introduced new merge-checks....
r1334 margin-right: 5px;
}
.pull-request-merge-actions {
height: 30px;
padding: 0px 0px;
}
pull-requests: unified merge checks....
r1335 .merge-status {
margin-right: 5px;
}
pull-request: introduced new merge-checks....
r1334 .merge-message {
font-size: 1.2em
project: added all source files and assets
r1 }
pull-request: introduced new merge-checks....
r1334
pull-requests: unified merge checks....
r1335 .merge-message.success i,
.merge-icon.success i {
pull-request: introduced new merge-checks....
r1334 color:@alert1;
}
pull-requests: unified merge checks....
r1335
.merge-message.warning i,
.merge-icon.warning i {
pull-request: introduced new merge-checks....
r1334 color: @alert3;
}
pull-requests: unified merge checks....
r1335
.merge-message.error i,
.merge-icon.error i {
pull-request: introduced new merge-checks....
r1334 color:@alert2;
}
pull-requests: updated versioning support....
r1268 .pr-versions {
pr-versioning: implemented versioning for pull requests....
r1368 font-size: 1.1em;
table {
padding: 0px 5px;
}
td {
line-height: 15px;
}
.flag_status {
margin: 0;
}
.compare-radio-button {
position: relative;
top: -3px;
}
pull-requests: updated versioning support....
r1268 }
pr-versioning: implemented versioning for pull requests....
r1368
project: added all source files and assets
r1 #close_pull_request {
margin-right: 0px;
}
.empty_data {
color: @grey4;
}
#changeset_compare_view_content {
margin-bottom: @space;
clear: both;
width: 100%;
box-sizing: border-box;
.border-radius(@border-radius);
.help-block {
margin: @padding 0;
color: @text-color;
}
.empty_data {
margin: @padding 0;
}
.alert {
margin-bottom: @space;
}
}
.table_disp {
.status {
width: auto;
.flag_status {
float: left;
}
}
}
.status_box_menu {
margin: 0;
}
.notification-table{
margin-bottom: @space;
display: table;
width: 100%;
.container{
display: table-row;
.notification-header{
border-bottom: @border-thickness solid @border-default-color;
}
.notification-subject{
display: table-cell;
}
}
}
// Notifications
.notification-header{
display: table;
width: 100%;
padding: floor(@basefontsize/2) 0;
line-height: 1em;
.desc, .delete-notifications, .read-notifications{
display: table-cell;
text-align: left;
}
.desc{
width: 1163px;
}
.delete-notifications, .read-notifications{
width: 35px;
min-width: 35px; //fixes when only one button is displayed
}
}
.notification-body {
.markdown-block,
.rst-block {
padding: @padding 0;
}
.notification-subject {
padding: @textmargin 0;
border-bottom: @border-thickness solid @border-default-color;
}
}
.notifications_buttons{
float: right;
}
notifications: support real-time notifications with websockets via channelstream
r526 #notification-status{
display: inline;
}
project: added all source files and assets
r1 // Repositories
#summary.fields{
display: table;
.field{
display: table-row;
.label-summary{
display: table-cell;
min-width: @label-summary-minwidth;
padding-top: @padding/2;
padding-bottom: @padding/2;
padding-right: @padding/2;
}
.input{
display: table-cell;
padding: @padding/2;
input{
min-width: 29em;
padding: @padding/4;
}
}
.statistics, .downloads{
.disabled{
color: @grey4;
}
}
}
}
#summary{
width: 70%;
}
// Journal
.journal.title {
h5 {
float: left;
margin: 0;
width: 70%;
}
ul {
float: right;
display: inline-block;
margin: 0;
width: 30%;
text-align: right;
li {
display: inline;
font-size: @journal-fontsize;
line-height: 1em;
&:before { content: none; }
}
}
}
.filterexample {
position: absolute;
top: 95px;
left: @contentpadding;
color: @rcblue;
font-size: 11px;
font-family: @text-regular;
cursor: help;
&:hover {
color: @rcdarkblue;
}
@media (max-width:768px) {
position: relative;
top: auto;
left: auto;
display: block;
}
}
#journal{
margin-bottom: @space;
.journal_day{
margin-bottom: @textmargin/2;
padding-bottom: @textmargin/2;
font-size: @journal-fontsize;
border-bottom: @border-thickness solid @border-default-color;
}
.journal_container{
margin-bottom: @space;
.journal_user{
display: inline-block;
}
.journal_action_container{
display: block;
margin-top: @textmargin;
div{
display: inline;
}
div.journal_action_params{
display: block;
}
div.journal_repo:after{
content: "\A";
white-space: pre;
}
div.date{
display: block;
margin-bottom: @textmargin;
}
}
}
}
// Files
.edit-file-title {
border-bottom: @border-thickness solid @border-default-color;
.breadcrumbs {
margin-bottom: 0;
}
}
.edit-file-fieldset {
margin-top: @sidebarpadding;
.fieldset {
.left-label {
width: 13%;
}
.right-content {
width: 87%;
max-width: 100%;
}
.filename-label {
margin-top: 13px;
}
.commit-message-label {
margin-top: 4px;
}
.file-upload-input {
input {
display: none;
}
file-upload: allow specfing custom filename for uploaded archives.
r1683 margin-top: 10px;
}
.file-upload-label {
margin-top: 10px;
project: added all source files and assets
r1 }
p {
margin-top: 5px;
}
}
.custom-path-link {
margin-left: 5px;
}
#commit {
resize: vertical;
}
}
.delete-file-preview {
max-height: 250px;
}
.new-file,
#filter_activate,
#filter_deactivate {
float: left;
margin: 0 0 0 15px;
}
h3.files_location{
line-height: 2.4em;
}
.browser-nav {
display: table;
margin-bottom: @space;
.info_box {
display: inline-table;
height: 2.5em;
.browser-cur-rev, .info_box_elem {
display: table-cell;
vertical-align: middle;
}
.info_box_elem {
border-top: @border-thickness solid @rcblue;
border-bottom: @border-thickness solid @rcblue;
#at_rev, a {
padding: 0.6em 0.9em;
margin: 0;
.box-shadow(none);
border: 0;
height: 12px;
}
input#at_rev {
max-width: 50px;
text-align: right;
}
&.previous {
border: @border-thickness solid @rcblue;
.disabled {
color: @grey4;
cursor: not-allowed;
}
}
&.next {
border: @border-thickness solid @rcblue;
.disabled {
color: @grey4;
cursor: not-allowed;
}
}
}
.browser-cur-rev {
span{
margin: 0;
color: @rcblue;
height: 12px;
display: inline-block;
padding: 0.7em 1em ;
border: @border-thickness solid @rcblue;
margin-right: @padding;
}
}
}
.search_activate {
display: table-cell;
vertical-align: middle;
input, label{
margin: 0;
padding: 0;
}
input{
margin-left: @textmargin;
}
}
}
.browser-cur-rev{
margin-bottom: @textmargin;
}
#node_filter_box_loading{
.info_text;
}
.browser-search {
margin: -25px 0px 5px 0px;
}
.node-filter {
font-size: @repo-title-fontsize;
padding: 4px 0px 0px 0px;
.node-filter-path {
float: left;
color: @grey4;
}
.node-filter-input {
float: left;
margin: -2px 0px 0px 2px;
input {
padding: 2px;
border: none;
font-size: @repo-title-fontsize;
}
}
}
.browser-result{
td a{
margin-left: 0.5em;
display: inline-block;
em{
font-family: @text-bold;
}
}
}
.browser-highlight{
background-color: @grey5-alpha;
}
// Search
.search-form{
#q {
width: @search-form-width;
}
.fields{
margin: 0 0 @space;
}
label{
display: inline-block;
margin-right: @textmargin;
padding-top: 0.25em;
}
.results{
clear: both;
margin: 0 0 @padding;
}
}
div.search-feedback-items {
display: inline-block;
padding:0px 0px 0px 96px;
}
dan
forms: add deform for integration settings forms
r518 div.search-code-body {
project: added all source files and assets
r1 background-color: #ffffff; padding: 5px 0 5px 10px;
pre {
.match { background-color: #faffa6;}
.break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; }
}
}
.expand_commit.search {
.show_more.open {
height: auto;
max-height: none;
}
}
.search-results {
h2 {
margin-bottom: 0;
}
.codeblock {
border: none;
background: transparent;
}
.codeblock-header {
border: none;
background: transparent;
}
.code-body {
border: @border-thickness solid @border-default-color;
.border-radius(@border-radius);
}
.td-commit {
&:extend(pre);
border-bottom: @border-thickness solid @border-default-color;
}
.message {
height: auto;
max-width: 350px;
white-space: normal;
text-overflow: initial;
overflow: visible;
.match { background-color: #faffa6;}
.break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; }
}
}
table.rctable td.td-search-results div {
max-width: 100%;
}
#tip-box, .tip-box{
padding: @menupadding/2;
display: block;
border: @border-thickness solid @border-highlight-color;
.border-radius(@border-radius);
background-color: white;
z-index: 99;
white-space: pre-wrap;
}
#linktt {
width: 79px;
}
#help_kb .modal-content{
max-width: 750px;
margin: 10% auto;
table{
td,th{
border-bottom: none;
line-height: 2.5em;
}
th{
padding-bottom: @textmargin/2;
}
td.keys{
text-align: center;
}
}
.block-left{
width: 45%;
margin-right: 5%;
}
.modal-footer{
clear: both;
}
.key.tag{
padding: 0.5em;
background-color: @rcblue;
color: white;
border-color: @rcblue;
.box-shadow(none);
}
}
//--- IMPORTS FOR REFACTORED STYLES ------------------//
@import 'statistics-graph';
@import 'tables';
@import 'forms';
@import 'diff';
@import 'summary';
@import 'navigation';
//--- SHOW/HIDE SECTIONS --//
.btn-collapse {
float: right;
text-align: right;
font-family: @text-light;
font-size: @basefontsize;
cursor: pointer;
border: none;
color: @rcblue;
}
table.rctable,
table.dataTable {
.btn-collapse {
float: right;
text-align: right;
}
}
// TODO: johbo: Fix for IE10, this avoids that we see a border
// and padding around checkboxes and radio boxes. Move to the right place,
// or better: Remove this once we did the form refactoring.
input[type=checkbox],
input[type=radio] {
padding: 0;
border: none;
}
notifications: use rhodecode-toast for notifications instead of toastr jquery plugin
r699
.toggle-ajax-spinner{
height: 16px;
width: 16px;
}