Skip to content
Snippets Groups Projects
Commit 4418a127 authored by gnaegi's avatar gnaegi
Browse files

OO-371 fix alignment issues in top nav component

parent 53cd8820
No related branches found
No related tags found
No related merge requests found
...@@ -169,20 +169,48 @@ div.b_iframe_wrapper iframe { width:100%; position:relative; top: 0; left:0; bor ...@@ -169,20 +169,48 @@ div.b_iframe_wrapper iframe { width:100%; position:relative; top: 0; left:0; bor
right:0px; right:0px;
top:0px; top:0px;
padding:4px 15px 0px 0px; padding:4px 15px 0px 0px;
line-height: $top_nav_line_height;
min-height: $top_nav_line_height;
ul {margin:0;} ul {margin:0;}
#o_topnav_search input {
line-height: 1.3em; /* fix horizontal alignment by explicitly setting line-height everywhere */
margin: 0; li, div, span {
width: 10em; line-height: $top_nav_line_height;
}
/* fix horizontal alignment by removing top and bottom padding on icons */
.b_with_small_icon_right {
padding: 0 20px 0 0;
}
.b_with_small_icon_left {
padding: 0 0 0 20px;
}
.b_small_icon {
height: $top_nav_line_height;
}
#o_topnav_langchooser {
select {
font-size: 90%;
}
}
#o_topnav_search {
input {
font-size: 90%;
margin: 0;
width: 10em;
}
a.o_fulltext_search_button {
height: $top_nav_line_height;
background-position: 50% 50%;
}
} }
#o_topnav_printview a { #o_topnav_printview a {
background: url(../openolat/images/printer.png) no-repeat top right; background: url(../openolat/images/printer.png) no-repeat right 50%;
padding: 2px 20px 2px 0; padding: 0 20px 0 0;
margin: 0; margin: 0;
} }
#o_topnav_logout a { #o_topnav_logout a {
background: url('../openolat/images/control/control-power.png') no-repeat top right; background: url('../openolat/images/control/control-power.png') no-repeat right 50%;
padding: 2px 20px 2px 0; padding: 0 20px 0 0;
margin: 0; margin: 0;
font-weight: bold; font-weight: bold;
} }
......
...@@ -33,6 +33,9 @@ $glossColor4 : #3C3C3C !default; ...@@ -33,6 +33,9 @@ $glossColor4 : #3C3C3C !default;
/* full screen margins. Set to 0% to have have no surrounding border at all */ /* full screen margins. Set to 0% to have have no surrounding border at all */
$fullScreenModalMarginPercents: 2% !default; $fullScreenModalMarginPercents: 2% !default;
/* top navigation */
$top_nav_line_height : 1.5em !default;
/* menu navigation */ /* menu navigation */
$tree_level_margin : 1em !default; $tree_level_margin : 1em !default;
$tree_padding_steps_px : 10px !default; $tree_padding_steps_px : 10px !default;
......
source diff could not be displayed: it is too large. Options to address this: view the blob.
source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment