contextbar.css
375 lines
| 11.7 KiB
| text/css
|
CssLexer
Leonardo
|
r3527 | /** | ||
* Stylesheets for the context bar | ||||
*/ | ||||
Mads Kiilerich
|
r4145 | i.icon-archive { background-image: url("../images/icons/database_edit.png"); } | ||
i.icon-arrow-right { background-image: url('../images/icons/arrow_right.png');} | ||||
i.icon-ban-circle { background-image: url("../images/icons/cancel.png"); } | ||||
i.icon-bar-chart { background-image: url("../images/icons/chart_bar.png"); } | ||||
i.icon-book { background-image: url("../images/icons/book.png"); } | ||||
i.icon-bookmark { background-image: url("../images/icons/tag_green.png"); } | ||||
i.icon-code-fork { background-image: url("../images/icons/arrow_branch.png"); } | ||||
i.icon-code-merge { background-image: url("../images/icons/arrow_merge.png"); } /* unused! */ | ||||
i.icon-cog { background-image: url("../images/icons/cog_edit.png"); } | ||||
i.icon-cog { background-image: url("../images/icons/cog.png"); } | ||||
i.icon-cogs { background-image: url("../images/icons/table_gear.png"); } | ||||
i.icon-ellipsis-horizontal:after { content: ' ...';} | ||||
i.icon-eye-open { background-image: url("../images/icons/eye.png"); } | ||||
i.icon-file-2 { background-image: url("../images/icons/note.png"); } | ||||
i.icon-file-alt { background-image: url("../images/icons/note_add.png"); } | ||||
i.icon-file { background-image: url("../images/icons/file.png"); } | ||||
i.icon-file-text { background-image: url("../images/icons/clipboard_16.png"); } | ||||
i.icon-file-txt { background-image: url("../images/icons/note_error.png"); } | ||||
i.icon-folder-close { background-image: url("../images/icons/database_link.png"); } | ||||
i.icon-git { background-image: url('../images/icons/giticon.png');} | ||||
i.icon-group { background-image: url("../images/icons/group_edit.png"); } | ||||
i.icon-heart { background-image: url("../images/icons/heart_delete.png"); } | ||||
i.icon-heart-empty { background-image: url("../images/icons/heart.png"); } | ||||
i.icon-hg { background-image: url('../images/icons/hgicon.png');} | ||||
i.icon-key { background-image: url("../images/icons/server_key.png"); } | ||||
i.icon-lock { background-image: url('../images/icons/lock.png');} | ||||
i.icon-lock-alt { background-image: url('../images/icons/private_repo.png');} | ||||
i.icon-loop { background-image: url('../images/icons/arrow_inout.png');} | ||||
i.icon-loop-2 { background-image: url('../images/icons/arrow_inout.png');} | ||||
i.icon-private { background-image: url('../images/icons/private_repo.png');} | ||||
i.icon-public { background-image: url('../images/icons/public_repo.png');} | ||||
i.icon-random { background-image: url("../images/icons/arrow_switch.png"); } | ||||
i.icon-refresh { background-image: url('../images/icons/arrow_refresh.png');} | ||||
i.icon-search { background-image: url("../images/icons/search_16.png"); } | ||||
i.icon-tag { background-image: url("../images/icons/tag_blue.png"); } | ||||
i.icon-time { background-image: url("../images/icons/time.png"); } | ||||
i.icon-list-alt { background-image: url("../images/icons/time.png"); } | ||||
i.icon-unlock { background-image: url('../images/icons/lock_open.png');} | ||||
i.icon-unlock-alt { background-image: url('../images/icons/public_repo.png');} | ||||
i.icon-user { background-image: url("../images/icons/user_edit.png"); } | ||||
i.icon-wrench { background-image: url("../images/icons/wrench.png"); } | ||||
i.icon-rss-sign { background-image: url('../images/icons/rss_16.png');} | ||||
i.icon-plus-sign { background-image: url('../images/icons/add.png');} | ||||
i.icon-chevron-left:after { content: "\00AB";} | ||||
i.icon-chevron-right:after { content: "\00BB";} | ||||
i.icon-copy { background-image: url('../images/icons/note_add.png');} | ||||
i.icon-pencil { background-image: url('../images/icons/application_form_edit.png');} | ||||
i.icon-remove { background-image: url('../images/icons/delete.png');} | ||||
i.icon-remove-sign { background-image: url('../images/icons/delete.png');} | ||||
i.icon-plus { background-image: url('../images/icons/plus_16.png');} | ||||
i.icon-resize-vertical { background-image: url('../images/icons/text_align_left.png');} | ||||
i.icon-ok-sign { background-image: url('../images/icons/tick.png');} | ||||
i.icon-minus-sign { background-image: url('../images/icons/delete.png');} | ||||
i.icon-disabled { background-image: url('../images/icons/shading.png');} /* todo: use instead of minus sign */ | ||||
Leonardo Carneiro
|
r3538 | |||
Mads Kiilerich
|
r4145 | i[class^='icon-'] { | ||
background-repeat: no-repeat; | ||||
background-position: center; | ||||
display: inline-block; | ||||
width: 16px; | ||||
height: 16px; | ||||
margin: -2px 0 -4px 0; | ||||
/* background-color: red; /* for debugging */ | ||||
} | ||||
Leonardo
|
r3527 | |||
#content #context-bar { | ||||
Leonardo Carneiro
|
r3539 | position: relative; | ||
overflow: visible; | ||||
Mads Kiilerich
|
r3612 | background-color: #336699; | ||
border-top: 1px solid #517da8; | ||||
border-bottom: 1px solid #003162; | ||||
padding: 0 5px; | ||||
min-height: 36px; | ||||
Leonardo
|
r3527 | } | ||
Mads Kiilerich
|
r4141 | #content #context-bar h2 { | ||
display: inline-block; | ||||
} | ||||
Leonardo Carneiro
|
r3538 | #header #header-inner #quick a, | ||
Leonardo
|
r3527 | #content #context-bar, | ||
Mads Kiilerich
|
r3611 | #content #context-bar a { | ||
Mads Kiilerich
|
r3552 | color: #FFFFFF; | ||
Leonardo
|
r3527 | } | ||
Leonardo Carneiro
|
r3538 | #header #header-inner #quick a:hover, | ||
Mads Kiilerich
|
r3611 | #content #context-bar a:hover { | ||
Mads Kiilerich
|
r3552 | text-decoration: none; | ||
Leonardo
|
r3527 | } | ||
#content #context-bar .icon { | ||||
Leonardo Carneiro
|
r3539 | display: inline-block; | ||
width: 16px; | ||||
height: 16px; | ||||
vertical-align: text-bottom; | ||||
Leonardo
|
r3527 | } | ||
ul.horizontal-list { | ||||
Leonardo Carneiro
|
r3539 | display: block; | ||
Leonardo
|
r3527 | } | ||
leonardo
|
r3529 | |||
Leonardo
|
r3527 | ul.horizontal-list > li { | ||
Leonardo Carneiro
|
r3539 | float: left; | ||
position: relative; | ||||
Leonardo
|
r3527 | } | ||
Leonardo Carneiro
|
r3538 | #header #header-inner #quick ul, | ||
Leonardo
|
r3527 | ul.horizontal-list > li ul { | ||
Leonardo Carneiro
|
r3539 | position: absolute; | ||
display: none; | ||||
right: 0; | ||||
z-index: 999; | ||||
Leonardo
|
r3527 | } | ||
Leonardo Carneiro
|
r3538 | #header #header-inner #quick li:hover > ul, | ||
Leonardo
|
r3527 | ul.horizontal-list li:hover > ul { | ||
Leonardo Carneiro
|
r3539 | display: block; | ||
Leonardo
|
r3527 | } | ||
Leonardo Carneiro
|
r3538 | #header #header-inner #quick li ul li, | ||
Leonardo
|
r3527 | ul.horizontal-list ul li { | ||
Leonardo Carneiro
|
r3539 | position: relative; | ||
border-bottom: 1px solid rgba(0,0,0,0.1); | ||||
border-top: 1px solid rgba(255,255,255,0.1); | ||||
Leonardo
|
r3527 | } | ||
ul.horizontal-list > li ul ul { | ||||
Leonardo Carneiro
|
r3539 | position: absolute; | ||
right: 100%; | ||||
top: -1px; | ||||
min-width: 200px; | ||||
max-height: 400px; | ||||
r3542 | overflow-x: hidden; | |||
overflow-y: auto; | ||||
Leonardo
|
r3527 | } | ||
Leonardo Carneiro
|
r3538 | #header #header-inner #quick ul a, | ||
ul.horizontal-list li a { | ||||
Leonardo Carneiro
|
r3539 | white-space: nowrap; | ||
Leonardo
|
r3527 | } | ||
#breadcrumbs { | ||||
r3542 | float: left; | |||
r3661 | padding: 6px 0 5px 0; | |||
Leonardo Carneiro
|
r3539 | padding-left: 5px; | ||
font-weight: bold; | ||||
font-size: 14px; | ||||
Leonardo
|
r3527 | } | ||
Leonardo Carneiro
|
r3539 | #breadcrumbs span { | ||
font-weight: bold; | ||||
r3661 | font-size: 1.4em; | |||
Leonardo
|
r3527 | } | ||
Leonardo Carneiro
|
r3538 | #header #header-inner #quick ul, | ||
Leonardo
|
r3527 | #revision-changer, | ||
#context-pages, | ||||
Leonardo Carneiro
|
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 */*/ | ||||
Leonardo
|
r3527 | } | ||
Leonardo Carneiro
|
r3538 | #header #header-inner #quick a, | ||
Leonardo
|
r3527 | #context-actions a, | ||
#context-pages a { | ||||
Leonardo Carneiro
|
r3539 | background-repeat: no-repeat; | ||
background-position: 10px 50%; | ||||
padding-left: 30px; | ||||
Leonardo
|
r3527 | } | ||
Leonardo Carneiro
|
r3538 | #quick a, | ||
Leonardo Carneiro
|
r3539 | #context-pages ul ul a { | ||
padding-left: 10px; | ||||
Leonardo
|
r3527 | } | ||
ul#context-actions { | ||||
Leonardo Carneiro
|
r3539 | display: inline-block; | ||
float: right; | ||||
border-radius: 4px; | ||||
background-image: linear-gradient(top, #4574a2 0%, #2f5d8b 100%); | ||||
Leonardo
|
r3527 | } | ||
Mads Kiilerich
|
r3552 | |||
Leonardo
|
r3527 | #content ul#context-actions li { | ||
Leonardo Carneiro
|
r3539 | padding: 0px; | ||
border-right: 1px solid rgba(0,0,0,0.1); | ||||
border-left: 1px solid rgba(255,255,255,0.1); | ||||
Leonardo
|
r3527 | } | ||
#context-actions a { | ||||
Leonardo Carneiro
|
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; | ||||
Leonardo
|
r3527 | } | ||
Leonardo Carneiro
|
r3538 | #context-actions a { | ||
Leonardo Carneiro
|
r3539 | padding: 11px 10px 12px 30px; | ||
Leonardo Carneiro
|
r3538 | } | ||
#header #header-inner #quick li:hover, | ||||
Leonardo
|
r3527 | #revision-changer:hover, | ||
#context-pages li:hover, | ||||
#context-actions li:hover, | ||||
Leonardo Carneiro
|
r3538 | #content #context-actions li:hover, | ||
#header #header-inner #quick li.current, | ||||
#context-pages li.current { | ||||
Leonardo Carneiro
|
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 */*/ | ||||
Leonardo
|
r3527 | } | ||
#content #context-actions li:first-child { | ||||
Leonardo Carneiro
|
r3539 | border-left: none; | ||
r3542 | border-radius: 4px 0 0px 4px; | |||
Leonardo
|
r3527 | } | ||
#content #context-actions li:last-child { | ||||
Leonardo Carneiro
|
r3539 | border-right: none; | ||
r3542 | border-radius: 0 4px 4px 0; | |||
Leonardo
|
r3527 | } | ||
Mads Kiilerich
|
r3611 | #content #context-actions .icon { | ||
Leonardo Carneiro
|
r3539 | margin: auto; | ||
margin-bottom: 5px; | ||||
display: block; | ||||
clear: both; | ||||
float: none; | ||||
Leonardo
|
r3527 | } | ||
Mads Kiilerich
|
r3611 | #content #context-pages .follow .show-following, | ||
#content #context-pages .following .show-follow { | ||||
Leonardo Carneiro
|
r3539 | display: none; | ||
Leonardo
|
r3527 | } | ||
#context-pages { | ||||
Leonardo Carneiro
|
r3539 | float: right; | ||
border-left: 1px solid rgba(0,0,0,0.1); | ||||
Leonardo
|
r3527 | } | ||
Mads Kiilerich
|
r3552 | #context-pages li.current { | ||
Leonardo Carneiro
|
r3539 | 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 */ | ||||
Leonardo
|
r3527 | } | ||
#content #context-pages .icon { | ||||
r3542 | margin-right: 5px; | |||
Leonardo
|
r3527 | } | ||
Leonardo Carneiro
|
r3538 | #header #header-inner #quick li, | ||
Leonardo
|
r3527 | #content #context-pages li { | ||
Leonardo Carneiro
|
r3539 | border-right: 1px solid rgba(0,0,0,0.1); | ||
border-left: 1px solid rgba(255,255,255,0.1); | ||||
padding: 0; | ||||
Leonardo
|
r3527 | } | ||
Mads Kiilerich
|
r3717 | |||
Leonardo Carneiro
|
r3538 | #header #header-inner #quick li:last-child, | ||
Leonardo
|
r3527 | #content #context-pages li:last-child { | ||
r3542 | border-right: none; | |||
Leonardo
|
r3527 | } | ||
Leonardo Carneiro
|
r3548 | #header #header-inner #quick > li:first-child { | ||
r3542 | border-left: none; | |||
Leonardo Carneiro
|
r3538 | } | ||
Leonardo Carneiro
|
r3539 | #header #header-inner #quick > li:first-child > a { | ||
border-radius: 4px 0 0 4px; | ||||
Leonardo Carneiro
|
r3538 | } | ||
#header #header-inner #quick a, | ||||
Leonardo Carneiro
|
r3539 | #context-pages a, | ||
#context-pages .admin_menu a { | ||||
display: block; | ||||
Mads Kiilerich
|
r4144 | padding: 0px 10px 1px 10px; | ||
Leonardo Carneiro
|
r3539 | line-height: 35px; | ||
Leonardo
|
r3527 | } | ||
r3542 | #header #header-inner #quick a.thin, | |||
#context-pages a.thin, | ||||
#context-pages .admin_menu a.thin { | ||||
line-height: 28px !important; | ||||
} | ||||
Leonardo Carneiro
|
r3538 | #header #header-inner #quick a#quick_login_link { | ||
Leonardo Carneiro
|
r3539 | padding-left: 0px; | ||
Leonardo Carneiro
|
r3538 | } | ||
#header #header-inner #quick a { | ||||
Leonardo Carneiro
|
r3539 | overflow: hidden; | ||
Leonardo Carneiro
|
r3538 | } | ||
#quick a.childs:after, | ||||
Leonardo
|
r3527 | #revision-changer:before, | ||
#context-pages a.childs:after, | ||||
#context-pages a.dropdown:after { | ||||
Leonardo Carneiro
|
r3539 | content: ' \25BE'; | ||
Leonardo
|
r3527 | } | ||
Leonardo Carneiro
|
r3538 | #context-pages a.childs { | ||
r3546 | padding-right: 30px; | |||
Leonardo Carneiro
|
r3538 | } | ||
Leonardo Carneiro
|
r3539 | #context-pages a.childs:after { | ||
position: absolute; | ||||
float: right; | ||||
padding-left: 5px; | ||||
padding-right: 5px; | ||||
Leonardo
|
r3527 | } | ||
#revision-changer:before { | ||||
Leonardo Carneiro
|
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; | ||||
Leonardo
|
r3527 | } | ||
#context-pages li:last-child a { | ||||
Leonardo Carneiro
|
r3539 | padding-right: 10px; | ||
Leonardo
|
r3527 | } | ||
#context-bar #revision-changer { | ||||
Leonardo Carneiro
|
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); | ||||
Leonardo
|
r3527 | } | ||
#revision-changer .branch-name, | ||||
#revision-changer .revision { | ||||
Leonardo Carneiro
|
r3539 | display: block; | ||
text-align: center; | ||||
line-height: 1.5em; | ||||
Leonardo
|
r3527 | } | ||
#revision-changer .branch-name { | ||||
Leonardo Carneiro
|
r3539 | font-weight: bold; | ||
Leonardo
|
r3527 | } | ||
Leonardo Carneiro
|
r3539 | #revision-changer .revision { | ||
text-transform: uppercase; | ||||
r3551 | } | |||