Commit df7a40ab authored by Tom Tryfonidis's avatar Tom Tryfonidis Committed by Claude Paroz

Update header to match the gnome.org design

parent e4acb321
......@@ -8,73 +8,50 @@
padding: 0 !important;
margin: 0 !important;
}
.mobile-menu {
display: none;
visibility: hidden;
}
.normal-menu {
display: block;
}
.navbar-toggle, .navbar-toggle:hover, .navbar-toggle:focus, .navbar-toggle:active, .navbar-toggle.active, .navbar-toggle.disabled, .navbar-toggle[disabled]{
margin-top: 40px;
background-image: none;
background-color: #2e3436;
.no-decoration {
text-decoration: none;
}
.table-responsive {
border: none;
}
.navbar-default .navbar-nav > li > a {
text-decoration: none;
}
/*----------------Smartphones-------------------*/
@media (max-width: 767px) {
@media screen and (max-width: 767px) {
header {
padding-bottom: 40px;
}
.navbar-default,
.navbar-default .navbar-collapse {
background-color: transparent;
border-color: transparent;
}
.mobile-menu {
cursor: pointer;
display: inline-block;
float: right;
visibility: visible;
width:100%;
h1, #content h1 {
font-size: 23px;
}
.normal-menu {
display: none;
}
.top_bar {
padding-top: 50px;
}
.top_bar ul li {
display: block !important;
}
h1, #content h1 {
font-size: 23px;
}
h2 {
font-size: 20px;
}
}
/*-----------------Tablets------------------------*/
@media (min-width:767px) and (max-width: 990px){
header {
padding-bottom: 30px;
h2 {
font-size: 20px;
}
.dropdown-menu.login_popup_form li a {
color: #ffffff;
}
.dropdown-menu.login_popup_form li{
color: #ffffff;
}
.navbar-default .navbar-nav .open .dropdown-menu > li > a {
color: #ffffff;
}
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
color: #ffffff;
}
.navbar-default .navbar-nav .open .dropdown-menu > .active > a,
.navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
color: #ffffff;
background-color: #3968a1;
}
.navbar-default .btn-link {
color: #fff;
}
#globalnav {
margin: 0 auto;
}
.top_bar {
margin:0 auto;
float: none;
}
.normal-menu #gnome_header {
height: auto;
padding: 0 33%;
}
}
......@@ -5,9 +5,6 @@
/* Base information */
/* ========================================================================== */
html {
background: #fff url(../img/html-bg.png) 0 10px repeat-x;
}
a {
color: #204a87;
}
......@@ -27,278 +24,207 @@ a:hover {
clear: both;
}
/* Global Domain Bar */
/* GNOME Header */
/* ========================================================================== */
#global_domain_bar {
background: #fff;
height: 10px;
position: relative;
}
#global_domain_bar .maxwidth {
position: relative;
.gnome-header {
margin-bottom: 90px;
}
/* Tab */
#global_domain_bar .tab {
background: #fff;
position: absolute;
right: 0;
float: right;
padding: 6px 8px;
font-size: 12px;
line-height: 16px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
-moz-box-shadow: 0 4px 2px -2px #8fb3d9;
-webkit-box-shadow: 0 4px 2px -2px #8fb3d9;
box-shadow: 0 4px 2px -2px #8fb3d9;
white-space: nowrap;
z-index: 10;
.gnome-header .avatar img {
width: 14px;
height: 14px;
}
#global_domain_bar .tab a.root {
color: #555753 !important;
font-weight: bold;
.gnome-navbar-brand {
height: 50px;
padding: 6px;
float: left;
outline: 0;
margin-left: 7px;
font-weight: 700;
text-transform: uppercase;
font-size: 80%;
color: #ffffff;
text-decoration: none;
background: #fff url(../img/favicon.png) 0 0 no-repeat;
padding-left: 18px;
border-right: 1px solid #ccc;
padding-right: 6px;
margin-right: 3px;
}
#global_domain_bar .tab a.root:last-child {
border-right: 0;
padding-right: 0;
margin-right: 0;
}
#global_domain_bar .tab a.root:hover {
text-decoration: underline;
opacity: 1;
transition: opacity .2s;
}
#global_domain_bar .tab a.user {
padding: 2px 14px 2px 4px;
margin: -2px -4px -2px -2px;
color: inherit !important;
.gnome-navbar-brand:hover,
.gnome-navbar-brand:active {
color: #ffffff;
text-decoration: none;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
background: url(../img/globaldomain-user-arrow.png) right center no-repeat;
outline: none;
}
#global_domain_bar .tab a.user:hover,
#global_domain_bar .tab a.user:focus {
background-color: #ececec;
opacity: 7;
}
#global_domain_bar .tab a.user.active {
background-color: #ececec;
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
.gnome-navbar-brand img {
max-height: 35px;
min-height: 35px;
min-width: 35px;
vertical-align: middle !important;
}
/* User settings */
/* Main Navigation Menu */
/* ========================================================================== */
#global_domain_bar .user_popup:before {
width: 20px;
height: 10px;
margin-top: -17px;
pointer-events: none;
right: 10px;
position: absolute;
content: url(../img/globaldomain-popup-arrow.png);
}
#global_domain_bar .user_popup {
display: none;
z-index: 10;
position: absolute;
background: #2e3436;
border: 2px solid rgba(100%, 100%, 100%, 0.2);
right: 0;
top: -10px;
margin: 32px 0 0 0;
min-width: 140px;
border-radius: 10px;
.navbar-default {
background-color: #4a86cf;
border-color: #3968a1;
}
#global_domain_bar .user_popup img {
display: block;
margin: 0 auto;
width: 80px;
height: 80px;
.navbar-default .navbar-brand {
color: #ffffff;
}
#global_domain_bar .user_popup a.text {
color: #fff;
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
color: #ffffff;
}
.navbar-default .navbar-text {
color: #ffffff;
}
.navbar-default .navbar-nav > li {
margin-left: 10px;
}
.navbar-default .navbar-nav > li > a {
color: #ffffff;
text-decoration: none;
display: block;
padding: 3px 30px;
}
#global_domain_bar .user_settings a.text:hover {
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
color: #ffffff;
background: rgba(100%, 100%, 100%, 0.2);
}
#global_domain_bar .user_settings ul {
margin: 14px 0;
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
color: #ffffff;
background-color: #3968a1;
}
#global_domain_bar .user_settings li {
list-style-type: none;
margin-left: 0;
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
color: #ffffff;
background-color: #3968a1;
}
/* Login Area */
/* ==================================================================== */
#global_domain_bar .login_popup_form input[type=submit],
#global_domain_bar .login_popup_form a {
color: #fff;
display: block;
margin: 0;
border: 0;
background: none;
font-size: 100%;
font-weight: normal;
padding: 3px 0;
border-radius: 0;
width: 100%;
text-decoration: none;
text-align: center;
.navbar-default .navbar-toggle {
border-color: #3968a1;
}
#global_domain_bar .login_popup_form input[type=submit]:hover,
#global_domain_bar .login_popup_form a:hover {
background: rgba(100%, 100%, 100%, 0.2);
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
background-color: #3968a1;
}
#global_domain_bar .login_popup_form * {
display: block;
margin: 10px 5px;
.navbar-default .navbar-toggle .icon-bar {
background-color: #ffffff;
}
#global_domain_bar .login_popup_form input {
padding: 3px;
border: 1px solid #999;
border-radius: 4px;
background-color: #fff;
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
border-color: transparent;
}
.navbar-default .navbar-link {
color: #ffffff;
}
#global_domain_bar .avatar {
.navbar-default .navbar-link:hover {
color: #ffffff;
}
.navbar-default .navbar-header .icons{
display: block;
margin: 14px auto 0px;
width: 80px;
height: 80px;
background-color: #FFF;
background-size: contain;
border: 2px solid #8B8B8B;
border-radius: 5px;
float: right;
margin: 5px 20px !important;
}
#global_domain_bar .avatar:hover {
border: 2px solid #BBB;
.navbar-default .navbar-header .icons li{
display: inline-block !important;
}
/* GNOME Header */
/* ========================================================================== */
/* User settings */
#gnome_header {
margin: 0;
padding: 6px auto;
.login_popup_form {
padding: 15px 15px 5px; /* bottom: 5px */
min-width: 220px;
}
#gnome_header h1 {
margin: 0;
padding: 20px 0;
font-size: 34px;
line-height: 54px;
color: #2e3436;
font-family: "Copse";
font-weight: bold;
text-shadow: 0 1px 0 #fff;
float: left;
}
#gnome_header h1 a {
color: inherit;
text-decoration: none;
.navbar-nav>li>.dropdown-menu {
margin-top: 18px;
}
#gnome_header h1 a img {
vertical-align: bottom;
.navbar-nav>li>.dropdown-menu, ul.dropdown-menu {
border-radius: 6px;
}
.navbar-nav>li>.dropdown-menu li {
margin-left: 0px;
}
@media screen and (min-width:750px) {
.dropdown-menu:after {
position: absolute;
top: -11px;
left: 83%;
display: inline-block;
border-right: 11px solid transparent;
border-bottom: 11px solid #ffffff;
border-left: 11px solid transparent;
content:'';
}
.dropdown-menu:before {
position: absolute;
top: -12px;
left: 83%;
display: inline-block;
border-right: 11px solid transparent;
border-bottom: 11px solid #ccc;
border-left: 11px solid transparent;
border-bottom-color: rgba(0, 0, 0, 0.2);
content:'';
}
}
/* Animated "Close" icon on Navbar */
/* ========================================================================== */
#gnome_header .right {
margin-top: 38px;
.navbar-toggle {
border: none;
background: transparent !important;
}
#gnome_header #search_input {
border: 1px solid #999;
padding: 4px 28px 4px 9px;
background: #fff url(images/search-icon.png) 172px 5px no-repeat;
width: 160px;
-moz-border-radius: 25px;
-webkit-border-radius: 25px;
border-radius: 25px;
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.2);
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.2);
box-shadow: inset 0 1px 1px rgba(0,0,0,0.2);
.navbar-toggle:hover {
background: transparent !important;
}
#gnome_header #search_input:focus {
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.2), 0 0 3px #0489B7;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.2), 0 0 3px #0489B7;
box-shadow: inset 0 1px 1px rgba(0,0,0,0.2), 0 0 3px #0489B7;
outline: none;
.navbar-toggle .icon-bar {
width: 22px;
transition: all 0.2s;
}
/* Global Navigation */
/* ========================================================================== */
#globalnav {
background: #2e3436 url("../img/top_bar-bg.png") top repeat-x;
list-style: none;
float: left;
padding: 8px 0;
margin: 50px 0 0 45px;
font-size: 13px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
-moz-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
.navbar-toggle .top-bar {
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform-origin: 10% 10%;
-webkit-transform-origin: 10% 10%;
-ms-transform-origin: 10% 10%;
}
#globalnav li {
float: left;
display: inline;
margin: 0 5px 0 5px;
.navbar-toggle .middle-bar {
opacity: 0;
}
#globalnav li a {
color: #fff;
text-decoration: none;
padding: 4px 8px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
outline: none;
-webkit-transition: background 100ms linear;
-moz-transition: background 100ms linear;
transition: background 100ms linear;
text-shadow: 0 1px 0 #000;
}
#globalnav li a:hover {
background: #64696d;
background: rgba(100%, 100%, 100%, 0.2);
.navbar-toggle .bottom-bar {
transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform-origin: 10% 90%;
-webkit-transform-origin: 10% 90%;
-ms-transform-origin: 10% 90%;
}
#globalnav li a:focus {
background: rgba(100%, 100%, 100%, 0.15);
.navbar-toggle.collapsed .top-bar {
transform: rotate(0);
-webkit-transform: rotate(0);
-ms-transform: rotate(0);
}
#globalnav li a:active {
background: #1c2021 url("../img/top_bar-item-bg.png") top repeat-x;
-moz-box-shadow: inset 0 -1px 0 rgba(100%,100%,100%, 0.4), inset 0 1px 3px rgba(0,0,0,0.4);
-webkit-box-shadow: inset 0 -1px 0 rgba(100%,100%,100%, 0.4), inset 0 1px 3px rgba(0,0,0,0.4);
box-shadow: inset 0 -1px 0 rgba(100%,100%,100%, 0.4), inset 0 1px 3px rgba(0,0,0,0.4);
.navbar-toggle.collapsed .middle-bar {
opacity: 1;
}
#globalnav li.active a {
color: #fff;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
background: #1c2021 url("../img/top_bar-item-bg.png") top repeat-x;
-moz-box-shadow: inset 0 -1px 0 rgba(100%,100%,100%, 0.4), inset 0 1px 3px rgba(0,0,0,0.4);
-webkit-box-shadow: inset 0 -1px 0 rgba(100%,100%,100%, 0.4), inset 0 1px 3px rgba(0,0,0,0.4);
box-shadow: inset 0 -1px 0 rgba(100%,100%,100%, 0.4), inset 0 1px 3px rgba(0,0,0,0.4);
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
.navbar-toggle.collapsed .bottom-bar {
transform: rotate(0);
-webkit-transform: rotate(0);
-ms-transform: rotate(0);
}
.navbar-form,
.navbar-collapse {
box-shadow: none;
}
/* Page Title */
/* ========================================================================== */
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="avatar-default.svg"
inkscape:export-filename="/home/sam/dev/RESOURCES/gnome-icon-theme-symbolic/src/gnome-stencils.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
height="16"
id="svg7384"
version="1.1"
inkscape:version="0.92.0 r"
width="16">
<metadata
id="metadata90">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Gnome Symbolic Icon Theme</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
inkscape:bbox-nodes="false"
inkscape:bbox-paths="true"
bordercolor="#666666"
borderopacity="1"
inkscape:current-layer="layer9"
inkscape:cx="48.900326"
inkscape:cy="-9.5721192"
gridtolerance="10"
inkscape:guide-bbox="true"
guidetolerance="10"
id="namedview88"
inkscape:object-nodes="false"
inkscape:object-paths="false"
objecttolerance="10"
pagecolor="#3a3b39"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
showborder="false"
showgrid="false"
showguides="true"
inkscape:snap-bbox="true"
inkscape:snap-bbox-midpoints="false"
inkscape:snap-global="true"
inkscape:snap-grids="true"
inkscape:snap-nodes="true"
inkscape:snap-others="false"
inkscape:snap-to-guides="true"
inkscape:window-height="961"
inkscape:window-maximized="1"
inkscape:window-width="1280"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:zoom="9.1743808">
<inkscape:grid
empspacing="2"
enabled="true"
id="grid4866"
originx="200"
originy="120"
snapvisiblegridlinesonly="true"
spacingx="1"
spacingy="1"
type="xygrid"
visible="true" />
</sodipodi:namedview>
<title
id="title9167">Gnome Symbolic Icon Theme</title>
<defs
id="defs7386" />
<g
inkscape:groupmode="layer"
id="layer9"
inkscape:label="status"
style="display:inline"
transform="translate(-41.0002,-337)">
<path
inkscape:connector-curvature="0"
d="m 51.55489,345.09373 c -0.70541,0.62353 -1.53918,0.90625 -2.55469,0.90625 -1.01551,0 -1.85318,-0.29053 -2.55859,-0.91406 -1.10938,0.36328 -2.43603,1.28775 -2.4375,2.90234 l -0.0039,3.01172 c -7.2e-4,0.554 0.446,1.00002 1,1.00002 l 8,0 c 0.554,0 1,-0.44602 1,-1.00002 l 0,-3 c 0,-1.38672 -1.10231,-2.5558 -2.44531,-2.90625 z"
id="path3940-5"
sodipodi:nodetypes="csccsssscc"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<path
sodipodi:cx="49.5"
sodipodi:cy="342.5"
d="M 52,342.5 A 2.5,2.5 0 0 1 49.5,345 2.5,2.5 0 0 1 47,342.5 2.5,2.5 0 0 1 49.5,340 2.5,2.5 0 0 1 52,342.5 Z"
id="path3942-6"
sodipodi:rx="2.5"
sodipodi:ry="2.5"
style="color:#bebebe;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
transform="matrix(1.2,0,0,1.2,-10.3998,-69.00003)"
sodipodi:type="arc" />
</g>
<g
inkscape:groupmode="layer"
id="layer10"
inkscape:label="devices"
style="display:inline"
transform="translate(-41.0002,-337)" />
<g
inkscape:groupmode="layer"
id="layer11"
inkscape:label="apps"
transform="translate(-41.0002,-337)" />
<g
inkscape:groupmode="layer"
id="layer13"
inkscape:label="places"
style="display:inline"
transform="translate(-41.0002,-337)" />
<g
inkscape:groupmode="layer"
id="layer14"
inkscape:label="mimetypes"
transform="translate(-41.0002,-337)" />
<g
inkscape:groupmode="layer"
id="layer15"
inkscape:label="emblems"
style="display:inline"
transform="translate(-41.0002,-337)" />
<g
inkscape:groupmode="layer"
id="g71291"
inkscape:label="emotes"
style="display:inline"
transform="translate(-41.0002,-337)" />
<g
inkscape:groupmode="layer"
id="g4953"
inkscape:label="categories"
style="display:inline"
transform="translate(-41.0002,-337)" />
<g
inkscape:groupmode="layer"
id="layer12"
inkscape:label="actions"
style="display:inline"
transform="translate(-41.0002,-337)" />
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.0"
width="1062.9567"
height="408.40155"
id="svg3642"
inkscape:version="0.92.0 r"
sodipodi:docname="gnome-l10n.svg"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">