Evgeny Fadeev 92241bc8de css changes for language nav and dropdown menu
Change-Id: Iaef0b1bfb04d2ff56a8ede874b075dfc4eae084b
2015-05-01 03:29:24 -04:00

589 lines
14 KiB
CSS

/*
Copyright 2013 OpenStack Foundation
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.
*/
/* line 20, ../sass/extra.scss */
body,
p,
.short-summary .counts,
#footer ul,
.short-summary .userinfo {
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}
/* line 27, ../sass/extra.scss */
#secondaryHeader,
#questionCount,
#header,
#footer h3,
h1,
h1.section-title,
.box h2,
.question-page h1,
.short-summary h2,
.short-summary .counts .item-count,
.tag-right,
.tabBar,
.question-page .vote-number {
font-family: "PT Sans", serif;
}
/* line 43, ../sass/extra.scss */
.question-page .post-update-info {
line-height: 12px;
}
/* line 47, ../sass/extra.scss */
.post-update-info .user-info {
margin-top: 0px;
}
/* line 50, ../sass/extra.scss */
.user-profile-page ul.avatars .avatar-delete {
line-height: 7px;
padding: 8px;
}
/* line 54, ../sass/extra.scss */
.user-info-table .js-avatar {
height: 128px;
width: 128px;
}
/* line 58, ../sass/extra.scss */
.js-avatar {
height: 48px;
width: 48px;
}
/* line 62, ../sass/extra.scss */
.inbox .js-avatar {
height: 16px;
width: 16px;
}
/* line 67, ../sass/extra.scss */
.user-card .js-avatar-box {
margin-right: 10px;
}
/* line 70, ../sass/extra.scss */
.user-card .js-avatar {
height: 32px;
width: 32px;
}
/* line 75, ../sass/extra.scss */
.users-page .user-card .js-avatar-box {
margin: 3px 6px 0 0;
}
/* line 78, ../sass/extra.scss */
.comment-controls .js-avatar {
height: 16px;
width: 16px;
}
/* line 82, ../sass/extra.scss */
#header {
background: #e4eef1;
border-top: 3px solid #255e6e;
-moz-box-shadow: 1px 1px 1px 1px #ccc;
-webkit-box-shadow: 1px 1px 1px 1px #ccc;
box-shadow: 1px 1px 1px 1px #ccc;
}
/* line 88, ../sass/extra.scss */
.openid-signin #metaNav a.signin {
background: none;
-moz-box-shadow: 0 0 0 0;
-webkit-box-shadow: 0 0 0 0;
box-shadow: 0 0 0 0;
}
/* line 93, ../sass/extra.scss */
#metaNav {
position: absolute;
left: 200px;
bottom: 25px;
width: 750px;
}
/* line 99, ../sass/extra.scss */
#metaNav a {
color: #255e6e;
font-size: 16px;
line-height: 16px;
height: 16px;
text-shadow: #fff 0 1px 1px;
}
/* line 107, ../sass/extra.scss */
#metaNav a.signin {
background: #e8d895;
padding: 5px 8px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: 0 0 2px 2px white;
-webkit-box-shadow: 0 0 2px 2px white;
box-shadow: 0 0 2px 2px white;
}
/* line 114, ../sass/extra.scss */
#metaNav a.on {
font-weight: normal;
color: #e4eef1;
background: #255e6e !important;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
text-shadow: 0 0 0;
-moz-box-shadow: 0 0 2px 2px white;
-webkit-box-shadow: 0 0 2px 2px white;
box-shadow: 0 0 2px 2px white;
}
/* line 123, ../sass/extra.scss */
#metaNav #navTags,
#metaNav #navBadges,
#metaNav #navUsers,
#metaNav #navGroups,
#metaNav .help {
background: none;
padding: 3px 10px 6px 10px;
margin: 0 0 0 30px;
}
/* line 133, ../sass/extra.scss */
#metaNav .dropdown,
#metaNav a {
display: inline;
float: none;
padding: 0;
margin: 5px 0 0 0;
}
/* line 140, ../sass/extra.scss */
#metaNav span.dropdown-toggle {
padding: 10px;
border-left: 1px solid #e4eef1;
/*background: url(../images/sprites.png) no-repeat -7px -242px;*/
position: relative;
}
/* line 145, ../sass/extra.scss */
#metaNav span.dropdown-toggle.lang-nav {
padding: 0;
}
/* line 149, ../sass/extra.scss */
#metaNav span.dropdown-toggle:hover {
background: #e4eef1;
/*background: url(../images/sprites.png) no-repeat -7px -274px;*/
}
/* line 152, ../sass/extra.scss */
#metaNav span.dropdown-toggle:hover .dropdown-menu {
background: #e4eef1;
border-left: 1px solid #e4eef1;
display: block;
left: -1px;
padding: 4px 0 10px 0;
top: 36px;
}
/* line 161, ../sass/extra.scss */
#metaNav span.dropdown-toggle:hover.lang-nav .dropdown-menu {
left: -14px;
min-width: auto !important;
top: 27px;
}
/* line 168, ../sass/extra.scss */
#metaNav .dropdown-menu {
background: #e4eef1;
left: 26px;
top: 22px;
}
/* line 172, ../sass/extra.scss */
#metaNav .dropdown-menu li {
line-height: 1.9;
padding: 0 0 0 13px;
margin: 0;
}
/* line 176, ../sass/extra.scss */
#metaNav .dropdown-menu li img {
margin-bottom: 3px;
}
/* line 180, ../sass/extra.scss */
#metaNav .dropdown-menu li:hover {
background: #666 !important;
}
/* line 182, ../sass/extra.scss */
#metaNav .dropdown-menu li:hover a {
color: #aed8e4;
}
/* line 186, ../sass/extra.scss */
#metaNav .dropdown-menu a {
margin: 0;
padding: 0;
text-shadow: none;
}
/* line 191, ../sass/extra.scss */
#metaNav .dropdown-menu a:hover {
background: inherit;
text-decoration: none;
color: #aed8e4;
text-shadow: none;
}
/* line 201, ../sass/extra.scss */
#userToolsNav .lang-nav {
float: right;
color: #255e6e;
font-size: 16px;
line-height: 16px;
height: 30px;
position: absolute !important;
right: 0;
}
/* line 209, ../sass/extra.scss */
#userToolsNav .lang-nav ul, #userToolsNav .lang-nav li {
background: #e4eef1;
}
/* line 212, ../sass/extra.scss */
#userToolsNav .lang-nav a {
color: #255e6e;
background: transparent;
}
/* line 215, ../sass/extra.scss */
#userToolsNav .lang-nav a:hover {
color: #aed8e4;
}
/* line 219, ../sass/extra.scss */
#userToolsNav .lang-nav .dropdown-menu li:hover {
background: transparent !important;
}
/* line 225, ../sass/extra.scss */
#metaNav a:hover {
color: #255e6e;
}
/* line 228, ../sass/extra.scss */
#header.with-logo #userToolsNav {
bottom: 19px;
}
/* line 231, ../sass/extra.scss */
#secondaryHeader {
background: #fff;
border: none;
margin-bottom: 7px;
}
/* line 235, ../sass/extra.scss */
#secondaryHeader td.search-bar {
padding-right: 62px;
}
/* line 239, ../sass/extra.scss */
.scope-selector {
font-size: 16px;
height: 37px;
border-bottom: 3px solid white;
}
/* line 243, ../sass/extra.scss */
.scope-selector.on, .scope-selector:hover {
background: none;
border-bottom: 3px solid;
color: #cf2f19;
text-decoration: none;
-moz-transition: 0.07s, ease;
-o-transition: 0.07s, ease;
-webkit-transition: 0.07s, ease;
transition: 0.07s, ease;
}
/* line 251, ../sass/extra.scss */
.scope-selector:hover {
color: #264D69;
}
/* line 254, ../sass/extra.scss */
.scope-selector.ask-message:hover {
color: #7a7a6b;
border: none;
}
/* line 258, ../sass/extra.scss */
.scope-selector:first-child {
margin-left: 0;
}
/* line 262, ../sass/extra.scss */
#homeButton {
display: none;
}
/* line 265, ../sass/extra.scss */
#askButton {
height: 42px;
font-size: 15px;
line-height: 42px;
padding: 0;
width: 168px;
-moz-box-shadow: 0 0 0;
-webkit-box-shadow: 0 0 0;
box-shadow: 0 0 0;
}
/* line 273, ../sass/extra.scss */
.tabBar {
background: none;
}
/* line 276, ../sass/extra.scss */
#logo img {
height: 56px;
margin-left: -10px;
}
/* line 280, ../sass/extra.scss */
#searchBar {
-moz-box-shadow: inset #eee 1px 1px 2px 1px;
-webkit-box-shadow: inset #eee 1px 1px 2px 1px;
box-shadow: inset #eee 1px 1px 2px 1px;
}
/* line 283, ../sass/extra.scss */
.search-drop-menu {
position: relative;
bottom: -42px;
}
/* line 286, ../sass/extra.scss */
.search-drop-menu.waiting {
bottom: -42px;
height: 25px;
}
/* line 290, ../sass/extra.scss */
.search-drop-menu .footer button {
padding: 2px 6px 3px;
background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjxzdG9wIG9mZnNldD0iNSUiIHN0b3AtY29sb3I9IiNmM2YzZjMiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNTg1MGMiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyYWQpIiAvPjwvc3ZnPiA=');
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(5%, #f3f3f3), color-stop(100%, #f5850c));
background: -moz-linear-gradient(#ffffff, #f3f3f3 5%, #f5850c);
background: -webkit-linear-gradient(#ffffff, #f3f3f3 5%, #f5850c);
background: linear-gradient(#ffffff, #f3f3f3 5%, #f5850c);
-moz-box-shadow: 0 0 2px 2px white;
-webkit-box-shadow: 0 0 2px 2px white;
box-shadow: 0 0 2px 2px white;
text-shadow: 0 0 0;
}
/* line 298, ../sass/extra.scss */
#ContentRight {
margin-top: -58px;
margin-bottom: 58px;
}
/* line 304, ../sass/extra.scss */
.main-page #ContentRight,
.question-page #ContentRight {
background: white;
padding-top: 2px;
}
/* line 309, ../sass/extra.scss */
#ContentLeft {
padding-bottom: 0;
}
/* line 314, ../sass/extra.scss */
.box h2,
.box .contributorback {
background: none;
text-align: left;
}
/* line 320, ../sass/extra.scss */
.box .inputs #interestingTagInput,
.box .inputs #ignoredTagInput,
.box .inputs #subscribedTagInput,
.box .inputs #ab-tag-search {
width: 128px;
height: 23px;
line-height: 23px;
}
/* line 331, ../sass/extra.scss */
input[type="submit"].searchBtn,
input.cancelSearchBtn {
border: 0;
display: none;
height: 0;
margin: 0;
padding: 0;
right: -500px;
}
/* line 340, ../sass/extra.scss */
#searchBar input[type="button"].cancelSearchBtn {
right: 8px;
border: none !important;
color: #888 !important;
background: transparent !important;
font-size: 23px !important;
height: 32px !important;
line-height: 36px !important;
width: 32px !important;
}
/* line 350, ../sass/extra.scss */
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.button {
font-family: "PT Sans", serif;
font-weight: normal;
border: 1px solid #e2e2e2 !important;
padding: 4px 15px;
color: #404040 !important;
text-decoration: none !important;
font-size: 12.5px;
background: #FFFFFF;
background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjxzdG9wIG9mZnNldD0iNTAlIiBzdG9wLWNvbG9yPSIjZjNmM2YzIi8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjZWJlYmViIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmFkKSIgLz48L3N2Zz4g');
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(50%, #f3f3f3), color-stop(100%, #ebebeb));
background: -moz-linear-gradient(#ffffff 0%, #f3f3f3 50%, #ebebeb 100%);
background: -webkit-linear-gradient(#ffffff 0%, #f3f3f3 50%, #ebebeb 100%);
background: linear-gradient(#ffffff 0%, #f3f3f3 50%, #ebebeb 100%);
-moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
text-shadow: #fff 0px 1px 1px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
border-bottom-color: #a0a0a0 !important;
border-right-color: #bababa !important;
border-left-color: #bababa !important;
}
/* line 373, ../sass/extra.scss */
.comments input[type="submit"],
.comments .controls a.button {
color: #4b4b4b !important;
border: none !important;
}
/* line 377, ../sass/extra.scss */
.comments input[type="submit"]:hover,
.comments .controls a.button:hover {
text-decoration: underline;
}
/* line 381, ../sass/extra.scss */
.comments input[type="submit"] {
color: #1b71bd;
}
/* line 385, ../sass/extra.scss */
input[type="submit"].link {
border: none !important;
color: 4b4b4b !important;
}
/* line 390, ../sass/extra.scss */
#footer {
margin-top: 10px;
}
/* line 392, ../sass/extra.scss */
#footer .span-4,
#footer .span-8 {
margin: 0;
}
/* line 396, ../sass/extra.scss */
#footer .span-4 {
width: 17%;
}
/* line 399, ../sass/extra.scss */
#footer .span-8 {
width: 32%;
}
/* line 402, ../sass/extra.scss */
#footer a,
#footer a:active,
#footer a:hover,
#footer a:visited,
#footer p {
color: #666;
font-size: 12px;
line-height: 18px;
}
/* line 411, ../sass/extra.scss */
#footer p {
margin-top: 14px;
}
/* line 414, ../sass/extra.scss */
#footer h3 {
color: #de0000;
font-size: 16px;
margin: 0 0 8px 0;
padding: 0;
}
/* line 420, ../sass/extra.scss */
#footer ul {
list-style: none;
margin: 0;
}
/* line 424, ../sass/extra.scss */
#footer textarea {
display: block;
margin: 12px 0 10px;
width: 80%;
}
/* line 430, ../sass/extra.scss */
.pager,
.paginator {
margin-bottom: 0;
padding-bottom: 0;
}
/* line 436, ../sass/extra.scss */
.post-comments .submit {
line-height: inherit;
}
/* line 440, ../sass/extra.scss */
.question-instructions {
margin-top: -7px;
}
/* line 449, ../sass/extra.scss */
body.lang-zh_CN .box .inputs #interestingTagInput,
body.lang-zh_CN .box .inputs #ignoredTagInput,
body.lang-zh_CN .box .inputs #subscribedTagInput,
body.lang-zh_CN .box .inputs #ab-tag-search,
body.lang-zh-cn .box .inputs #interestingTagInput,
body.lang-zh-cn .box .inputs #ignoredTagInput,
body.lang-zh-cn .box .inputs #subscribedTagInput,
body.lang-zh-cn .box .inputs #ab-tag-search,
body.lang-zh .box .inputs #interestingTagInput,
body.lang-zh .box .inputs #ignoredTagInput,
body.lang-zh .box .inputs #subscribedTagInput,
body.lang-zh .box .inputs #ab-tag-search {
width: 121px;
}
/* line 458, ../sass/extra.scss */
body.lang-zh_CN .scopes-True-True-True #searchBar,
body.lang-zh_CN .scopes-True-True-True .search-drop-menu,
body.lang-zh-cn .scopes-True-True-True #searchBar,
body.lang-zh-cn .scopes-True-True-True .search-drop-menu,
body.lang-zh .scopes-True-True-True #searchBar,
body.lang-zh .scopes-True-True-True .search-drop-menu {
margin-left: 185px;
}
/* line 464, ../sass/extra.scss */
body.lang-zh_CN .scopes-True-True-False #searchBar,
body.lang-zh_CN .scopes-True-True-False .search-drop-menu,
body.lang-zh-cn .scopes-True-True-False #searchBar,
body.lang-zh-cn .scopes-True-True-False .search-drop-menu,
body.lang-zh .scopes-True-True-False #searchBar,
body.lang-zh .scopes-True-True-False .search-drop-menu {
margin-left: 114px;
}