mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Indent CSS with 2 spaces.
git-svn-id: http://svn.redmine.org/redmine/trunk@14955 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
8b17507423
commit
19499bb43d
@ -2,9 +2,7 @@
|
|||||||
RESPONSIVE CSS
|
RESPONSIVE CSS
|
||||||
\*----------------------------------------*/
|
\*----------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
CONTENTS
|
CONTENTS
|
||||||
|
|
||||||
A) BASIC MOBILE RESETS
|
A) BASIC MOBILE RESETS
|
||||||
@ -14,14 +12,11 @@
|
|||||||
E) UX ELEMENTS
|
E) UX ELEMENTS
|
||||||
F) PAGE SPECIFIC STYLES
|
F) PAGE SPECIFIC STYLES
|
||||||
G) FORMS
|
G) FORMS
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/* Hide new elements (toggle button and flyout menu) above 900px */
|
/* Hide new elements (toggle button and flyout menu) above 900px */
|
||||||
.mobile-toggle-button,
|
.mobile-toggle-button,
|
||||||
.flyout-menu
|
.flyout-menu {
|
||||||
{
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -42,62 +37,48 @@
|
|||||||
*/
|
*/
|
||||||
*,
|
*,
|
||||||
*:before,
|
*:before,
|
||||||
*:after
|
*:after {
|
||||||
{
|
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
body,
|
body,
|
||||||
html
|
html {
|
||||||
{
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
html
|
html {
|
||||||
{
|
|
||||||
overflow-y: auto; /* avoid 2nd scrollbar on desktop */
|
overflow-y: auto; /* avoid 2nd scrollbar on desktop */
|
||||||
}
|
}
|
||||||
|
|
||||||
body
|
body {
|
||||||
{
|
|
||||||
min-width: 0; /* reset the min-width of 900px */
|
min-width: 0; /* reset the min-width of 900px */
|
||||||
|
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
body,
|
body,
|
||||||
input,
|
input,
|
||||||
select,
|
select,
|
||||||
textarea,
|
textarea,
|
||||||
button
|
button {
|
||||||
{
|
|
||||||
font-size: 14px; /* Set font-size for standard elements to 14px */
|
font-size: 14px; /* Set font-size for standard elements to 14px */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
select {
|
||||||
select
|
|
||||||
{
|
|
||||||
max-width: 100%; /* prevent long names within select menues from breaking content */
|
max-width: 100%; /* prevent long names within select menues from breaking content */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#wrapper {
|
||||||
#wrapper
|
|
||||||
{
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
overflow-x: hidden; /* hide horizontal overflow */
|
overflow-x: hidden; /* hide horizontal overflow */
|
||||||
|
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wrapper,
|
#wrapper,
|
||||||
#wrapper2
|
#wrapper2 {
|
||||||
{
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -105,53 +86,44 @@
|
|||||||
B) HEADER & TOP MENUS
|
B) HEADER & TOP MENUS
|
||||||
\*----------------------------------------*/
|
\*----------------------------------------*/
|
||||||
|
|
||||||
#header
|
#header {
|
||||||
{
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 64px; /* the height of our header on mobile */
|
height: 64px; /* the height of our header on mobile */
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
border: none;
|
border: none;
|
||||||
background-color: #628db6;
|
background-color: #628db6;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hide project name on mobile (project name is still visible in select menu) */
|
/* Hide project name on mobile (project name is still visible in select menu) */
|
||||||
#header h1
|
#header h1 {
|
||||||
{
|
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* reset #header a color for mobile toggle button */
|
/* reset #header a color for mobile toggle button */
|
||||||
#header a.mobile-toggle-button
|
#header a.mobile-toggle-button {
|
||||||
{
|
|
||||||
color: #f8f8f8;
|
color: #f8f8f8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Hide top-menu and main-menu on mobile, because it's placed in our flyout menu */
|
/* Hide top-menu and main-menu on mobile, because it's placed in our flyout menu */
|
||||||
#top-menu,
|
#top-menu,
|
||||||
#header #main-menu
|
#header #main-menu {
|
||||||
{
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* the quick search within header holding search form and #project_quick_jump_box box*/
|
/* the quick search within header holding search form and #project_quick_jump_box box*/
|
||||||
#header #quick-search
|
#header #quick-search {
|
||||||
{
|
|
||||||
float: none;
|
float: none;
|
||||||
clear: none; /* there are themes which set clear property, this resets it */
|
clear: none; /* there are themes which set clear property, this resets it */
|
||||||
|
|
||||||
max-width: 100%; /* reset max-width */
|
max-width: 100%; /* reset max-width */
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
||||||
background: inherit;
|
background: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* this represents the dropdown arrow to left of the mobile project menu */
|
/* this represents the dropdown arrow to left of the mobile project menu */
|
||||||
#header .jump-box-arrow:before
|
#header .jump-box-arrow:before {
|
||||||
{
|
|
||||||
/* set a font-size in order to achive same result in different themes */
|
/* set a font-size in order to achive same result in different themes */
|
||||||
font-family: Verdana, sans-serif;
|
font-family: Verdana, sans-serif;
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
@ -163,7 +135,6 @@
|
|||||||
width: 2em;
|
width: 2em;
|
||||||
padding: 0 .5em;
|
padding: 0 .5em;
|
||||||
/* achieve dropdwon arrow by scaling a caret character */
|
/* achieve dropdwon arrow by scaling a caret character */
|
||||||
|
|
||||||
content: '^';
|
content: '^';
|
||||||
-webkit-transform: scale(1,-.8);
|
-webkit-transform: scale(1,-.8);
|
||||||
-ms-transform: scale(1,-.8);
|
-ms-transform: scale(1,-.8);
|
||||||
@ -175,8 +146,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* styles for combobox within quick-search (#project_quick_jump_box) */
|
/* styles for combobox within quick-search (#project_quick_jump_box) */
|
||||||
#header #quick-search select
|
#header #quick-search select {
|
||||||
{
|
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
@ -205,13 +175,11 @@
|
|||||||
-webkit-box-shadow: none;
|
-webkit-box-shadow: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
/* hide default browser arrow */
|
/* hide default browser arrow */
|
||||||
|
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
-moz-appearance: none;
|
-moz-appearance: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#header #quick-search form
|
#header #quick-search form {
|
||||||
{
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -219,45 +187,36 @@
|
|||||||
C) MAIN CONTENT & SIDEBAR
|
C) MAIN CONTENT & SIDEBAR
|
||||||
\*----------------------------------------*/
|
\*----------------------------------------*/
|
||||||
|
|
||||||
#main
|
#main {
|
||||||
{
|
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#main.nosidebar #content,
|
#main.nosidebar #content,
|
||||||
div#content
|
div#content {
|
||||||
{
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 0; /* reset min-height of #content */
|
min-height: 0; /* reset min-height of #content */
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* hide sidebar and sidebar switch panel, since it's placed in mobile flyout menu */
|
/* hide sidebar and sidebar switch panel, since it's placed in mobile flyout menu */
|
||||||
#sidebar,
|
#sidebar,
|
||||||
#sidebar-switch-panel
|
#sidebar-switch-panel {
|
||||||
{
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.splitcontentleft
|
.splitcontentleft {
|
||||||
{
|
width: 100%;
|
||||||
width: 100%; /* use full width */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.splitcontentright
|
.splitcontentright {
|
||||||
{
|
width: 100%;
|
||||||
width: 100%; /* use full width */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*----------------------------------------*\
|
/*----------------------------------------*\
|
||||||
D) TOGGLE BUTTON & FLYOUT MENU
|
D) TOGGLE BUTTON & FLYOUT MENU
|
||||||
\*----------------------------------------*/
|
\*----------------------------------------*/
|
||||||
|
|
||||||
/* Mobile toggle button */
|
.mobile-toggle-button {
|
||||||
|
|
||||||
.mobile-toggle-button
|
|
||||||
{
|
|
||||||
font-size: 42px;
|
font-size: 42px;
|
||||||
line-height: 64px;
|
line-height: 64px;
|
||||||
|
|
||||||
@ -277,37 +236,29 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.mobile-toggle-button:hover,
|
.mobile-toggle-button:hover,
|
||||||
.mobile-toggle-button:active
|
.mobile-toggle-button:active {
|
||||||
{
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mobile-toggle-button:after
|
.mobile-toggle-button:after {
|
||||||
{
|
|
||||||
font-family: Verdana, sans-serif;
|
font-family: Verdana, sans-serif;
|
||||||
|
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
margin-top: -3px;
|
margin-top: -3px;
|
||||||
|
|
||||||
content: '\2261';
|
content: '\2261';
|
||||||
}
|
}
|
||||||
|
|
||||||
/* search magnifier icon */
|
/* search magnifier icon */
|
||||||
.search-magnifier
|
.search-magnifier {
|
||||||
{
|
|
||||||
font-family: Verdana;
|
font-family: Verdana;
|
||||||
|
color: #bbb;
|
||||||
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
-webkit-transform: rotate(-45deg);
|
-webkit-transform: rotate(-45deg);
|
||||||
-moz-transform: rotate(45deg);
|
-moz-transform: rotate(45deg);
|
||||||
-o-transform: rotate(45deg);
|
-o-transform: rotate(45deg);
|
||||||
|
|
||||||
color: #bbb;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-magnifier--flyout
|
.search-magnifier--flyout {
|
||||||
{
|
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
line-height: 54px;
|
line-height: 54px;
|
||||||
|
|
||||||
@ -316,11 +267,9 @@
|
|||||||
left: 12px;
|
left: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Flyout Menu */
|
/* Flyout Menu */
|
||||||
|
|
||||||
.flyout-menu
|
.flyout-menu {
|
||||||
{
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: -250px;
|
right: -250px;
|
||||||
|
|
||||||
@ -336,15 +285,12 @@
|
|||||||
background-color: #3e5b76;
|
background-color: #3e5b76;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* avoid zoom on search input focus for ios devices */
|
/* avoid zoom on search input focus for ios devices */
|
||||||
.flyout-menu input[type='text']
|
.flyout-menu input[type='text'] {
|
||||||
{
|
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu h3
|
.flyout-menu h3 {
|
||||||
{
|
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
line-height: 19px;
|
line-height: 19px;
|
||||||
|
|
||||||
@ -361,8 +307,7 @@
|
|||||||
background-color: #628db6;
|
background-color: #628db6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu h4
|
.flyout-menu h4 {
|
||||||
{
|
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -377,88 +322,67 @@
|
|||||||
.flyout-menu__sidebar > a,
|
.flyout-menu__sidebar > a,
|
||||||
.flyout-menu__sidebar > form,
|
.flyout-menu__sidebar > form,
|
||||||
.flyout-menu > div,
|
.flyout-menu > div,
|
||||||
.flyout-menu > form
|
.flyout-menu > form {
|
||||||
{
|
|
||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu .flyout-menu__avatar
|
.flyout-menu .flyout-menu__avatar {
|
||||||
{
|
|
||||||
margin-top: -1px; /* move avatar up 1px */
|
margin-top: -1px; /* move avatar up 1px */
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu__sidebar > form
|
.flyout-menu__sidebar > form {
|
||||||
{
|
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu__sidebar > form h3
|
.flyout-menu__sidebar > form h3 {
|
||||||
{
|
|
||||||
margin-left: -8px;
|
margin-left: -8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu__sidebar > form label
|
.flyout-menu__sidebar > form label {
|
||||||
{
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
||||||
margin: 8px 0;
|
margin: 8px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu__sidebar > form br br
|
.flyout-menu__sidebar > form br br {
|
||||||
{
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Targets list containing checkboxes (e.g. activities sidebar) in flyout menu */
|
/* Targets list containing checkboxes (e.g. activities sidebar) in flyout menu */
|
||||||
.flyout-menu__sidebar form > ul
|
.flyout-menu__sidebar form > ul {
|
||||||
{
|
|
||||||
margin-left: -8px;
|
margin-left: -8px;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu__sidebar form > ul li
|
.flyout-menu__sidebar form > ul li {
|
||||||
{
|
|
||||||
line-height: 39px;
|
line-height: 39px;
|
||||||
|
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
|
|
||||||
border-top: 1px solid rgba(255,255,255,.1);
|
border-top: 1px solid rgba(255,255,255,.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu__sidebar form > ul li:first-child
|
.flyout-menu__sidebar form > ul li:first-child {
|
||||||
{
|
|
||||||
border-top: none;
|
border-top: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu__sidebar form > ul li label
|
.flyout-menu__sidebar form > ul li label {
|
||||||
{
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu__sidebar form > ul li label a
|
.flyout-menu__sidebar form > ul li label a {
|
||||||
{
|
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
|
||||||
display: inline;
|
display: inline;
|
||||||
|
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
|
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu ul
|
.flyout-menu ul {
|
||||||
{
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu #watchers
|
.flyout-menu #watchers {
|
||||||
{
|
|
||||||
display: -webkit-flex;
|
display: -webkit-flex;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
@ -471,21 +395,18 @@
|
|||||||
-webkit-box-direction: normal;
|
-webkit-box-direction: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu #watchers .contextual
|
.flyout-menu #watchers .contextual {
|
||||||
{
|
|
||||||
-webkit-box-ordinal-group: 4;
|
-webkit-box-ordinal-group: 4;
|
||||||
-webkit-order: 3;
|
-webkit-order: 3;
|
||||||
-ms-flex-order: 3;
|
-ms-flex-order: 3;
|
||||||
order: 3;
|
order: 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu #watchers h3
|
.flyout-menu #watchers h3 {
|
||||||
{
|
|
||||||
margin-left: -8px;
|
margin-left: -8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu #watchers ul li
|
.flyout-menu #watchers ul li {
|
||||||
{
|
|
||||||
display: -webkit-flex;
|
display: -webkit-flex;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
@ -502,58 +423,44 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu ul li a
|
.flyout-menu ul li a {
|
||||||
{
|
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
|
|
||||||
display: block;
|
display: block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|
||||||
border-top: 1px solid rgba(255,255,255,.1);
|
border-top: 1px solid rgba(255,255,255,.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu ul li:first-child a
|
.flyout-menu ul li:first-child a {
|
||||||
{
|
|
||||||
line-height: 39px;
|
line-height: 39px;
|
||||||
|
|
||||||
height: 39px;
|
height: 39px;
|
||||||
|
|
||||||
border-top: none;
|
border-top: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu a
|
.flyout-menu a {
|
||||||
{
|
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu ul li a:hover
|
.flyout-menu ul li a:hover {
|
||||||
{
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu ul li a.new-object,
|
.flyout-menu ul li a.new-object,
|
||||||
.new-object ~ .menu-children
|
.new-object ~ .menu-children {
|
||||||
{
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Left flyout search container */
|
/* Left flyout search container */
|
||||||
.flyout-menu__search
|
.flyout-menu__search {
|
||||||
{
|
|
||||||
line-height: 54px;
|
line-height: 54px;
|
||||||
|
|
||||||
height: 64px;
|
height: 64px;
|
||||||
padding-top: 3px;
|
padding-top: 3px;
|
||||||
padding-right: 8px;
|
padding-right: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu__search input[type='text']
|
.flyout-menu__search input[type='text'] {
|
||||||
{
|
|
||||||
line-height: 2;
|
line-height: 2;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -568,93 +475,67 @@
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu__avatar
|
.flyout-menu__avatar {
|
||||||
{
|
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -webkit-flex;
|
display: -webkit-flex;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
border-top: 1px solid rgba(255,255,255,.1);
|
border-top: 1px solid rgba(255,255,255,.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.flyout-menu__avatar img.gravatar {
|
||||||
.flyout-menu__avatar img.gravatar
|
|
||||||
{
|
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
|
||||||
border-width: 0;
|
border-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu__avatar a
|
.flyout-menu__avatar a {
|
||||||
{
|
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
|
|
||||||
height: auto;
|
height: auto;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* avatar */
|
/* avatar */
|
||||||
.flyout-menu__avatar a:first-child
|
.flyout-menu__avatar a:first-child {
|
||||||
{
|
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
|
|
||||||
width: 40px;
|
width: 40px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu__avatar .user
|
.flyout-menu__avatar .user {
|
||||||
{
|
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* user link when no avatar is present */
|
/* user link when no avatar is present */
|
||||||
.flyout-menu__avatar--no-avatar a.user
|
.flyout-menu__avatar--no-avatar a.user {
|
||||||
{
|
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
|
|
||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.flyout-is-active body {
|
||||||
.flyout-is-active body
|
|
||||||
{
|
|
||||||
overflow: hidden; /* for body not to have scrollbars when left flyout menu is active */
|
overflow: hidden; /* for body not to have scrollbars when left flyout menu is active */
|
||||||
}
|
}
|
||||||
|
|
||||||
html.flyout-is-active
|
html.flyout-is-active {
|
||||||
{
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.flyout-is-active #wrapper {
|
||||||
.flyout-is-active #wrapper
|
|
||||||
{
|
|
||||||
right: 250px; /* when left flyout is active, move body to the right (same amount like flyout-menu's width) */
|
right: 250px; /* when left flyout is active, move body to the right (same amount like flyout-menu's width) */
|
||||||
|
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-is-active .mobile-toggle-button:after
|
.flyout-is-active .mobile-toggle-button:after {
|
||||||
{
|
|
||||||
content: '\00D7'; /* close glyph */
|
content: '\00D7'; /* close glyph */
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-is-active #wrapper2
|
.flyout-is-active #wrapper2 {
|
||||||
{
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* only relevant for devices with cursor when flyout it active, in order to show,
|
* only relevant for devices with cursor when flyout it active, in order to show,
|
||||||
* that whole wrapper content is clickable and closes flyout menu
|
* that whole wrapper content is clickable and closes flyout menu
|
||||||
@ -662,25 +543,19 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#admin-menu {
|
||||||
#admin-menu
|
|
||||||
{
|
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#admin-menu li
|
#admin-menu li {
|
||||||
{
|
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#admin-menu a,
|
#admin-menu a,
|
||||||
#admin-menu a.selected
|
#admin-menu a.selected {
|
||||||
{
|
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
|
|
||||||
padding: 0;
|
padding: 0;
|
||||||
padding-left: 32px !important;
|
padding-left: 32px !important;
|
||||||
|
|
||||||
background-position: 8px 50%;
|
background-position: 8px 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -693,20 +568,16 @@
|
|||||||
|
|
||||||
/* Contextual Buttons */
|
/* Contextual Buttons */
|
||||||
|
|
||||||
#content>.contextual
|
#content>.contextual {
|
||||||
{
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: .5em;
|
margin-bottom: .5em;
|
||||||
padding-left: 0; /* reset left padding in order to use whole space */
|
padding-left: 0; /* reset left padding in order to use whole space */
|
||||||
|
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
|
|
||||||
color: transparent;
|
color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content>.contextual a,
|
#content>.contextual a,
|
||||||
p.buttons a
|
p.buttons a {
|
||||||
{
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -723,13 +594,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#content>.contextual a.icon,
|
#content>.contextual a.icon,
|
||||||
p.buttons a.icon
|
p.buttons a.icon {
|
||||||
{
|
|
||||||
padding-left: 25px;
|
padding-left: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu .contextual
|
.flyout-menu .contextual {
|
||||||
{
|
|
||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -740,14 +609,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* jquery ui dialogs */
|
/* jquery ui dialogs */
|
||||||
.ui-dialog
|
.ui-dialog {
|
||||||
{
|
|
||||||
max-width: 98%;
|
max-width: 98%;
|
||||||
margin: 1%;
|
margin: 1%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-dialog .ui-dialog-content
|
.ui-dialog .ui-dialog-content {
|
||||||
{
|
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
@ -761,26 +628,23 @@
|
|||||||
|
|
||||||
/* page /login */
|
/* page /login */
|
||||||
|
|
||||||
#login-form table
|
#login-form table {
|
||||||
{
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#login-form input#username,
|
#login-form input#username,
|
||||||
#login-form input#password,
|
#login-form input#password,
|
||||||
#login-form input#openid_url
|
#login-form input#openid_url {
|
||||||
{
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* some themes add a margin to login page, remove it on mobile */
|
/* some themes add a margin to login page, remove it on mobile */
|
||||||
.action-login #main
|
.action-login #main {
|
||||||
{
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#activity dl, #search-results { margin-left: 0; }
|
div#activity dl, #search-results {margin-left: 0;}
|
||||||
|
|
||||||
.version-overview table.progress {width:75%;}
|
.version-overview table.progress {width:75%;}
|
||||||
div#version-summary {float:none; width:100%; margin-left:0;}
|
div#version-summary {float:none; width:100%; margin-left:0;}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user