Files
@ 77a88040a262
Branch filter:
Location: kallithea/kallithea/public/css/contextbar.css
77a88040a262
3.0 KiB
text/css
js: fix parent/child navigation with more than 2 parents/children
Before, it would only work with 0-2 parents/children.
Before, it would only work with 0-2 parents/children.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | /**
* Stylesheets for the context bar
*/
i[class^='icon-'] {
background-repeat: no-repeat;
background-position: center;
display: inline-block;
min-width: 16px;
min-height: 16px;
margin: -2px 0 -4px 0;
/* background-color: red; /* for debugging */
}
/* Note: class 'icon-empty' can be used to get this styling without an actual glyph */
/* css classes for diff file status ... it'd be nice if css had a way to
inherit from another class but alas, we must make sure this content is the
same from the icon font file */
.icon-diff-M:before {
font-family: 'kallithea';
content: '\22a1';
color: #d0b44c;
}
.icon-diff-D:before {
font-family: 'kallithea';
content: '\229f';
color: #bd2c00;
}
.icon-diff-A:before {
font-family: 'kallithea';
content: '\229e';
color: #6cc644;
}
.icon-diff-R:before {
font-family: 'kallithea';
content: '\e81f';
color: #677a85;
}
nav.navbar #quick a,
#content #context-bar,
#content #context-bar a {
color: #FFFFFF;
}
nav.navbar #quick a:hover,
#content #context-bar a:hover {
text-decoration: none;
background: inherit;
}
.navbar-text {
margin-top: 0;
margin-bottom: 0;
}
ul#quick ul.dropdown-menu > li {
border-bottom: 1px solid rgba(0,0,0,0.1);
border-top: 1px solid rgba(255,255,255,0.1);
}
ul#quick ul.dropdown-menu > li:first-child {
border-top: none;
}
ul#quick ul.dropdown-menu > li:last-child {
border-bottom: none;
}
nav.navbar #quick ul,
#context-pages ul {
background: #577632;
}
.repo-switcher-dropdown.select2-drop.select2-drop-active .select2-results .select2-highlighted,
ul.dropdown-menu li a:focus,
nav.navbar #quick li:hover,
#quick_login > .pull-right .list-group-item:hover,
#context-pages li:hover,
nav.navbar #quick li.active,
nav.navbar #quick li a.menu_link:focus,
#context-pages li.active {
background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* W3C */
}
#quick_login > .pull-right .list-group-item {
background-color: #577632;
border: 0;
}
#content #context-pages .follow .show-following,
#content #context-pages .following .show-follow {
display: none;
}
nav.navbar #quick li,
nav.navbar #quick_login .pull-right,
#content #context-pages li {
border-right: 1px solid rgba(0,0,0,0.1);
border-left: 1px solid rgba(255,255,255,0.1);
padding: 0;
}
.nav .open > a {
background: inherit !important;
}
nav.navbar #quick li:last-child,
#content #context-pages li:last-child {
border-right: none;
}
nav.navbar #quick > li:first-child {
border-left: none;
}
nav.navbar #quick > li:first-child > a {
border-radius: 4px 0 0 4px;
}
nav.navbar #quick > li > a,
nav.navbar #quick .select2-container .select2-choice .select2-chosen,
#context-pages > ul > li > a,
#context-pages .select2-container .select2-choice .select2-chosen {
padding: 0px 15px 1px 15px;
line-height: 43px;
}
nav.navbar #quick a#quick_login_link {
padding-left: 0px;
}
nav.navbar #quick a {
overflow: hidden;
}
#context-pages a.dropdown-toggle:after {
position: absolute;
float: right;
padding-left: 5px;
padding-right: 5px;
}
|