contextbar.css
366 lines
| 10.7 KiB
| text/css
|
CssLexer
|
r3527 | /** | |
* Stylesheets for the context bar | |||
*/ | |||
|
r3538 | #quick .repo_switcher { background-image: url("../images/icons/database.png"); } | |
#quick .journal { background-image: url("../images/icons/book.png"); } | |||
#quick .search { background-image: url("../images/icons/search_16.png"); } | |||
#quick .admin { background-image: url("../images/icons/cog_edit.png"); } | |||
r3542 | #context-bar button.follow { background-image: url("../images/icons/heart.png"); } | ||
#context-bar button.following { background-image: url("../images/icons/heart_delete.png"); } | |||
#context-bar a.fork { background-image: url("../images/icons/arrow_divide.png"); } | |||
#context-bar a.summary { background-image: url("../images/icons/clipboard_16.png"); } | |||
#context-bar a.changelogs { background-image: url("../images/icons/time.png"); } | |||
#context-bar a.files { background-image: url("../images/icons/file.png"); } | |||
#context-bar a.switch-to { background-image: url("../images/icons/arrow_switch.png"); } | |||
#context-bar a.options { background-image: url("../images/icons/table_gear.png"); } | |||
#context-bar a.pull-request { background-image: url("../images/icons/arrow_join.png"); } | |||
#context-bar a.branches { background-image: url("../images/icons/arrow_branch.png"); } | |||
#context-bar a.tags { background-image: url("../images/icons/tag_blue.png"); } | |||
#context-bar a.bookmarks { background-image: url("../images/icons/tag_green.png"); } | |||
#context-bar a.settings { background-image: url("../images/icons/cog.png"); } | |||
#context-bar a.shortlog { background-image: url("../images/icons/time.png"); } | |||
#context-bar a.search { background-image: url("../images/icons/search_16.png"); } | |||
#context-bar a.admin { background-image: url("../images/icons/cog_edit.png"); } | |||
|
r3527 | ||
r3542 | #context-bar a.journal { background-image: url("../images/icons/book.png"); } | ||
#context-bar a.repos { background-image: url("../images/icons/database_edit.png"); } | |||
#context-bar a.repos_groups { background-image: url("../images/icons/database_link.png"); } | |||
#context-bar a.users { background-image: url("../images/icons/user_edit.png"); } | |||
#context-bar a.groups { background-image: url("../images/icons/group_edit.png"); } | |||
#context-bar a.permissions { background-image: url("../images/icons/key.png"); } | |||
#context-bar a.ldap { background-image: url("../images/icons/server_key.png"); } | |||
#context-bar a.defaults { background-image: url("../images/icons/wrench.png"); } | |||
#context-bar a.settings { background-image: url("../images/icons/cog_edit.png"); } | |||
#context-bar a.compare_request { background-image: url('../images/icons/arrow_inout.png')} | |||
#context-bar a.locking_del { background-image: url('../images/icons/lock_delete.png')} | |||
#context-bar a.locking_add { background-image: url('../images/icons/lock_add.png')} | |||
|
r3527 | ||
#content #context-bar { | |||
|
r3539 | position: relative; | |
background-color: #003B76 !important; | |||
padding: 0px; | |||
overflow: visible; | |||
|
r3527 | } | |
|
r3538 | #header #header-inner #quick a, | |
|
r3527 | #content #context-bar, | |
#content #context-bar a, | |||
#content #context-bar button { | |||
|
r3539 | color: #FFFFFF; | |
|
r3527 | } | |
|
r3538 | #header #header-inner #quick a:hover, | |
|
r3527 | #content #context-bar a:hover, | |
#content #context-bar button:hover { | |||
|
r3539 | text-decoration: none; | |
|
r3527 | } | |
#content #context-bar .icon { | |||
|
r3539 | display: inline-block; | |
width: 16px; | |||
height: 16px; | |||
vertical-align: text-bottom; | |||
|
r3527 | } | |
ul.horizontal-list { | |||
|
r3539 | display: block; | |
|
r3527 | } | |
|
r3529 | ||
|
r3527 | ul.horizontal-list > li { | |
|
r3539 | float: left; | |
position: relative; | |||
|
r3527 | } | |
|
r3538 | #header #header-inner #quick ul, | |
|
r3527 | ul.horizontal-list > li ul { | |
|
r3539 | position: absolute; | |
display: none; | |||
right: 0; | |||
z-index: 999; | |||
|
r3527 | } | |
|
r3538 | #header #header-inner #quick li:hover > ul, | |
|
r3527 | ul.horizontal-list li:hover > ul { | |
|
r3539 | display: block; | |
|
r3527 | } | |
|
r3538 | #header #header-inner #quick li ul li, | |
|
r3527 | ul.horizontal-list ul li { | |
|
r3539 | position: relative; | |
border-bottom: 1px solid rgba(0,0,0,0.1); | |||
border-top: 1px solid rgba(255,255,255,0.1); | |||
|
r3527 | } | |
ul.horizontal-list > li ul ul { | |||
|
r3539 | position: absolute; | |
right: 100%; | |||
top: -1px; | |||
min-width: 200px; | |||
max-height: 400px; | |||
r3542 | overflow-x: hidden; | ||
overflow-y: auto; | |||
|
r3527 | } | |
|
r3538 | #header #header-inner #quick ul a, | |
ul.horizontal-list li a { | |||
|
r3539 | white-space: nowrap; | |
|
r3527 | } | |
#breadcrumbs { | |||
r3542 | float: left; | ||
|
r3539 | padding: 5px 0; | |
padding-left: 5px; | |||
font-weight: bold; | |||
font-size: 14px; | |||
|
r3527 | } | |
|
r3539 | #breadcrumbs span { | |
font-weight: bold; | |||
font-size: 2em; | |||
|
r3527 | } | |
#context-top { | |||
|
r3539 | position: relative; | |
overflow: hidden; | |||
border-bottom: 1px solid #003162; | |||
padding: 5px; | |||
|
r3527 | } | |
|
r3538 | #header #header-inner #quick ul, | |
|
r3527 | #revision-changer, | |
#context-pages, | |||
|
r3539 | #context-pages ul { | |
background: #3b6998; /* Old browsers */ | |||
background: -moz-linear-gradient(top, #4574a2 0%, #2f5d8b 100%); /* FF3.6+ */ | |||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4574a2), color-stop(100%,#2f5d8b)); /* Chrome,Safari4+ */ | |||
background: -webkit-linear-gradient(top, #4574a2 0%, #2f5d8b 100%); /* Chrome10+,Safari5.1+ */ | |||
background: -o-linear-gradient(top, #4574a2 0%, #2f5d8b 100%); /* Opera 11.10+ */ | |||
background: -ms-linear-gradient(top, #4574a2 0%, #2f5d8b 100%); /* IE10+ */ | |||
background: linear-gradient(to bottom, #4574a2 0%, #2f5d8b 100%); /* W3C */ | |||
/*Filter on IE will also use overflow:hidden implicitly, and that would clip our inner menus.*/ | |||
/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4574a2', endColorstr='#2f5d8b',GradientType=0 ); /* IE6-9 */*/ | |||
|
r3527 | } | |
|
r3538 | #header #header-inner #quick a, | |
|
r3527 | #context-actions a, | |
#context-pages a { | |||
|
r3539 | background-repeat: no-repeat; | |
background-position: 10px 50%; | |||
padding-left: 30px; | |||
|
r3527 | } | |
|
r3538 | #quick a, | |
|
r3539 | #context-pages ul ul a { | |
padding-left: 10px; | |||
|
r3527 | } | |
ul#context-actions { | |||
|
r3539 | display: inline-block; | |
float: right; | |||
border-radius: 4px; | |||
background-image: linear-gradient(top, #4574a2 0%, #2f5d8b 100%); | |||
|
r3527 | } | |
#content ul#context-actions li { | |||
|
r3539 | padding: 0px; | |
border-right: 1px solid rgba(0,0,0,0.1); | |||
border-left: 1px solid rgba(255,255,255,0.1); | |||
|
r3527 | } | |
#context-actions button, | |||
#context-actions a { | |||
|
r3539 | display: block; | |
cursor: pointer; | |||
background: none; | |||
border: none; | |||
margin: 0px; | |||
height: auto; | |||
padding: 10px 10px 10px 30px; | |||
background-repeat: no-repeat; | |||
background-position: 10px 50%; | |||
font-size: 1em; | |||
|
r3527 | } | |
|
r3538 | #context-actions a { | |
|
r3539 | padding: 11px 10px 12px 30px; | |
|
r3538 | } | |
#header #header-inner #quick li:hover, | |||
|
r3527 | #revision-changer:hover, | |
#context-pages li:hover, | |||
#context-actions li:hover, | |||
|
r3538 | #content #context-actions li:hover, | |
#header #header-inner #quick li.current, | |||
#context-pages li.current { | |||
|
r3539 | background: #6388ad; /* Old browsers */ | |
background: -moz-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* FF3.6+ */ | |||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */ | |||
background: -webkit-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* Chrome10+,Safari5.1+ */ | |||
background: -o-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* Opera 11.10+ */ | |||
background: -ms-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* IE10+ */ | |||
background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* W3C */ | |||
/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#88bfe8', endColorstr='#70b0e0',GradientType=0 ); /* IE6-9 */*/ | |||
|
r3527 | } | |
#content #context-actions li:first-child { | |||
|
r3539 | border-left: none; | |
r3542 | border-radius: 4px 0 0px 4px; | ||
|
r3527 | } | |
#content #context-actions li:last-child { | |||
|
r3539 | border-right: none; | |
r3542 | border-radius: 0 4px 4px 0; | ||
|
r3527 | } | |
|
r3539 | #content #context-actions .icon { | |
margin: auto; | |||
margin-bottom: 5px; | |||
display: block; | |||
clear: both; | |||
float: none; | |||
|
r3527 | } | |
#content #context-actions button.follow, | |||
|
r3539 | #content #context-actions button.following { | |
width: auto; | |||
float: none; | |||
|
r3527 | } | |
#content #context-actions button .show-following, | |||
#content #context-actions button .show-follow { | |||
|
r3539 | display: none; | |
|
r3527 | } | |
#content #context-bar #context-actions button.follow .show-follow { | |||
|
r3539 | display: block; | |
|
r3527 | } | |
#content #context-bar #context-actions button.following .show-following { | |||
|
r3539 | display: block; | |
|
r3527 | } | |
#context-state { | |||
|
r3539 | background-color: #336699; | |
border-top: 1px solid #517da8; | |||
min-height: 36px; | |||
|
r3527 | } | |
#context-pages { | |||
|
r3539 | float: right; | |
border-left: 1px solid rgba(0,0,0,0.1); | |||
|
r3527 | } | |
|
r3539 | #context-pages li.curreasdnt { | |
background: #535353; /* Old browsers */ | |||
background: -moz-linear-gradient(top, #5d5d5d 0%, #484848 100%); /* FF3.6+ */ | |||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5d5d5d), color-stop(100%,#484848)); /* Chrome,Safari4+ */ | |||
background: -webkit-linear-gradient(top, #5d5d5d 0%, #484848 100%); /* Chrome10+,Safari5.1+ */ | |||
background: -o-linear-gradient(top, #5d5d5d 0%, #484848 100%); /* Opera 11.10+ */ | |||
background: -ms-linear-gradient(top, #5d5d5d 0%, #484848 100%); /* IE10+ */ | |||
background: linear-gradient(to bottom, #5d5d5d 0%, #484848 100%); /* W3C */ | |||
|
r3527 | } | |
#content #context-pages .icon { | |||
r3542 | margin-right: 5px; | ||
|
r3527 | } | |
|
r3538 | #header #header-inner #quick li, | |
|
r3527 | #content #context-pages li { | |
|
r3539 | border-right: 1px solid rgba(0,0,0,0.1); | |
border-left: 1px solid rgba(255,255,255,0.1); | |||
padding: 0; | |||
|
r3527 | } | |
|
r3538 | #header #header-inner #quick li:last-child, | |
|
r3527 | #content #context-pages li:last-child { | |
r3542 | border-right: none; | ||
|
r3527 | } | |
|
r3539 | #header #header-inner #quick li:first-child { | |
r3542 | border-left: none; | ||
|
r3538 | } | |
|
r3539 | #header #header-inner #quick > li:first-child > a { | |
border-radius: 4px 0 0 4px; | |||
|
r3538 | } | |
#header #header-inner #quick a, | |||
|
r3539 | #context-pages a, | |
#context-pages .admin_menu a { | |||
display: block; | |||
padding: 0px 10px 1px 30px; | |||
padding-left: 30px; | |||
line-height: 35px; | |||
|
r3527 | } | |
r3542 | #header #header-inner #quick a.thin, | ||
#context-pages a.thin, | |||
#context-pages .admin_menu a.thin { | |||
line-height: 28px !important; | |||
} | |||
|
r3538 | #header #header-inner #quick a#quick_login_link { | |
|
r3539 | padding-left: 0px; | |
|
r3538 | } | |
#header #header-inner #quick a { | |||
|
r3539 | overflow: hidden; | |
|
r3538 | } | |
#quick a.childs:after, | |||
|
r3527 | #revision-changer:before, | |
#context-pages a.childs:after, | |||
#context-pages a.dropdown:after { | |||
|
r3539 | content: ' \25BE'; | |
|
r3527 | } | |
|
r3538 | #context-pages a.childs { | |
|
r3539 | padding-right: 20px; | |
|
r3538 | } | |
|
r3539 | #context-pages a.childs:after { | |
position: absolute; | |||
float: right; | |||
padding-left: 5px; | |||
padding-right: 5px; | |||
|
r3527 | } | |
#revision-changer:before { | |||
|
r3539 | position: absolute; | |
top: 0px; | |||
right: 0px; | |||
border-right: 1px solid rgba(0,0,0,0.1); | |||
height: 25px; | |||
padding-top: 10px; | |||
padding-right: 10px; | |||
|
r3527 | } | |
#context-pages li:last-child a { | |||
|
r3539 | padding-right: 10px; | |
|
r3527 | } | |
#context-bar #revision-changer { | |||
|
r3539 | position: relative; | |
cursor: pointer; | |||
border: none; | |||
padding: 0; | |||
margin: 0; | |||
color: #FFFFFF; | |||
font-size: 0.85em; | |||
padding: 2px 15px; | |||
padding-bottom: 3px; | |||
padding-right: 30px; | |||
border-right: 1px solid rgba(255,255,255,0.1); | |||
|
r3527 | } | |
#revision-changer .branch-name, | |||
#revision-changer .revision { | |||
|
r3539 | display: block; | |
text-align: center; | |||
line-height: 1.5em; | |||
|
r3527 | } | |
#revision-changer .branch-name { | |||
|
r3539 | font-weight: bold; | |
|
r3527 | } | |
|
r3539 | #revision-changer .revision { | |
text-transform: uppercase; | |||
r3542 | } |