##// END OF EJS Templates
audit-logs: expose download user audit logs as JSON file....
audit-logs: expose download user audit logs as JSON file. Primarly in larger organizations often this needs to be performed for some employees. Before we delegated users to API or DB fetch.

File last commit:

r3907:c5a907e3 default
r3970:36c4e038 default
Show More
navigation.less
806 lines | 14.9 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
}
.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;
&:hover { color: @grey1; }
}
}
#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;
datagrid: fix some styling and processing text.
r1541 }
project: added all source files and assets
r1 .dataTables_paginate, .pagination-wh {
text-align: left;
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;
project: added all source files and assets
r1 border-left: 0;
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;
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 }
.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;
quick-filter: added nicer UI and hints.
r3750 min-width: 340px;
Liviu
ui: bulk changes
r3560 color: @grey7;
background: @black;
min-height: 18px;
border: 0;
&:active {
color: @grey2 !important;
background: white !important;
}
&:focus {
color: @grey2 !important;
background: white !important;
}
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 }
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 {
border: 1px solid @color5;
padding:7px 10px;
color: @color5;
}