##// END OF EJS Templates
config: major update for the code to make it be almost fully controllable via env for new docker based installer.
config: major update for the code to make it be almost fully controllable via env for new docker based installer.

File last commit:

r4511:c6ccda60 stable
r4823:59ec40ea default
Show More
type.less
618 lines | 9.5 KiB | text/x-less | LessCssLexer
project: added all source files and assets
r1 //
// Typography
// modified from Bootstrap
// --------------------------------------------------
// Base
body {
font-size: @basefontsize;
font-family: @text-light;
letter-spacing: .02em;
color: @grey2;
}
#content, label{
font-size: @basefontsize;
}
label {
color: @grey2;
}
::selection { background: @rchighlightblue; }
// Headings
// -------------------------
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
margin: 0 0 @textmargin 0;
padding: 0;
line-height: 1.8em;
color: @text-color;
a {
color: @rcblue;
}
}
style: bring back bold font style.
r3186 h1, .h1 { font-size: 1.54em; font-weight: @text-bold-weight; font-family: @text-bold; }
h2, .h2 { font-size: 1.23em; font-weight: @text-semibold-weight; font-family: @text-semibold; }
h3, .h3 { font-size: 1.23em; font-family: @text-regular; }
h4, .h4 { font-size: 1em; font-weight: @text-bold-weight; font-family: @text-bold; }
h5, .h5 { font-size: 1em; font-weight: @text-bold-weight; font-family: @text-bold; }
h6, .h6 { font-size: 1em; font-weight: @text-bold-weight; font-family: @text-bold; }
project: added all source files and assets
r1
// Breadcrumbs
.breadcrumbs {
ui: dropped the custom font in favor of builtin ones....
r3164 font-size: @repo-title-fontsize;
project: added all source files and assets
r1 margin: 0;
Liviu
files view changes: moved add file, download and search to the right, added paddings and margins
r3695 width: ~"calc(100% - 180px)";
float: left;
Liviu
styled the files summary box
r3649
h4 {
font-size: @basefontsize;
margin-bottom: 15px;
}
project: added all source files and assets
r1 }
.breadcrumbs_light {
float:left;
changelog: added dynamic loaders to extend number of commits inside changelog....
r1379 font-size: 1.3em;
line-height: 38px;
project: added all source files and assets
r1 }
// Body text
// -------------------------
p {
margin: 0 0 @textmargin 0;
padding: 0;
line-height: 2em;
}
.lead {
margin-bottom: @textmargin;
font-weight: 300;
line-height: 1.4;
@media (min-width: @screen-sm-min) {
font-size: (@basefontsize * 1.5);
}
}
a,
.link {
color: @rcblue;
text-decoration: none;
outline: none;
cursor: pointer;
&:focus {
outline: none;
}
&:hover {
color: @rcdarkblue;
}
}
img {
border: none;
outline: none;
}
strong {
style: bring back bold font style.
r3186 font-weight: @text-bold-weight;
project: added all source files and assets
r1 font-family: @text-bold;
}
em {
font-family: @text-italic;
style: bring back bold font style.
r3186 font-style: italic;
project: added all source files and assets
r1 }
strong em,
em strong {
style: bring back bold font style.
r3186 font-style: italic;
font-weight: @text-bold-italic-weight;
project: added all source files and assets
r1 font-family: @text-bold-italic;
}
//TODO: lisa: b and i are depreciated, but we are still using them in places.
// Should probably make some decision whether to keep or lose these.
b {
}
i {
font-style: normal;
}
label {
color: @text-color;
input[type="checkbox"] {
margin-right: 1em;
}
input[type="radio"] {
margin-right: 1em;
}
}
code,
.code {
font-size: .95em;
style: optimized <code> element fonts.
r2129 font-family: @text-code;
project: added all source files and assets
r1 color: @grey3;
a {
color: lighten(@rcblue,10%)
}
}
pre {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: @basefontsize*.95;
line-height: 1.4em;
style: optimized <code> element fonts.
r2129 font-family: @text-code;
project: added all source files and assets
r1 color: @grey3;
}
// Emphasis & misc
// -------------------------
Liviu
Multiple changes for the navigation and buttons
r3570 .discreet {
color: @grey4;
font-size: 85%;
font-weight: normal;
a {
color: @grey4;
&:hover {
color: @rcdarkblue;
}
}
}
project: added all source files and assets
r1
small,
.small {
font-size: 75%;
font-weight: normal;
line-height: 1em;
}
mark,
.mark {
padding: .2em;
}
// Alignment
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-justify { text-align: justify; }
.text-nowrap { white-space: nowrap; }
// Transformation
.text-lowercase { text-transform: lowercase; }
.text-uppercase { text-transform: uppercase; }
.text-capitalize { text-transform: capitalize; }
// Contextual colors
.text-muted {
color: @grey4;
}
.text-primary {
color: @rcblue;
}
.text-success {
color: @alert1;
}
.text-info {
color: @alert4;
}
.text-warning {
color: @alert3;
}
.text-danger {
color: @alert2;
}
// Contextual backgrounds
.bg-primary {
background-color: white;
}
.bg-success {
background-color: @alert1;
}
.bg-info {
background-color: @alert4;
}
.bg-warning {
background-color: @alert3;
}
.bg-danger {
background-color: @alert2;
}
// Page header
// -------------------------
.page-header {
margin: @pagepadding 0 @textmargin;
border-bottom: @border-thickness solid @grey5;
}
.title {
clear: both;
float: left;
width: 100%;
Liviu
fixed current pagination element and input different size than button
r3595 margin: @pagepadding/2 0 @pagepadding/4;
Liviu
Multiple changes for the navigation and buttons
r3570 min-height: 25px;
project: added all source files and assets
r1
ui: dropped the custom font in favor of builtin ones....
r3164 .breadcrumbs {
project: added all source files and assets
r1 float: left;
clear: both;
width: 700px;
margin: 0;
.q_filter_box {
margin-right: @padding;
}
}
h1 a {
color: @rcblue;
}
input{
margin-right: @padding;
}
h5, .h5 {
color: @grey1;
margin-bottom: @space;
span {
display: inline-block;
}
}
p {
margin-bottom: 0;
}
dan
integrations: refactor/cleanup + features, fixes #4181...
r731 .links {
project: added all source files and assets
r1 float: right;
display: inline;
margin: 0;
padding-left: 0;
list-style: none;
text-align: right;
style: updated li style and markdown style....
r3248 li {
float: right;
list-style-type: none;
}
project: added all source files and assets
r1 a {
display: inline-block;
margin-left: @textmargin/2;
}
}
.title-content {
summary: move the RSS button to the right pane of repo name
r3666
&.repo-title {
float: none
}
project: added all source files and assets
r1 float: left;
margin: 0;
padding: 0;
& + .breadcrumbs {
margin-top: @padding;
}
& + .links {
margin-top: -@button-padding;
& + .breadcrumbs {
margin-top: @padding;
}
}
dan
search: new UI for search, and repo group context search...
r3442
.repo-group-desc {
padding: 8px 0px 0px 0px;
}
project: added all source files and assets
r1 }
.title-main {
font-size: @repo-title-fontsize;
}
.title-description {
margin-top: .5em;
}
.q_filter_box {
width: 200px;
}
tables: unified tables for main pages of rhodecode repo pages.
r4511 #obj_count {
line-height: 34px;
}
project: added all source files and assets
r1 }
#readme .title {
text-transform: none;
}
// Lists
// -------------------------
// Unordered and Ordered lists
ul,
ol {
margin-top: 0;
margin-bottom: @textmargin;
ul,
ol {
margin-bottom: 0;
}
}
li {
line-height: 2em;
}
ul li {
position: relative;
style: updated li style and markdown style....
r3248 list-style-type: disc;
project: added all source files and assets
r1
p:first-child {
display:inline;
}
}
// List options
// Unstyled keeps list items block level, just removes default browser padding and list-style
.list-unstyled {
padding-left: 0;
list-style: none;
li:before { content: none; }
}
// Inline turns list items into inline-block
.list-inline {
.list-unstyled();
margin-left: -5px;
> li {
display: inline-block;
padding-left: 5px;
padding-right: 5px;
}
}
// Description Lists
dl {
margin-top: 0; // Remove browser default
margin-bottom: @textmargin;
}
dt,
dd {
line-height: 1.4em;
}
dt {
margin: @textmargin 0 0 0;
style: bring back bold font style.
r3186 font-weight: @text-bold-weight;
project: added all source files and assets
r1 font-family: @text-bold;
}
dd {
margin-left: 0; // Undo browser default
}
// Horizontal description lists
// Defaults to being stacked without any of the below styles applied, until the
// grid breakpoint is reached (default of ~768px).
// These are used in forms as well; see style guide.
// TODO: lisa: These should really not be used in forms.
.dl-horizontal {
overflow: hidden;
margin-bottom: @space;
dt, dd {
float: left;
margin: 5px 0 5px 0;
}
dt {
clear: left;
width: @label-width - @form-vertical-margin;
}
dd {
&:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present
margin-left: @form-vertical-margin;
max-width: @form-max-width - (@label-width - @form-vertical-margin) - @form-vertical-margin;
}
pre {
margin: 0;
}
&.settings {
dt {
text-align: left;
}
}
@media (min-width: 768px) {
dt {
float: left;
ui: increase label width after font changes.
r3199 width: 185px;
project: added all source files and assets
r1 clear: left;
text-align: right;
}
dd {
margin-left: 20px;
}
}
system-info: fix styling for elements
r3974
&.dt-300 {
dt {
width: 300px;
}
}
&.dt-400 {
dt {
width: 400px;
}
}
&.dt-500 {
dt {
width: 500px;
}
}
&.dt-600 {
dt {
width: 600px;
}
}
&.dt-700 {
dt {
width: 700px;
}
}
&.dt-800 {
dt {
width: 800px;
}
}
project: added all source files and assets
r1 }
// Misc
// -------------------------
// Abbreviations and acronyms
abbr[title],
abbr[data-original-title] {
cursor: help;
border-bottom: @border-thickness dotted @grey4;
}
.initialism {
font-size: 90%;
text-transform: uppercase;
}
// Blockquotes
blockquote {
padding: 1em 2em;
margin: 0 0 2em;
font-size: @basefontsize;
border-left: 2px solid @grey6;
p,
ul,
ol {
&:last-child {
margin-bottom: 0;
}
}
footer,
small,
.small {
display: block;
font-size: 80%;
&:before {
content: '\2014 \00A0'; // em dash, nbsp
}
}
}
// Opposite alignment of blockquote
//
.blockquote-reverse,
blockquote.pull-right {
padding-right: 15px;
padding-left: 0;
border-right: 5px solid @grey6;
border-left: 0;
text-align: right;
// Account for citation
footer,
small,
.small {
&:before { content: ''; }
&:after {
content: '\00A0 \2014'; // nbsp, em dash
}
}
}
// Addresses
address {
margin-bottom: 2em;
font-style: normal;
line-height: 1.8em;
}
.error-message {
display: block;
margin: @padding/3 0;
color: @alert2;
}
.issue-tracker-link {
color: @rcblue;
}
.info_text{
font-size: @basefontsize;
color: @grey4;
font-family: @text-regular;
}
dan
ui: introduce user-bookmarks for creation of quick shortcuts
r3424 .help-block-inline {
permissions: add better helper block about default permissions, and corelation with anonymous access.
r4222 margin: 0 !important;
dan
ui: introduce user-bookmarks for creation of quick shortcuts
r3424 }
project: added all source files and assets
r1 // help block text
.help-block {
display: block;
margin: 0 0 @padding;
color: @grey4;
font-family: @text-light;
dan
users: add additional information why user with pending reviews shouldn't be deleted.
r1923 &.pre-formatting {
docs: added SAML documentation....
r3290 white-space: pre-wrap;
dan
users: add additional information why user with pending reviews shouldn't be deleted.
r1923 }
project: added all source files and assets
r1 }
.error-message {
display: block;
margin: @padding/3 0;
color: @alert2;
}