1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-18 23:14:41 +01:00
php-phpbb/phpBB/adm/style/admin.css

1079 lines
18 KiB
CSS

/* phpBB 3.0 Admin Style Sheet
------------------------------------------------------------------------
Original author: subBlue ( http://www.subBlue.com/ )
Copyright 2006 phpBB Group ( http://www.phpbb.com/ )
------------------------------------------------------------------------
*/
/* General markup styles
---------------------------------------- */
* {
/* Reset browsers default margin, padding and font sizes */
margin: 0;
padding: 0;
}
html {
font-size: 100%;
height: 100%;
margin-bottom: 1px;
background-color: #E4EDF0;
}
body {
/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
font-family: Verdana, Helvetica, Arial, sans-serif;
color: #536482;
background: #E4EDF0 url("../images/bg_header.gif") 0 0 repeat-x;
font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */
margin: 0;
}
img {
border: 0;
}
h1 {
font: bold 1.8em 'Trebuchet MS', Verdana, sans-serif;
text-decoration: none;
color: #333333;
}
h2, caption {
font: bold 1.2em Arial, Helvetica, sans-serif;
text-decoration: none;
line-height: 120%;
text-align: left;
margin-top: 25px;
}
p {
margin-bottom: 0.7em;
line-height: 1.4em;
font-size: 1.1em;
}
ul {
list-style: disc;
margin-left: 2em;
margin-bottom: 1em;
}
hr {
border: 0 none;
border-top: 1px solid #999999;
margin-bottom: 5px;
padding-bottom: 5px;
height: 1px;
}
.small {
font-size: 1em;
}
/* General links */
a:link, a:active, a:visited {
color: #006699;
text-decoration: none;
}
a:hover {
color: #DD6900;
text-decoration: underline;
}
/* Main blocks
---------------------------------------- */
#wrap {
padding: 0 20px 15px 20px;
min-width: 615px;
}
#page-header {
text-align: right;
background: url("../images/phpbb_logo.gif") 0 0 no-repeat;
height: 84px;
}
#page-header h1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 1.5em;
font-weight: normal;
padding-top: 15px;
}
#page-header p {
font-size: 1.1em;
}
#page-body {
clear: both;
}
#page-footer {
clear: both;
font-size: 1em;
text-align: center;
}
#content {
padding: 30px 10px 10px 10px;
}
#content h1 {
line-height: 1.2em;
margin-bottom: 0px;
}
#main {
float:left;
width: 76%;
margin-left: 3%;
min-height: 350px;
}
* html #main {
height: 350px;
}
/* Tabbed menu
Based on: http://www.alistapart.com/articles/slidingdoors2/
----------------------------------------*/
#tabs {
line-height: normal;
margin: 0 0 -6px 7px;
min-width: 570px;
}
#tabs ul {
margin:0;
padding: 0;
list-style: none;
}
#tabs li {
display: inline;
margin: 0;
padding: 0;
font-size: 1em;
font-weight: bold;
}
#tabs a {
float:left;
background:url("../images/bg_tabs1.gif") no-repeat 0% -35px;
margin: 0 1px 0 0;
padding: 0 0 0 6px;
text-decoration: none;
position: relative;
}
#tabs a span {
float: left;
display: block;
background: url("../images/bg_tabs2.gif") no-repeat 100% -35px;
padding: 7px 12px 6px 6px;
color: #536482;
white-space: nowrap;
text-transform: uppercase;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#tabs a span { float:none; }
/* End hack */
#tabs a:hover span {
color: #DD6900;
}
#tabs #activetab a {
background-position: 0 0px;
border-bottom: 1px solid #FFFFFF;
}
#tabs #activetab a span {
background-position: 100% 0px;
padding-bottom: 7px;
color: #333333;
}
#tabs a:hover {
background-position: 0 -70px;
}
#tabs a:hover span {
background-position:100% -70px;
}
#tabs #activetab a:hover span {
color: #333333;
}
/* Main Panel
---------------------------------------- */
.panel {
margin: 4px 0;
background-color: #FFFFFF;
border: solid 1px #A9B8C2;
}
span.corners-top, span.corners-bottom,
span.corners-top span, span.corners-bottom span {
display: none;
}
/* Sub-navigation Menu
---------------------------------------- */
#menu {
float: left;
width: 20%;
font-size: 100%;
padding: 0;
}
#menu p {
font-size: 1em;
}
#menu ul {
list-style: none;
margin: 0;
}
/* Default list state */
#menu li {
font-size: 1em;
font-weight: bold;
display: inline;
}
/* Link styles for the sub-section links */
#menu li span {
display: block;
padding: 3px 2px 3px 10px;
text-decoration: none;
font-weight: normal;
color: #006699;
font-weight: bold;
background-color: #ECECEC;
border-top: 1px solid #FFFFFF;
}
#menu li a:hover span, #menu li#activemenu span, #menu li a:hover {
text-decoration: none;
background-color: #FFA34F;
color: #FFFFFF;
}
#menu li span.completed {
text-decoration: none;
background-color: #B9DBB3;
color: #006699;
}
#menu li.header {
display: block;
padding: 5px;
font-size: 0.9em;
font-family: Verdana;
color: #FFA34F;
font-weight: bold;
background: #006699 url("../images/cellpic3.gif") 0 0 repeat-x;
margin-top: 5px;
text-transform: uppercase;
}
#menu li#activemenu a span {
text-decoration: none;
font-weight: bold;
color: #000;
background-color: #DADFE4;
}
#menu li#activemenu a:hover span {
text-decoration: none;
color: #000;
}
/* Table styles
---------------------------------------- */
table {
width: 100%;
/*background-color: #ACBBC6;*/
}
th, td {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 1.1em;
text-align: left;
}
th {
padding: 6px 4px;
color: #FFA34F;
font-weight: bold;
background: #006699 url("../images/cellpic3.gif") 0 0 repeat-x;
}
td {
padding: 4px;
line-height: 1.2em;
}
.row1 { background-color: #EFEFEF; }
.row2 { background-color: #DEE3E7; }
.row3 { background-color: #D1D7DC; }
.row4 { background-color: #E4E8EB; }
.col1 { background-color: #DEE3E7; }
.col2 { background-color: #EFEFEF; }
.spacer {
background-color: #D1D7DC;
height: 1px;
line-height: 1px;
}
table.type2 {
border: none;
background: none;
padding: 0;
width: 0;
}
table.type2 th {
background: none;
border-top: none;
text-align: center;
color: #FFA34F;
padding: 2px 0;
}
table.type2 td {
padding: 0;
}
/* General form styles
----------------------------------------*/
fieldset {
margin: 15px 0;
padding: 10px;
border-right: 1px solid #AFAEAA;
border-bottom: 1px solid #AFAEAA;
border-left: 1px solid #D5D5C8;
border-top: 1px solid #D5D5C8;
background-color: #ECECEC;
position: relative;
}
* html fieldset {
padding: 0 10px 5px 10px;
}
fieldset p {
font-size: 1.1em;
}
legend {
padding: 1px 0;
font-family: arial,Verdana,Sans-serif;
font-size: 1.1em;
font-weight: bold;
color: #006699;
position: relative;
text-transform: uppercase;
line-height: 100%;
top: 0em;
vertical-align:middle;
}
* html legend {
margin-bottom: -10px;
margin-left: -7px;
top: -1.2em;
}
input {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 100%;
font-weight: normal;
background-color: #FAFAFA;
border-left: 1px solid #AFAEAA;
border-top: 1px solid #AFAEAA;
border-right: 1px solid #D5D5C8;
border-bottom: 1px solid #D5D5C8;
color: #333333;
padding: 2px;
cursor: text;
vertical-align: middle;
}
select {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 100%;
font-weight: normal;
font-style: normal;
cursor: default;
vertical-align: middle;
width: auto;
border: 1px solid #666666;
padding: 1px;
background-color: #FAFAFA;
}
optgroup {
font-weight: bold;
}
option {
padding-right: 1em;
}
.sep {
color: black;
background-color: #FFA34F;
}
textarea {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 100%;
width: 60%;
padding: 2px;
background-color: #FAFAFA;
border-left: 1px solid #AFAEAA;
border-top: 1px solid #AFAEAA;
border-right: 1px solid #D5D5C8;
border-bottom: 1px solid #D5D5C8;
cursor: text;
}
label {
cursor:pointer;
font-size: 1.1em;
padding-right: 5px;
}
label input {
font-size: 100%;
vertical-align: middle;
}
label img {
vertical-align: middle;
}
fieldset.quick, p.quick {
margin: 0 0 5px 0;
padding: 5px 0 0 0;
border: none;
background-color: transparent;
text-align: right;
font-size: 1.1em;
}
fieldset.quick legend {
display: none;
}
fieldset.tabulated {
background-color: #DADFE4;
}
fieldset.nobg {
margin: 15px 0 0 0;
padding: 0;
border: none;
background-color: transparent;
font-size: 1.1em;
}
fieldset.display-options {
margin: 15px 0 2px 0;
padding: 0 0 4px 0;
border: none;
background-color: transparent;
text-align: center;
font-size: 1.1em;
}
fieldset.display-options select, fieldset.display-options input, fieldset.display-options label {
font-size: 100%;
vertical-align: middle;
}
select option.disabled {
background-color: #bbb;
color: #fff;
}
/* Special case inputs */
select#board_timezone,
select#full_folder_action {
width: 95%;
}
/* Definition list layout for forms
Other general def. list properties defined in prosilver_main.css
---------------------------------------- */
dl {
font-family: Verdana, Helvetica, Arial, sans-serif;
}
dt {
float: left;
width: auto;
}
dd { color: #000; }
dd + dd { padding-top: 5px; }
dt span { padding-right: 5px; }
dt .explain { font-style: italic; }
dt label {
font-size: 100%;
text-align: left;
font-weight: bold;
}
dd label {
white-space: nowrap;
margin-right: 10px;
}
html>body dd label input { vertical-align: text-bottom; } /* Tweak for Moz to align checkboxes/radio buttons nicely */
dd input,
dd select {
max-width: 100%;
}
dd textarea {
width: 100%;
}
input.radio {
width: auto !important;
background-color: transparent;
border: none;
cursor: default;
}
dd select {
width: auto;
font-size: 100%;
}
fieldset dl {
margin-bottom: 10px;
font-size: 1.1em;
}
fieldset dt {
width: 45%;
text-align: left;
border-right: 1px solid #CCC;
padding-top: 3px;
}
fieldset dd {
margin-left: 45%;
padding-left: 5px;
border-left: 1px solid #CCC;
vertical-align: top;
}
dd.full {
margin-left: 0;
border: 0;
padding-left: 0;
padding-top: 3px;
text-align: center;
width: 95%;
}
/* Hover highlights for form rows */
fieldset dl:hover dt label {
color: #000000;
}
input:focus, textarea:focus {
color: #000000;
}
/* Submit button fieldset or paragraph
---------------------------------------- */
fieldset.submit-buttons {
text-align: center;
background-color: #DADFE4;
margin: 0;
padding: 4px;
margin-top: -1px;
}
p.submit-buttons {
text-align: center;
margin: 0;
padding: 4px;
margin-top: 10px;
}
fieldset.submit-buttons input, p.submit-buttons input {
padding: 3px 2px;
}
fieldset.submit-buttons legend {
display: none;
}
/* Input field styles
---------------------------------------- */
.inputbox {
border-left: 1px solid #AFAEAA;
border-top: 1px solid #AFAEAA;
border-right: 1px solid #D5D5C8;
border-bottom: 1px solid #D5D5C8;
background-color: #E3DFD8;
color: #111111;
font-size: 100%;
padding:2px;
cursor: text;
width: 75%;
}
select.inputbox {
cursor: pointer;
padding: 0;
width: auto;
}
.inputbox:hover {
border-left: 1px solid #AFAEAA;
border-top: 1px solid #AFAEAA;
border-right: 1px solid #AFAEAA;
border-bottom: 1px solid #AFAEAA;
background-color: #E9E9E2;
}
.inputbox:focus {
border: 1px solid #BC2A4D;
background-color: #E9E9E2;
color: #BC2A4D;
}
input.full,
textarea.full {
width: 99%;
}
* html input.full, * html textarea.full { width: 95%; }
input.medium { width: 50%; }
input.narrow { width: 25%; }
input.tiny { width: 10%; }
input.autowidth { width: auto !important; }
.box2 .inputbox { background-color: #E9E9E9; }
/* Pagination
---------------------------------------- */
.pagination {
height: 1%; /* IE tweak (holly hack) */
width: auto;
text-align: right;
margin-top: 5px;
font-size: 1em;
padding-bottom: 2px;
}
.pagination strong,
.pagination b {
font-weight: normal;
}
.pagination span strong {
padding: 0 2px;
margin: 0 2px;
font-weight: normal;
color: #FFFFFF;
background: #069;
border: 1px solid #069;
}
.pagination span a, .pagination span a:link, .pagination span a:visited, .pagination span a:active {
font-weight: normal;
text-decoration: none;
color: #5C758C;
margin: 0 2px;
padding: 0 2px;
background: #ECEDEE;
border: 1px solid #B4BAC0;
}
.pagination span a:hover {
border-color: #069;
background: #069;
color: #FFF;
text-decoration: none;
}
.pagination img {
vertical-align: middle;
}
/* Form button styles
---------------------------------------- */
a.button1, input.button1, input.button3,
a.button2, input.button2 {
width: auto !important;
padding: 1px 3px 0 3px;
font-family: Verdana, Helvetica, Arial, sans-serif;
color: #000;
background-color: #EFEFEF;
cursor: pointer;
}
a.button1, input.button1 {
font-weight: bold;
border: 1px solid #666666;
}
a.button2, input.button2 {
border: 1px solid #666666;
}
/* <a> button in the style of the form buttons */
a.button1, a.button1:link, a.button1:visited, a.button1:active,
a.button2, a.button2:link, a.button2:visited, a.button2:active {
text-decoration: none;
color: #000000;
padding: 4px 8px;
}
/* Permission related
---------------------------------------- */
.permissions {
margin: 15px 0 0 0;
padding: 0;
border: none;
background-color: transparent;
}
.permissions table {
width: 100%;
/*empty-cells: hide;*/
border: 1px solid #CCCFD3;
background-color: #FFFFFF;
padding: 1px;
}
.permissions th {
padding: 3px 4px;
color: #FFFFFF;
background: #DDE1E4 url("../images/gradient2b.gif") bottom left repeat-x;
border-top: 1px solid #6DACD2;
border-bottom: 1px solid #327AA5;
text-align: left;
font-size: .85em;
text-transform: uppercase;
}
.permissions td {
text-align: left;
font-size: 1.1em;
padding: 4px;
line-height: 120%;
}
table.pmask {
border: none;
background: none;
padding: 0;
}
table.pmask th {
background: none;
border-top: none;
text-align: center;
vertical-align: bottom;
color: #115098;
padding: 2px 0;
}
table.pmask td {
padding: 0px;
}
table.pmask td.name {
padding: 2px;
vertical-align: middle;
}
.permissions th.name {
text-align: left;
width: auto;
padding-left: 4px;
}
.permissions .entry {
text-align: left;
font-weight: normal;
}
.permissions td.name {
text-align: left;
font-weight: bold;
}
.permissions table.type3 {
float: right;
width: 350px; /* Setting the length of the permission view box */
border: none;
background-color: transparent;
padding: 0;
}
.permissions table.type3 thead th {
background-color: transparent;
border-top: none;
text-align: center;
color: #115098;
padding: 0 3px;
font-size: .9em;
font-weight: normal;
text-transform: none;
}
.permissions table.type3 tbody th {
border-top: none;
text-align: left;
text-transform: none;
padding: 0;
border: none;
font-size: 1em;
font-weight: normal;
width: 100%;
vertical-align: middle;
}
.permissions table.type3 td {
text-align: center;
padding: 1px;
}
.permissions td.yes {
width: 20px;
background-color: #40C53D;
}
.permissions td.never {
width: 20px;
background-color: #EC7181;
}
.permissions td.no {
width: 20px;
background-color: transparent;
}
/* Preset Styles
---------------------------------------- */
.preset {
width: 60px;
}
.preset a {
float: left;
display: block;
width: 100%;
height: 20px;
cursor: pointer;
background: transparent;
}
.preset a:hover {
background: url("../images/arrow_down.gif") no-repeat 50% 50%;
text-decoration: none;
}
.preset_yes {
background: #D3F3D2 url("../images/bg_hash1.gif") repeat;
}
.preset_custom {
background: #DAE4EC url("../images/bg_hash2.gif") repeat;
}
.preset_never {
background: #ECD7DA url("../images/bg_hash3.gif") repeat;
}
.preset_no {
background: #ECD7DA url("../images/bg_hash4.gif") repeat;
}
/* Action Highlighting
---------------------------------------- */
.success {
color: #282 !important;
}
.error {
color: #BC2A4D !important;
}
.successbox, .errorbox {
padding: 10px;
margin: 20px 0;
color: #1F5B13;
text-align: center;
}
.successbox {
background-color: #B9DBB3;
}
.errorbox {
background-color: #ECD7DA;
color: #990000;
}
.successbox h3, .errorbox h3 {
font-weight: bold;
font-size: 1.4em;
margin-bottom: 0.5em;
}
.successbox p, .errorbox p {
font-size: 1.1em;
margin-bottom: 0;
}
.successbox a, .errorbox a {
font-weight: bold;
text-decoration: none;
}
/* Special cases for the error page */
#errorpage #page-header a {
font-weight: bold;
line-height: 6em;
}
#errorpage #content {
padding-top: 10px;
}
#errorpage #content h1 {
color: #DF075C;
}
#errorpage #content h2 {
margin-top: 20px;
margin-bottom: 5px;
border-bottom: 1px solid #CCCCCC;
padding-bottom: 5px;
color: #333333;
}
/* Tooltip for permission roles */
.tooltip {
width: 200px;
color: #000;
text-align: center;
}
.tooltip span.top {
background: #EFEFEF;
font-weight: bold;
}
.tooltip span.bottom {
padding: 5px;
color: #000;
background: #fff;
}
/*
Format Buttons for signature editor
*/
#format-buttons {
margin: 15px 0 2px 0;
}
#format-buttons input, #format-buttons select {
vertical-align: middle;
}
/* Nice method for clearing floated blocks without having to insert any extra markup
From http://www.positioniseverything.net/easyclearing.html */
.clearfix:after, #tabs:after, .row:after, #content:after, fieldset dl:after, #page-body:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
/* Hide from Mac IE, Windows IE uses this as it doesn't support the :after method above \*/
.clearfix, #tabs, .row, #content, fieldset dl, #page-body {
height: 1%;
}
/* End hide */
/* Syntax Highlighting
---------------------------------------- */
.sourcenum {
color: gray;
font-family: 'Courier New', monospace;
font-size: 125%;
font-weight: bold;
line-height: 120%;
text-align: right;
padding: 0px;
}
.source {
font-family: 'Courier New', monospace;
font-size: 125%;
line-height: 120%;
padding: 0px;
}
.syntaxbg {
color: #FFFFFF;
}
.syntaxcomment {
color: #FF8000;
}
.syntaxdefault {
color: #0000BB;
}
.syntaxhtml {
color: #000000;
}
.syntaxkeyword {
color: #007700;
}
.syntaxstring {
color: #DD0000;
}