Fraenkiman 65bf9dd052 Cumulative
- Support plugin shows timezone if possible
- PHP information in php.net style
2024-04-04 23:11:32 +02:00

614 lines
13 KiB
CSS

/*
===================
Leggero CSS Styles
===================
Name: Leggero v2
Author: NoWhereMan, Drudo, Marc Thibeault, liquibyte and Frankiman
Version: 1.0
Module: admin.css
*/
@import url('common.css');
@import url('globals.css');
/* ===== VARIOUS ===== */
.buttonbar input {
box-shadow: none !IMPORTANT;
background: #bdbdbd url('../imgs/buttonsh.png') repeat-x
}
.buttonbar input:hover {
background: #d3d3d3 url('../imgs/buttonsh2.png') repeat-x
}
/* ===== HEADERS TAGS ===== */
h1,
h2 { margin: auto }
h2 { border-bottom: 1px solid #ddd; margin: 0.5em 0 }
h3 { margin: 0.5em 0 0 0 }
.head-link { font-size: 1em }
/* === Redefines some stuff in inline mode === */
body#inline-body { background: white }
#body-container {
text-align: left;
font-size: 0.85em;
margin: 0 auto 0 auto;
background-color: rgba(255,255,255,1);
border-radius: 12px
}
/* ===== Smartphone and Tablet ===== */
@media (max-width: 1920px) { /* prevents too large font size on mobile devices */
#body-container {
-webkit-text-size-adjust: none;
-moz-text-size-adjust: none;
text-size-adjust: none
}
@media (max-width: 768px) { /* and stretch to the complete width on small devices */
body { margin: 0 0 0 0; background: #eee }
#body-container {
padding: unset;
padding-top: 5px;
min-width: 100%;
border-radius: unset
}
}
}
/* === Conflict with inner h1 === */
#admin-content h1 { color: black }
/* DIV CONTAINER ALL ADMIN DIV BLOCK */
#cpmain { padding: 10px }
/* ===== SMALL NAVBAR (home and logout links) ===== */
ul#admin-small-nav {
font-size: 80%;
float: right;
list-style-type: none
}
ul#admin-small-nav li { display: inline; margin: 5px }
/* ===== TAB MENU ===== */
ul#admin-tabmenu {
margin: 1em 0 0 0;
padding: .5em;
background: #000;
border-radius: 5px
}
ul#admin-tabmenu li {
display: inline;
font-size: 85%;
font-weight: normal;
text-decoration: none
}
ul#admin-tabmenu li a {
color: #fff;
line-height: 2em;
font-weight: normal;
text-decoration: none;
padding: 0.5em;
margin: .1em
}
ul#admin-tabmenu li a.admin-tab-current,
ul#admin-tabmenu li a:hover {
color: black;
font-weight: normal;
background-color: #ddd;
-moz-border-radius: 2px;
border-radius: 2px
}
ul#admin-tabmenu li a.admin-tab-current { font-weight: bold }
/* ===== submenu ====== */
#admin-submenu {
background: #e6e6e6;
padding: 0.5em;
width: 95%;
max-width: fit-content;
display: inline-block;
border-radius: 0 0 5px 5px;
position: relative;
left: 5px
}
#admin-submenu li { display: inline; font-size: 80% }
#admin-submenu li a {
padding: 0 1em ;
color: #000;
margin: 0.1em;
font-weight: normal
}
#admin-submenu li a:hover,
#admin-submenu li a.active {
color: #eee;
background: #555;
padding: .3em 1em .3em;
-moz-border-radius: 3px;
border-radius: 3px;
text-decoration: none
}
#admin-submenu li a.active { font-weight: bold }
/* ===== MAIN MENU ITEM ===== */
#admin-content { padding: 1em }
.admin-mainmenu-item {
display: block;
padding: 1em;
clear: both
}
.admin-mainmenu-item img { padding-right: 1em }
.admin-mainmenu-item .admin-icon-descr { font-size: 80%; font-style: italic }
/* ===== ADMIN ENTRY ===== */
input#subject {
width: 99%;
font-size: 1.3em;
color: #333333;
font-weight: bold
}
#admin-entry-categories ul {
display:block;
list-style-type: none;
margin-right: 10px;
padding-left: 1em
}
#admin-bbcode-toolbar { display: table }
#admin-bbcode-toolbar p {
display: table-cell;
vertical-align: middle;
line-height: 1em
}
#admin-bbcode-toolbar p img { vertical-align: middle; cursor: pointer }
#admin-bbcode-toolbar select { width: 10em }
#admin-content table { width: 100%; margin-bottom: 2em }
#admin-content td {
font-size: 0.8em;
/*
with display:block on the main-cell link, let's disable this
padding: .9em;
*/
background: #e6e6e6;
text-align: center
}
#admin-content .enabled td { background: inherit }
#admin-content td.main-cell { width: 30%; text-align: left }
#admin-content th {
font-size: 0.75em;
font-style: italic;
background: #ccc;
text-align: center;
padding: 8px
}
#admin-content tr:first-child th:last-child { border-top-right-radius: 5px }
#admin-content tr:first-child th:first-child { border-top-left-radius: 5px }
#admin-content tr:last-child td:last-child { border-bottom-right-radius: 5px }
#admin-content tr:last-child td:first-child { border-bottom-left-radius: 5px }
input.maxsize, select.maxsize { width: 99% }
#admin-bbcode-toolbar {
margin: 0;
padding: 0;
padding-right: 0.7%;
border: none
}
#admin-bbcode-toolbar legend { display: none }
#admin-content ul,
#admin-content ol { margin-left: 2em }
#admin-entry-uploader iframe {
border: none;
width: 99%;
margin: auto;
height: 11em
}
.admin-entry-commentlist td ,
.admin-widgets-blockparser td ,
.admin-plugin-default td { padding: 1em .6em }
#admin-drafts {
border-radius: 5px;
margin-top: 0.5em;
padding: .4em;
color: #555;
background-color: #ddd;
overflow: auto
}
#admin-drafts p {
font-weight: bold;
float: left;
padding: 0;
margin: 0
}
#admin-content #admin-drafts ul { margin: 0; padding: 0 }
#admin-drafts li {
float:left;
list-style-position: inside;
margin: 0; padding-left: 1em
}
/* ===== PREVIEW SETTINGS ===== */
#post-preview { min-width: 28em }
#post-preview .entry { padding: 2em; max-height: 20em; overflow: auto }
#post-preview div.entry h2 {
font-family: sans-serif;
border-bottom: none;
margin: 0.83em 0
}
#post-preview div.entry h4 { margin: 2em 0 0 0 }
.entry-footer { margin: 2em 0 0.5em 0; text-align: right }
/* ===== UPLOAD PANEL ===== */
#admin-uploader-filelist { margin: 1em auto }
#admin-uploader-thumbs { list-style-type: none }
#admin-uploader-thumbs li.thumb {
float:left;
width: 110px;
height: 110px;
padding: 1em 4px;
margin: 1em
}
input[type=file]::file-selector-button { cursor: pointer }
table.plugin_gallerycaptions_captionstable tr:first-child td:first-child { border-top-left-radius: 5px }
table.plugin_gallerycaptions_captionstable tr:first-child td:last-child { border-top-right-radius: 5px }
table.plugin_gallerycaptions_captionstable img { border-radius: 3px }
/* (applies only to the inline version */
#upload { margin-top: .5em }
/* ===== THEME PANEL ===== */
#current-theme h5,
#available-themes h5 { font-size: 1em }
#current-theme { margin-bottom: 4em; overflow:hidden }
#current-theme img {
float:left;
border: 1px solid #ddd;
margin-right: 2em;
border-radius: 3px
}
#available-themes { clear: both }
#available-themes img { border: 1px solid #eee; border-radius: 3px }
#available-themes ul { list-style-type: none }
#available-themes ul li {
float:left;
padding: 1em;
border: 1px solid #fff;
text-align: center;
width: 300px;
border-radius: 3px
}
#available-themes ul li:hover {
background: #eee;
border: 1px solid #ddd
}
/* ===== WIDGET PANEL ====== */
#admin-widgetset-list { width: 30em; max-width: 55% }
#admin-widgetset-list ul {
list-style-type: none;
margin: 0;
margin-bottom: 2em;
text-align: left
}
li.admin-widgetset {
padding: .5em;
margin-bottom: 2em;
border: 1px solid #ddd;
border-radius: 3px
}
#available-widgets {
font-size: 80%;
float: right;
border: 1px solid #ddd;
background: #eee;
padding: 1em;
width: 30%;
min-width: 20em;
z-index: 1000;
position: relative;
text-align: left;
border-radius: 3px
}
.widgetset-name { border-radius: 2px }
#widget-trashcan { /* colors for trashcan/uninstall widgets while dragging */
background-color: rgba(170, 34, 34, 0.7);
color: #ddd;
font-size: 120%;
font-weight: bold;
padding: 2em;
text-align: center;
border: 2px solid #f00;
margin: 2em;
border-radius: 2px
}
.widget-available { /* colors for available widgets while dragging */
cursor: move;
color: #fff;
background-color: rgba(34, 102, 0, 0.7);
border: 2px solid #2f0;
z-index: 2000
}
.widget-installed { /* colors for installed widgets while dragging */
cursor: move;
color: #fff;
background-color: rgba(0, 34, 102, 0.7);
border: 2px solid #00f;
z-index: 2000
}
#available-widgets ul,
.admin-widgetset ul { padding-left: 0; margin-left: 0 }
li.widget-instance,
li.widget-class {
cursor: move;
border: 1px solid #bbb;
margin: 2px;
padding: .5em;
height: 30px;
background-color: white;
list-style-type: none;
border-radius: 2px
}
.admin-widgetset h3 {
margin-bottom: 1em;
padding: .3em;
background: #eee;
border: 1px solid #ddd
}
#available-widgets h2 {
cursor: move;
color: white;
margin-bottom:1em;
padding: .3em;
border: 1px solid #eee;
background: #999;
border-radius: 2px
}
.widget-instance .textinput {
padding: .4em;
background: transparent;
font-weight: bold;
font-style: oblique;
color: blue;
border: #fff 2px solid;
text-align: right
}
.widget-instance .textinput:hover {
border: #d00 2px solid;
background-color:white
}
.widget-instance .textinput:focus {
font-style: normal;
border: #f00 2px solid;
background-color:white;
text-align: left
}
.widgetname a,
.widgetname a:link,
.widgetname a:visited { color: #ddd }
.widget-placeholder {
padding: .5em;
font-style: oblique;
text-align: center;
border: 1px dashed #ddd
}
.widget-dragger {
text-align: left;
z-index: 1000;
padding: .5em;
height: 30px !important
}
/* ===== CONFIG PANEL ===== */
.option-set,
.option-list { margin-bottom: 3em }
.option-set dd {
margin-left: 38%;
bottom: 1.75em;
line-height: 1.5em;
position: relative
}
.option-set dd p { margin: 0 }
.option-set dd p.text { display: inline; vertical-align: middle }
.option-list dd label {
position: relative;
vertical-align: middle;
display: flex
}
.option-list dd code { position: relative; font-size: 0.98em }
.option-set dt {
width: 36%;
text-align:right;
margin-top: 0.5em;
line-height: 1.5em;
font-weight: bold
}
.option-set dt label { bottom: 0.25em; position: relative }
.textinput,
.bigtextinput,
.smalltextinput { padding: 0.2em }
.textinput:focus,
.bigtextinput:focus,
.smalltextinput:focus { font-weight: bold }
.widetextinput {
width: 99%;
font-size: 1.3em;
color: #333333
}
.option-set input.textinput ,
.option-set select.textinput { width: 20em; margin-top: -2px }
.option-set input.bigtextinput { width: 26em }
.option-set input.smalltextinput { width: 5em }
/* ===== SPECIAL HOVERS ====== */
a.link-disable,
a.link-delete,
a.link-enable,
a.link-general { padding: .9em; border-radius: 2px }
td.main-cell a.link-general { display:block }
a.link-disable:hover, a.link-delete:hover {
background-color: red;
color: white
}
a.link-enable:hover {
background-color: green;
color: white
}
a.link-general:hover, .main-cell a:hover {
background-color: #aaa;
color: black
}
/* ===== NOTIFICATIONS ===== */
.hint { cursor: help }
.draft { background-color: #333 }
/* (already defined in common, here we put just some tuning settings) */
#admin-content ul.msgs { margin: 0.5em 0 0.5em 0 }
#admin-content big,
#admin-content code { font-size: 0.98em }
#footer { color: black }
form { margin: auto }
/* ===== PHP Info ===== */
/* unset Leggero -style */
#phpinfo, #phpinfo h1, #phpinfo h2, #phpinfo tr, #phpinfo td, #phpinfo .e, #phpinfo .h, #phpinfo .v { margin: unset; text-align: unset; letter-spacing: unset; background: unset; font-family: unset }
#phpinfo h2 { border-bottom: unset }
#phpinfo tr:last-child td:first-child { border-bottom-left-radius: unset }
#phpinfo tr:last-child td:last-child { border-bottom-right-radius: unset }
#phpinfo tr:first-child th:first-child { border-top-left-radius: unset }
#phpinfo tr:first-child th:last-child { border-top-right-radius: unset }
/* set phpinfo()/ php.net -style */
#phpinfo, #phpinfo h2, #phpinfo h2 a { font-family: sans-serif; font-size: 16px }
#phpinfo body { background-color: #fff; color: #222; font-family: sans-serif }
#phpinfo pre { margin: 0; font-family: monospace }
#phpinfo a:link { color: #009; text-decoration: none; background-color: #fff }
#phpinfo a:hover { text-decoration: underline }
#phpinfo table { border-collapse: collapse; border: 0; width: 100%; box-shadow: 1px 2px 3px #ccc }
#phpinfo .center { text-align: center }
#phpinfo .center table { margin: 1em auto; text-align: left }
#phpinfo .center th { text-align: center !IMPORTANT }
#phpinfo td, #phpinfo th { border: 1px solid #666; font-size: 75%; vertical-align: baseline; padding: 4px 5px }
#phpinfo th { position: sticky; top: 0; background: inherit }
#phpinfo h1 { font-size: 150% }
#phpinfo h2 { font-size: 125% }
#phpinfo .p { text-align: left }
#phpinfo .e { background-color: #ccf; width: 33.33%; font-weight: bold }
#phpinfo .h { background-color: #99c; font-weight: bold }
#phpinfo .v { background-color: #ddd; max-width: 33.33%; overflow-x: auto; word-wrap: break-word }
#phpinfo .v i { color: #999 }
#phpinfo img { float: right; border: 0 }
#phpinfo hr { width: 100%; background-color: #ccc; border: 0; height: 1px }