##// END OF EJS Templates
release: Bump version 5.1.0 to 5.2.0
release: Bump version 5.1.0 to 5.2.0

File last commit:

r4485:ac1b264f default
r5473:d5f64b94 default
Show More
navigation.less
895 lines | 16.7 KiB | text/x-less | LessCssLexer
project: added all source files and assets
r1 // navigation.less
// For use in RhodeCode applications;
// see style guide documentation for guidelines.
Liviu
ui: bulk changes
r3560 // TOP MAIN DARK NAVIGATION
.header .main_nav.horizontal-list {
float: right;
color: @grey4;
> li {
a {
color: @grey4;
}
}
}
project: added all source files and assets
r1 // HEADER NAVIGATION
.horizontal-list {
display: block;
margin: 0;
padding: 0;
-webkit-padding-start: 0;
text-align: left;
font-size: @navigation-fontsize;
color: @grey6;
z-index:10;
li {
line-height: 1em;
list-style-type: none;
Liviu
ui: bulk changes
r3560 margin: 0 20px 0 0;
project: added all source files and assets
r1
a {
padding: 0 .5em;
&.menu_link_notifications {
.pill(7px,@rcblue);
display: inline;
margin: 0 7px 0 .7em;
font-size: @basefontsize;
color: white;
dan
ux: fix: last navigation menu's submenu was going off page to right
r301
project: added all source files and assets
r1 &.empty {
background-color: @grey4;
}
&:hover {
background-color: @rcdarkblue;
}
}
}
.pill_container {
margin: 1.25em 0px 0px 0px;
float: right;
}
&#quick_login_li {
&:hover {
color: @grey5;
}
a.menu_link_notifications {
color: white;
}
.user {
padding-bottom: 10px;
}
}
&:before { content: none; }
&:last-child {
.menulabel {
padding-right: 0;
border-right: none;
.show_more {
padding-right: 0;
}
}
&> a {
border-bottom: none;
}
}
&.open {
a {
color: white;
}
}
&:focus {
outline: none;
}
dan
ux: fix: last navigation menu's submenu was going off page to right
r301
project: added all source files and assets
r1 ul li {
display: block;
&:last-child> a {
border-bottom: none;
}
ul li:last-child a {
/* we don't expect more then 3 levels of submenu and the third
level can have different html structure */
border-bottom: none;
}
}
}
> li {
float: left;
display: block;
padding: 0;
> a,
&.has_select2 a {
display: block;
Liviu
ui: bulk changes
r3560 padding: 10px 0;
project: added all source files and assets
r1 }
.menulabel {
line-height: 1em;
// for this specifically we do not use a variable
}
menu: expose artifacts count into menu
r3984 .menulink-counter {
border: 1px solid @grey2;
border-radius: @border-radius;
background: @grey7;
display: inline-block;
padding: 0px 4px;
text-align: center;
font-size: 12px;
}
project: added all source files and assets
r1 .pr_notifications {
padding-left: .5em;
}
.pr_notifications + .menulabel {
display:inline;
padding-left: 0;
}
&:hover,
&.open,
&.active {
dan
ux: fix: last navigation menu's submenu was going off page to right
r301 a {
Liviu
ui: bulk changes
r3560 color: @rcblue;
project: added all source files and assets
r1 }
}
}
pre {
margin: 0;
padding: 0;
}
.select2-container,
.menulink.childs {
position: relative;
}
nav: disable options if there aren't any links inside
r3719 .menulink {
&.disabled {
color: @grey3;
cursor: default;
opacity: 0.5;
}
}
project: added all source files and assets
r1 #quick_login {
li a {
padding: .5em 0;
border-bottom: none;
color: @grey2;
quick-login: make links be rcblue on hover.
r4088 &:hover { color: @rcblue; }
project: added all source files and assets
r1 }
}
#quick_login_link {
display: inline-block;
.gravatar {
ui: dropped the custom font in favor of builtin ones....
r3164 border: 1px solid @grey5;
project: added all source files and assets
r1 }
.gravatar-login {
height: 20px;
width: 20px;
margin: -8px 0;
padding: 0;
}
&:hover .user {
color: @grey6;
}
}
}
.header .horizontal-list {
li {
&#quick_login_li {
padding-left: .5em;
ui: added action link that repliaces current mix of actions in options and action buttons...
r3907 margin-right: 0px;
project: added all source files and assets
r1
&:hover #quick_login_link {
color: inherit;
}
ui: dropped the custom font in favor of builtin ones....
r3164
.menu_link_user {
padding: 0 2px;
}
project: added all source files and assets
r1 }
style: updated li style and markdown style....
r3248 list-style-type: none;
project: added all source files and assets
r1 }
> li {
a {
padding: 18px 0 12px 0;
color: @nav-grey;
&.menu_link_notifications {
padding: 1px 8px;
}
}
&:hover,
&.open,
&.active {
.pill_container a {
// don't select text for the pill container, it has it' own
// hover behaviour
color: @nav-grey;
}
}
&:hover,
&.open,
&.active {
a {
color: @grey6;
}
}
.select2-dropdown-open a {
color: @grey6;
}
.repo-switcher {
padding-left: 0;
.menulabel {
padding-left: 0;
}
}
}
li ul li {
background-color:@grey2;
a {
padding: .5em 0;
border-bottom: @border-thickness solid @border-default-color;
color: @grey6;
}
&:last-child a, &.last a{
border-bottom: none;
}
&:hover {
background-color: @grey3;
}
}
.submenu {
margin-top: 5px;
}
}
// SUBMENUS
.navigation .submenu {
display: none;
}
.navigation li.open {
repo-switcher: new unified search box for filtering/accessing users, repos and repo groups....
r2774 .submenu {
display: block;
}
project: added all source files and assets
r1 }
dan
ux: fix: last navigation menu's submenu was going off page to right
r301 .navigation li:last-child .submenu {
Liviu
user dropdown, submenu dropdown, dropdown adjustments
r3618 right: auto;
left: 0;
border: 1px solid @grey5;
background: @white;
box-shadow: @dropdown-shadow;
dan
ux: fix: last navigation menu's submenu was going off page to right
r301 }
project: added all source files and assets
r1 .submenu {
position: absolute;
top: 100%;
left: 0;
feat: changed last change of repo group to be commit of a latest repository.
r3689 min-width: 180px;
Liviu
user dropdown, submenu dropdown, dropdown adjustments
r3618 margin: 2px 0 0;
project: added all source files and assets
r1 padding: 0;
text-align: left;
font-family: @text-light;
border-radius: @border-radius;
z-index: 20;
li {
display: block;
margin: 0;
padding: 0 .5em;
line-height: 1em;
color: @grey3;
Liviu
user dropdown, submenu dropdown, dropdown adjustments
r3618 background-color: @white;
style: updated li style and markdown style....
r3248 list-style-type: none;
project: added all source files and assets
r1
a {
display: block;
width: 100%;
padding: .5em 0;
border-right: none;
border-bottom: @border-thickness solid white;
color: @grey3;
}
ul {
display: none;
position: absolute;
top: 0;
right: 100%;
padding: 0;
z-index: 30;
}
&:hover {
Liviu
user dropdown, submenu dropdown, dropdown adjustments
r3618 background-color: @grey7;
project: added all source files and assets
r1 -webkit-transition: background .3s;
-moz-transition: background .3s;
-o-transition: background .3s;
transition: background .3s;
dan
ux: fix: last navigation menu's submenu was going off page to right
r301
project: added all source files and assets
r1 ul {
display: block;
}
}
}
dan
ui: introduce user-bookmarks for creation of quick shortcuts
r3424
project: added all source files and assets
r1 }
// repo dropdown
.quick_repo_menu {
width: 15px;
text-align: center;
position: relative;
cursor: pointer;
div {
overflow: visible !important;
}
&.sorting {
cursor: auto;
}
&:hover {
.menu_items_container {
position: absolute;
display: block;
}
.menu_items {
display: block;
}
}
i {
margin: 0;
color: @grey4;
}
.menu_items_container {
position: absolute;
top: 0;
left: 100%;
margin: 0;
padding: 0;
list-style: none;
background-color: @grey6;
z-index: 999;
text-align: left;
a {
color: @grey2;
}
ul.menu_items {
margin: 0;
padding: 0;
}
li {
margin: 0;
padding: 0;
line-height: 1em;
list-style-type: none;
a {
display: block;
height: 16px;
padding: 8px; //must add up to td height (28px)
dan
permissions: unified looks and buttons on permission pages....
r2980 width: 120px; // set width
project: added all source files and assets
r1
&:hover {
background-color: @grey5;
-webkit-transition: background .3s;
-moz-transition: background .3s;
-o-transition: background .3s;
transition: background .3s;
}
}
}
}
}
ui: added action link that repliaces current mix of actions in options and action buttons...
r3907
// new objects main action
.action-menu {
left: auto;
right: 0;
padding: 12px;
z-index: 999;
overflow: hidden;
background-color: #fff;
border: 1px solid @grey5;
color: @grey2;
box-shadow: @dropdown-shadow;
.submenu-title {
font-weight: bold;
}
.submenu-title:not(:first-of-type) {
padding-top: 10px;
}
&.submenu {
min-width: 200px;
ol {
padding:0;
}
li {
display: block;
margin: 0;
padding: .2em .5em;
line-height: 1em;
background-color: #fff;
list-style-type: none;
a {
padding: 4px;
color: @grey4 !important;
border-bottom: none;
}
}
li:not(.submenu-title) a:hover{
color: @grey2 !important;
}
}
}
project: added all source files and assets
r1 // Header Repository Switcher
// Select2 Dropdown
#select2-drop.select2-drop.repo-switcher-dropdown {
width: auto !important;
margin-top: 5px;
padding: 1em 0;
text-align: left;
.border-radius-bottom(@border-radius);
border-color: transparent;
color: @grey6;
background-color: @grey2;
input {
min-width: 90%;
}
ul.select2-result-sub {
li {
line-height: 1em;
&:hover,
&.select2-highlighted {
background-color: @grey3;
}
}
&:before { content: none; }
}
ul.select2-results {
min-width: 200px;
margin: 0;
padding: 0;
list-style-type: none;
overflow-x: visible;
overflow-y: scroll;
li {
padding: 0 8px;
line-height: 1em;
color: @grey6;
&>.select2-result-label {
padding: 8px 0;
border-bottom: @border-thickness solid @grey3;
white-space: nowrap;
color: @grey5;
cursor: pointer;
}
&.select2-result-with-children {
margin: 0;
padding: 0;
}
&.select2-result-unselectable > .select2-result-label {
margin: 0 8px;
}
dan
ux: fix: last navigation menu's submenu was going off page to right
r301
project: added all source files and assets
r1 }
}
ul.select2-result-sub {
margin: 0;
padding: 0;
li {
display: block;
margin: 0;
border-right: none;
line-height: 1em;
font-family: @text-light;
color: @grey2;
style: updated li style and markdown style....
r3248 list-style-type: none;
project: added all source files and assets
r1
&:hover {
background-color: @grey3;
}
}
}
}
#context-bar {
display: block;
Liviu
Multiple changes for the navigation and buttons
r3570 margin: 0 auto 20px 0;
project: added all source files and assets
r1 padding: 0 @header-padding;
Liviu
ui: bulk changes
r3560 background-color: @grey7;
Liviu
2nd grey bg navigation adjustments
r3599 border-bottom: 1px solid @grey5;
project: added all source files and assets
r1
.clear {
clear: both;
}
}
ul#context-pages {
li {
style: updated li style and markdown style....
r3248 list-style-type: none;
project: added all source files and assets
r1
a {
Liviu
2nd grey bg navigation adjustments
r3599 color: @grey2;
Liviu
ui: bulk changes
r3560
&:hover {
Liviu
2nd grey bg navigation adjustments
r3599 color: @grey1;
Liviu
ui: bulk changes
r3560 }
project: added all source files and assets
r1 }
&.active {
// special case, non-variable color
Liviu
ui: bulk changes
r3560 border-bottom: 2px solid @rcblue;
project: added all source files and assets
r1
a {
Liviu
ui: bulk changes
r3560 color: @rcblue;
project: added all source files and assets
r1 }
}
}
}
// PAGINATION
.pagination {
Liviu
fixed and new-ui changes on the inputs, tags, dropdowns
r3594 border: @border-thickness solid @grey5;
color: @grey2;
box-shadow: @button-shadow;
project: added all source files and assets
r1
.current {
color: @grey4;
}
}
datagrid: fix some styling and processing text.
r1541 .dataTables_processing {
text-align: center;
font-size: 1.1em;
dataGrid: fixed loading CSS to prevent page flicker.
r1647 position: relative;
top: 95px;
data-tables: fix div move when loading of new chunks in datatable.
r4116 height: 0;
datagrid: fix some styling and processing text.
r1541 }
dan
webhelpers: replaced paginate library with custom lib
r4091 .dataTables_paginate,
.pagination-wh {
text-align: center;
project: added all source files and assets
r1 display: inline-block;
Liviu
fixed and new-ui changes on the inputs, tags, dropdowns
r3594 border-left: 1px solid @grey5;
project: added all source files and assets
r1 float: none;
overflow: hidden;
Liviu
fixed and new-ui changes on the inputs, tags, dropdowns
r3594 box-shadow: @button-shadow;
project: added all source files and assets
r1
.paginate_button, .pager_curpage,
.pager_link, .pg-previous, .pg-next, .pager_dotdot {
display: inline-block;
padding: @menupadding/4 @menupadding;
Liviu
fixed and new-ui changes on the inputs, tags, dropdowns
r3594 border: 1px solid @grey5;
dan
webhelpers: replaced paginate library with custom lib
r4091 margin-left: -1px;
Liviu
fixed and new-ui changes on the inputs, tags, dropdowns
r3594 color: @grey2;
project: added all source files and assets
r1 cursor: pointer;
float: left;
dan
webhelpers: replaced paginate library with custom lib
r4091 font-weight: 600;
white-space: nowrap;
vertical-align: middle;
user-select: none;
min-width: 15px;
Liviu
fixed and new-ui changes on the inputs, tags, dropdowns
r3594
&:hover {
color: @rcdarkblue;
}
project: added all source files and assets
r1 }
Liviu
fixed current pagination element and input different size than button
r3595 .paginate_button.disabled,
project: added all source files and assets
r1 .disabled {
color: @grey3;
cursor: default;
Liviu
fixed current pagination element and input different size than button
r3595 opacity: 0.5;
}
.paginate_button.current, .pager_curpage {
background: @rcblue;
border-color: @rcblue;
color: @white;
project: added all source files and assets
r1 }
datagrid: fix some styling and processing text.
r1541
.ellipsis {
display: inline-block;
text-align: left;
padding: @menupadding/4 @menupadding;
Liviu
fixed and new-ui changes on the inputs, tags, dropdowns
r3594 border: 1px solid @grey5;
datagrid: fix some styling and processing text.
r1541 border-left: 0;
float: left;
}
project: added all source files and assets
r1 }
// SIDEBAR
.sidebar {
.block-left;
clear: left;
max-width: @sidebar-width;
margin-right: @sidebarpadding;
padding-right: @sidebarpadding;
font-family: @text-regular;
color: @grey1;
.nav-pills {
margin: 0;
}
.nav {
list-style: none;
padding: 0;
li {
padding-bottom: @menupadding;
line-height: 1em;
color: @grey4;
style: updated li style and markdown style....
r3248 list-style-type: none;
project: added all source files and assets
r1
&.active a {
color: @grey2;
}
a {
color: @grey4;
}
}
}
}
repo-switcher: new unified search box for filtering/accessing users, repos and repo groups....
r2774
.main_filter_help_box {
padding: 7px 7px;
display: inline-block;
vertical-align: top;
dan
quick-search: improve styling of search input and results.
r3443 background: inherit;
position: absolute;
Liviu
ui: bulk changes
r3560 right: 0;
dan
quick-search: improve styling of search input and results.
r3443 top: 9px;
repo-switcher: new unified search box for filtering/accessing users, repos and repo groups....
r2774 }
.main_filter_input_box {
display: inline-block;
go-to search: updated logic of goto switcher...
r3556
.searchItems {
display:flex;
Liviu
adjusted the search bar and navigation
r3562 background: @black;
go-to search: updated logic of goto switcher...
r3556 padding: 0px;
Liviu
adjusted the search bar and navigation
r3562 border-radius: 3px;
border: 1px solid @black;
go-to search: updated logic of goto switcher...
r3556
a {
border: none !important;
}
}
.searchTag {
line-height: 28px;
Liviu
adjusted the search bar and navigation
r3562 padding: 0 5px;
go-to search: updated logic of goto switcher...
r3556
.tag {
Liviu
adjusted the search bar and navigation
r3562 color: @grey5;
border-color: @grey2;
background: @grey1;
go-to search: updated logic of goto switcher...
r3556 }
}
.searchTagFilter {
Liviu
adjusted the search bar and navigation
r3562 background-color: @black !important;
margin-right: 0;
go-to search: updated logic of goto switcher...
r3556 }
ui: added search icon and spinner when search is performing.
r4095 .searchTagIcon {
margin: 0;
background: @black !important;
}
go-to search: updated logic of goto switcher...
r3556 .searchTagHelp {
Liviu
adjusted the search bar and navigation
r3562 background-color: @grey1 !important;
margin: 0;
go-to search: updated logic of goto switcher...
r3556 }
.searchTagHelp:hover {
Liviu
adjusted the search bar and navigation
r3562 background-color: @grey1 !important;
go-to search: updated logic of goto switcher...
r3556 }
.searchTagInput {
Liviu
adjusted the search bar and navigation
r3562 background-color: @grey1 !important;
margin-right: 0;
go-to search: updated logic of goto switcher...
r3556 }
repo-switcher: new unified search box for filtering/accessing users, repos and repo groups....
r2774 }
.main_filter_box {
margin: 9px 0 0 0;
}
#main_filter_help {
Liviu
navigation search help background changed
r3684 background: @grey1;
repo-switcher: new unified search box for filtering/accessing users, repos and repo groups....
r2774 border: 1px solid black;
position: absolute;
dan
quick-search: improve styling of search input and results.
r3443 white-space: pre;
repo-switcher: new unified search box for filtering/accessing users, repos and repo groups....
r2774 z-index: 9999;
color: @nav-grey;
dan
quick-search: improve styling of search input and results.
r3443 padding: 0 10px;
repo-switcher: new unified search box for filtering/accessing users, repos and repo groups....
r2774 }
Liviu
ui: bulk changes
r3560 input {
dan
quick-search: improve styling of search input and results.
r3443
Liviu
ui: bulk changes
r3560 &.main_filter_input {
padding: 5px 10px;
commits/pr pages various fixes....
r4485
Liviu
ui: bulk changes
r3560 color: @grey7;
background: @black;
min-height: 18px;
border: 0;
&:active {
color: @grey2 !important;
background: white !important;
}
commits/pr pages various fixes....
r4485
Liviu
ui: bulk changes
r3560 &:focus {
color: @grey2 !important;
background: white !important;
}
commits/pr pages various fixes....
r4485
min-width: 360px;
@media screen and (max-width: 1600px) {
min-width: 300px;
}
@media screen and (max-width: 1500px) {
min-width: 280px;
}
@media screen and (max-width: 1400px) {
min-width: 260px;
}
@media screen and (max-width: 1300px) {
min-width: 240px;
}
@media screen and (max-width: 1200px) {
min-width: 220px;
}
@media screen and (max-width: 720px) {
min-width: 140px;
}
dan
quick-search: improve styling of search input and results.
r3443 }
commits/pr pages various fixes....
r4485
repo-switcher: new unified search box for filtering/accessing users, repos and repo groups....
r2774 }
dan
quick-search: improve styling of search input and results.
r3443
repo-switcher: new unified search box for filtering/accessing users, repos and repo groups....
r2774 .main_filter_input::placeholder {
dan
quick-search: improve styling of search input and results.
r3443 color: @nav-grey;
opacity: 1;
repo-switcher: new unified search box for filtering/accessing users, repos and repo groups....
r2774 }
nav-bar: added placeholder for notice box.
r2898
.notice-box {
display:block !important;
padding: 9px 0 !important;
}
.menulabel-notice {
core: added user-notice logic to push notice messages....
r4300
nav-bar: added placeholder for notice box.
r2898 padding:7px 10px;
core: added user-notice logic to push notice messages....
r4300
&.notice-warning {
border: 1px solid @color3;
.notice-color-warning
}
&.notice-error {
border: 1px solid @color5;
.notice-color-error
}
&.notice-info {
border: 1px solid @color1;
.notice-color-info
}
}
.notice-messages-container {
position: absolute;
top: 45px;
}
.notice-messages {
display: block;
position: relative;
z-index: 300;
min-width: 500px;
max-width: 500px;
min-height: 100px;
margin-top: 4px;
margin-bottom: 24px;
font-size: 14px;
font-weight: 400;
padding: 8px 0;
background-color: #fff;
border: 1px solid @grey4;
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.07);
}
.notice-color-warning {
color: @color3;
}
.notice-color-error {
nav-bar: added placeholder for notice box.
r2898 color: @color5;
}
core: added user-notice logic to push notice messages....
r4300
.notice-color-info {
color: @color1;
}