chyrp后台界面的CSS
chyrp_admin.css
/* Reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td { margin: 0; padding: 0; }
table { border-collapse: collapse; border-spacing: 0; }
fieldset,img { border: 0; }
address,caption,cite,code,dfn,em,strong,th,var { font-style: normal; font-weight: normal; }
li { list-style: none; }
caption,th { text-align: left; }
h1,h2,h3,h4,h5,h6 { font-size: 100%; font-weight: normal; }
abbr,acronym { border: 0; font-variant: normal; }
input, textarea, select { font-family: inherit; font-size: inherit; font-weight: inherit; }
/* End Reset */
html {
font-size: 62.5%;
}
body {
font: 1.4em/1.5em normal "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
color: #333;
background: #eee;
margin: 0;
padding: 0;
width: 45em;
margin: 0 auto;
}
h1 {
font-size: 2.25em;
margin: 0 0 1em;
color: #aaa;
font-weight: bold;
}
h2 {
font-size: 1.5em;
margin: 0 0 .25em;
color: #666;
font-weight: bold;
}
h3 {
font-weight: bold;
font-size: 1.25em;
margin-bottom: .5em;
}
h4 {
font-weight: bold;
font-size: 1.2em;
}
label {
display: block;
font-weight: bold;
}
em {
font-style: italic;
}
strong {
font-weight: bold;
}
ul.list, ul.sort_pages {
padding: 0;
margin: 0 0 0 2em;
}
ul.list li, ul.sort_pages li {
list-style: square;
}
ul.sort_pages input {
margin-left: 2em;
}
div.sub {
margin-bottom: 1em;
}
.settings, .detail {
line-height: 2.75em;
}
.settings label {
line-height: 1em;
margin-top: .9em;
}
.detail h3 {
margin-top: 0;
line-height: 1em;
}
.settings input.text, .settings textarea {
width: 15em;
}
.settings .nowidth {
width: auto !important;
}
.settings label {
display: block;
float: left;
width: 18em;
font-weight: bold;
text-align: right;
margin-right: 1em;
}
.settings p {
clear: both;
}
small, div.small {
display: block;
line-height: 1.3em;
font-size: 1em;
margin-left: 19em;
margin-bottom: 1em;
}
input.text, textarea {
font-size: 1.25em;
padding: 3px;
border: 1px solid #ddd;
background: #fff;
}
input.text, select {
margin-bottom: .5em;
}
input.code, code {
font-family: "Consolas", "Monaco", monospace;
}
a:link, a:visited {
text-decoration: none;
color: #222;
border-bottom: 1px solid #ddd;
}
a:visited {
border-bottom-style: dotted;
}
a:hover {
color: #555;
border-bottom-color: #aaa;
}
.header {
background: #333;
padding: .5em;
color: #fff;
}
.header a.view {
float: right;
padding: .5em .75em;
background: #222;
color: #fff;
margin: -.5em;
border-left: 1px solid #202020;
border-bottom: 1px solid #202020;
}
.header h1 {
margin: 0;
padding: 0;
color: #fff;
text-shadow: #000 1px 1px 1px;
font-size: 1.25em;
}
.main-nav {
background: #292929;
border: 1px solid #252525;
height: 2em;
}
.main-nav ul {
margin: 0;
}
.main-nav li {
float: left;
}
.main-nav li a {
display: block;
padding: .25em .5em;
color: #888;
border: none;
}
.main-nav li a:hover {
color: #fff;
background: #252525;
}
.main-nav li.selected a {
background: #202020;
color: #fff;
}
.sub-nav {
margin: 2em 0 0;
padding: 0;
}
.sub-nav li {
float: left;
margin: 0 0 -1px .5em;
padding: .25em .5em;
background: #ddd;
border: 1px solid #ddd;
border-bottom: 0;
}
.sub-nav li.selected {
background: #fff;
}
.sub-nav li a {
color: #888;
border: none;
}
.sub-nav li.bookmarklet {
float: right;
border: none;
background: transparent;
font-size: .85em;
color: #999;
padding-bottom: 0;
margin-top: .25em;
}
.sub-nav li.bookmarklet a {
color: #444;
}
.content {
border: 1px solid #ddd;
background: #fff;
padding: 1em;
font-size: .8em;
}
.sub {
font-size: .9em;
color: #777;
font-weight: normal;
}
.more_options_link {
font-weight: bold;
color: #999;
border-bottom: 1px solid #ddd;
display: block;
}
.more_options_link:hover {
color: #666;
border-bottom-color: #aaa;
}
.more_options {
background: #f9f9f9;
padding: 2% 0 0 2%;
}
.more_options p {
width: 48%;
margin: 0 2% 0 0;
height: 5.5em;
float: left;
}
.more_options p input.text {
width: 96.5%;
margin: 0;
}
.center {
text-align: center;
}
.wide {
width: 100%;
}
textarea.wide, input.text.wide {
width: 98.5%; /* Compensating for the 6px added from the padding */
_width: 100%; /* Hooray for IE6's randomized box model. */
}
.clear {
clear: both;
}
.left {
float: left;
}
.right {
float: right;
}
.pad {
padding: .5em;
}
#sortHelper {
border: 1px dashed #777;
}
.margin-right {
margin-right: 1em;
}
.done {
font-size: 1.25em;
font-weight: bold;
text-decoration: none;
color: #555;
}
.success, .failure, .notice {
padding: .35em .5em .35em 26px;
margin-bottom: 1em;
font-size: 1.25em;
}
.success {
background: url('icons/success.png') no-repeat 5px center;
}
.failure {
background: url('icons/failure.png') no-repeat 5px center;
}
.notice {
background: url('icons/notice.png') no-repeat 5px center;
}
table tr.head {
background: #555;
color: #fff;
border-left: 2px solid #444;
border-top: 2px solid #444;
border-bottom: 2px solid #444;
border-right: 2px solid #444;
}
table tr.head th {
padding: .25em .5em;
border-right: 1px solid #444;
font-weight: bold;
}
table tr {
border-left: 2px solid #eee;
border-right: 2px solid #eee;
}
table tr.last {
border-bottom: 2px solid #eee;
}
table td {
padding: .25em .5em;
border-right: 1px solid #eee;
border-bottom: 1px solid #eee;
vertical-align: middle;
}
table td.main {
background: #f9f9f9;
font-weight: bold;
}
table td.center {
text-align: center;
vertical-align: middle;
}
table td a:link, table td a:visited {
border: none;
}
.legend {
width: 10px;
height: 10px;
display: block;
float: left;
margin: 4px 2px 0 0;
}
.box {
background: #f0f0f0;
border: 1px solid #ddd;
margin-bottom: 1em;
padding: 1em;
}
.box h1 {
font-size: 1.25em;
margin: 0;
}
.box .excerpt .sub {
font-size: 1em;
}
.box .excerpt .sub a:link, .box .excerpt .sub a:visited {
color: #3a3a3a;
border: none;
}
.box h1 .right a {
font-size: .8em;
font-weight: normal;
color: #333;
margin-left: 10px;
border: none;
}
.box h1 .right a img {
margin: 0 0 -4px;
}
.box .excerpt {
margin-top: 1em;
}
.footer {
margin-top: .25em;
margin-bottom: 2em;
font-size: .85em;
color: #aaa;
text-align: center;
}
/* Via ParticleTree */
a.button, button {
display: block;
float: left;
margin: 0 7px 0 0;
background-color: #f5f5f5;
border: 1px solid #dedede;
font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
font-size: 1.15em;
line-height: 130%;
text-decoration: none;
font-weight: bold;
color: #565656;
cursor: pointer;
padding: 5px 10px 6px 7px;
}
button.right, a.button.right {
float: right;
margin: 0 0 0 7px;
}
button {
width: auto;
overflow: visible;
padding: 4px 10px 3px 7px;
}
button[type] {
padding: 5px 10px 5px 7px;
line-height: 17px;
}
.detail .pad input, .detail .pad select {
float: left;
}
button.inline {
float: left;
display: inline;
padding: 3px 5px 2px;
margin-left: 2px;
position: relative;
}
*:first-child+html button[type] {
padding: 4px 10px 3px 7px;
}
button img, a.button img {
margin: 0 3px -3px 0 !important;
padding: 0;
border: none;
width: 16px;
height: 16px;
}
button:hover, a.button:hover, .notice, .depends {
background-color: #dff4ff;
border: 1px solid #c2e1ef;
color: #336699;
}
tr.draft, tr.draft td, tr.draft td.main {
background-color: #dff4ff;
border-color: #c2e1ef;
color: #336699;
}
a.button:active {
background-color: #6299c5;
border: 1px solid #6299c5;
color: #fff;
}
button.positive, a.button.positive {
color: #529214;
}
a.button.positive:hover, button.positive:hover, .success {
background-color: #E6EFC2;
border: 1px solid #C6D880;
color: #529214;
}
a.button.positive:active {
background-color: #529214;
border: 1px solid #529214;
color: #fff;
}
a.button.negative, button.negative {
color: #d12f19;
}
a.button.negative:hover, button.negative:hover, .failure, .conflict {
background: #fbe3e4;
border: 1px solid #fbc2c4;
color: #d12f19;
}
a.button.negative:active {
background-color: #d12f19;
border: 1px solid #d12f19;
color: #fff;
}
.conflict a:link, .conflict a:visited, .conflict h1 {
color: #d12f19 !important;
border-color: #d12f19 !important;
}
.depends a:link, .depends a:visited, .depends h1 {
color: #336699 !important;
border-color: #336699 !important;
}
.box.enabled .right a {
color: #529214;
}
.box.disabled .right a {
color: #d12f19;
}
.theme {
background: #f0f0f0;
border: 1px solid #ddd;
margin-bottom: 1em;
padding: 1em 1em 1.5em;
float: left;
text-align: center;
margin: 0 10px;
}
.theme a.screenshot:link, .theme a.screenshot:visited {
border: 0;
}
.theme .screenshot img {
border: 1px solid #ddd;
background: #f9f9f9;
padding: 5px;
width: 200px;
height: 150px;
}
.theme a.preview:link, .theme a.preview:visited {
float: none;
display: block;
margin: .5em auto 0;
}
.theme-enabled h3 {
border: none;
}
.theme-enabled h3 .sub a {
color: #555;
border: none;
}
.theme-enabled .screenshot {
float: left;
border: 1px solid #ddd;
background: #f9f9f9;
padding: 5px;
margin-right: 1em;
width: 200px;
height: 150px;
}
.delete blockquote {
width: 75%;
margin: 0 auto;
font-style: italic;
color: #777;
font-size: 1.25em;
padding: 1em;
}
.delete blockquote.noitalics {
font-style: normal;
}
.preview-header {
margin-bottom: .5em;
}
.preview-content {
margin-bottom: 2em;
}
.preview-content p {
margin-bottom: 1em;
}
.preview-content ul {
padding: 0 0 0 2em;
}
.preview-content ul li {
list-style: square;
}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td { margin: 0; padding: 0; }
table { border-collapse: collapse; border-spacing: 0; }
fieldset,img { border: 0; }
address,caption,cite,code,dfn,em,strong,th,var { font-style: normal; font-weight: normal; }
li { list-style: none; }
caption,th { text-align: left; }
h1,h2,h3,h4,h5,h6 { font-size: 100%; font-weight: normal; }
abbr,acronym { border: 0; font-variant: normal; }
input, textarea, select { font-family: inherit; font-size: inherit; font-weight: inherit; }
/* End Reset */
html {
font-size: 62.5%;
}
body {
font: 1.4em/1.5em normal "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
color: #333;
background: #eee;
margin: 0;
padding: 0;
width: 45em;
margin: 0 auto;
}
h1 {
font-size: 2.25em;
margin: 0 0 1em;
color: #aaa;
font-weight: bold;
}
h2 {
font-size: 1.5em;
margin: 0 0 .25em;
color: #666;
font-weight: bold;
}
h3 {
font-weight: bold;
font-size: 1.25em;
margin-bottom: .5em;
}
h4 {
font-weight: bold;
font-size: 1.2em;
}
label {
display: block;
font-weight: bold;
}
em {
font-style: italic;
}
strong {
font-weight: bold;
}
ul.list, ul.sort_pages {
padding: 0;
margin: 0 0 0 2em;
}
ul.list li, ul.sort_pages li {
list-style: square;
}
ul.sort_pages input {
margin-left: 2em;
}
div.sub {
margin-bottom: 1em;
}
.settings, .detail {
line-height: 2.75em;
}
.settings label {
line-height: 1em;
margin-top: .9em;
}
.detail h3 {
margin-top: 0;
line-height: 1em;
}
.settings input.text, .settings textarea {
width: 15em;
}
.settings .nowidth {
width: auto !important;
}
.settings label {
display: block;
float: left;
width: 18em;
font-weight: bold;
text-align: right;
margin-right: 1em;
}
.settings p {
clear: both;
}
small, div.small {
display: block;
line-height: 1.3em;
font-size: 1em;
margin-left: 19em;
margin-bottom: 1em;
}
input.text, textarea {
font-size: 1.25em;
padding: 3px;
border: 1px solid #ddd;
background: #fff;
}
input.text, select {
margin-bottom: .5em;
}
input.code, code {
font-family: "Consolas", "Monaco", monospace;
}
a:link, a:visited {
text-decoration: none;
color: #222;
border-bottom: 1px solid #ddd;
}
a:visited {
border-bottom-style: dotted;
}
a:hover {
color: #555;
border-bottom-color: #aaa;
}
.header {
background: #333;
padding: .5em;
color: #fff;
}
.header a.view {
float: right;
padding: .5em .75em;
background: #222;
color: #fff;
margin: -.5em;
border-left: 1px solid #202020;
border-bottom: 1px solid #202020;
}
.header h1 {
margin: 0;
padding: 0;
color: #fff;
text-shadow: #000 1px 1px 1px;
font-size: 1.25em;
}
.main-nav {
background: #292929;
border: 1px solid #252525;
height: 2em;
}
.main-nav ul {
margin: 0;
}
.main-nav li {
float: left;
}
.main-nav li a {
display: block;
padding: .25em .5em;
color: #888;
border: none;
}
.main-nav li a:hover {
color: #fff;
background: #252525;
}
.main-nav li.selected a {
background: #202020;
color: #fff;
}
.sub-nav {
margin: 2em 0 0;
padding: 0;
}
.sub-nav li {
float: left;
margin: 0 0 -1px .5em;
padding: .25em .5em;
background: #ddd;
border: 1px solid #ddd;
border-bottom: 0;
}
.sub-nav li.selected {
background: #fff;
}
.sub-nav li a {
color: #888;
border: none;
}
.sub-nav li.bookmarklet {
float: right;
border: none;
background: transparent;
font-size: .85em;
color: #999;
padding-bottom: 0;
margin-top: .25em;
}
.sub-nav li.bookmarklet a {
color: #444;
}
.content {
border: 1px solid #ddd;
background: #fff;
padding: 1em;
font-size: .8em;
}
.sub {
font-size: .9em;
color: #777;
font-weight: normal;
}
.more_options_link {
font-weight: bold;
color: #999;
border-bottom: 1px solid #ddd;
display: block;
}
.more_options_link:hover {
color: #666;
border-bottom-color: #aaa;
}
.more_options {
background: #f9f9f9;
padding: 2% 0 0 2%;
}
.more_options p {
width: 48%;
margin: 0 2% 0 0;
height: 5.5em;
float: left;
}
.more_options p input.text {
width: 96.5%;
margin: 0;
}
.center {
text-align: center;
}
.wide {
width: 100%;
}
textarea.wide, input.text.wide {
width: 98.5%; /* Compensating for the 6px added from the padding */
_width: 100%; /* Hooray for IE6's randomized box model. */
}
.clear {
clear: both;
}
.left {
float: left;
}
.right {
float: right;
}
.pad {
padding: .5em;
}
#sortHelper {
border: 1px dashed #777;
}
.margin-right {
margin-right: 1em;
}
.done {
font-size: 1.25em;
font-weight: bold;
text-decoration: none;
color: #555;
}
.success, .failure, .notice {
padding: .35em .5em .35em 26px;
margin-bottom: 1em;
font-size: 1.25em;
}
.success {
background: url('icons/success.png') no-repeat 5px center;
}
.failure {
background: url('icons/failure.png') no-repeat 5px center;
}
.notice {
background: url('icons/notice.png') no-repeat 5px center;
}
table tr.head {
background: #555;
color: #fff;
border-left: 2px solid #444;
border-top: 2px solid #444;
border-bottom: 2px solid #444;
border-right: 2px solid #444;
}
table tr.head th {
padding: .25em .5em;
border-right: 1px solid #444;
font-weight: bold;
}
table tr {
border-left: 2px solid #eee;
border-right: 2px solid #eee;
}
table tr.last {
border-bottom: 2px solid #eee;
}
table td {
padding: .25em .5em;
border-right: 1px solid #eee;
border-bottom: 1px solid #eee;
vertical-align: middle;
}
table td.main {
background: #f9f9f9;
font-weight: bold;
}
table td.center {
text-align: center;
vertical-align: middle;
}
table td a:link, table td a:visited {
border: none;
}
.legend {
width: 10px;
height: 10px;
display: block;
float: left;
margin: 4px 2px 0 0;
}
.box {
background: #f0f0f0;
border: 1px solid #ddd;
margin-bottom: 1em;
padding: 1em;
}
.box h1 {
font-size: 1.25em;
margin: 0;
}
.box .excerpt .sub {
font-size: 1em;
}
.box .excerpt .sub a:link, .box .excerpt .sub a:visited {
color: #3a3a3a;
border: none;
}
.box h1 .right a {
font-size: .8em;
font-weight: normal;
color: #333;
margin-left: 10px;
border: none;
}
.box h1 .right a img {
margin: 0 0 -4px;
}
.box .excerpt {
margin-top: 1em;
}
.footer {
margin-top: .25em;
margin-bottom: 2em;
font-size: .85em;
color: #aaa;
text-align: center;
}
/* Via ParticleTree */
a.button, button {
display: block;
float: left;
margin: 0 7px 0 0;
background-color: #f5f5f5;
border: 1px solid #dedede;
font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
font-size: 1.15em;
line-height: 130%;
text-decoration: none;
font-weight: bold;
color: #565656;
cursor: pointer;
padding: 5px 10px 6px 7px;
}
button.right, a.button.right {
float: right;
margin: 0 0 0 7px;
}
button {
width: auto;
overflow: visible;
padding: 4px 10px 3px 7px;
}
button[type] {
padding: 5px 10px 5px 7px;
line-height: 17px;
}
.detail .pad input, .detail .pad select {
float: left;
}
button.inline {
float: left;
display: inline;
padding: 3px 5px 2px;
margin-left: 2px;
position: relative;
}
*:first-child+html button[type] {
padding: 4px 10px 3px 7px;
}
button img, a.button img {
margin: 0 3px -3px 0 !important;
padding: 0;
border: none;
width: 16px;
height: 16px;
}
button:hover, a.button:hover, .notice, .depends {
background-color: #dff4ff;
border: 1px solid #c2e1ef;
color: #336699;
}
tr.draft, tr.draft td, tr.draft td.main {
background-color: #dff4ff;
border-color: #c2e1ef;
color: #336699;
}
a.button:active {
background-color: #6299c5;
border: 1px solid #6299c5;
color: #fff;
}
button.positive, a.button.positive {
color: #529214;
}
a.button.positive:hover, button.positive:hover, .success {
background-color: #E6EFC2;
border: 1px solid #C6D880;
color: #529214;
}
a.button.positive:active {
background-color: #529214;
border: 1px solid #529214;
color: #fff;
}
a.button.negative, button.negative {
color: #d12f19;
}
a.button.negative:hover, button.negative:hover, .failure, .conflict {
background: #fbe3e4;
border: 1px solid #fbc2c4;
color: #d12f19;
}
a.button.negative:active {
background-color: #d12f19;
border: 1px solid #d12f19;
color: #fff;
}
.conflict a:link, .conflict a:visited, .conflict h1 {
color: #d12f19 !important;
border-color: #d12f19 !important;
}
.depends a:link, .depends a:visited, .depends h1 {
color: #336699 !important;
border-color: #336699 !important;
}
.box.enabled .right a {
color: #529214;
}
.box.disabled .right a {
color: #d12f19;
}
.theme {
background: #f0f0f0;
border: 1px solid #ddd;
margin-bottom: 1em;
padding: 1em 1em 1.5em;
float: left;
text-align: center;
margin: 0 10px;
}
.theme a.screenshot:link, .theme a.screenshot:visited {
border: 0;
}
.theme .screenshot img {
border: 1px solid #ddd;
background: #f9f9f9;
padding: 5px;
width: 200px;
height: 150px;
}
.theme a.preview:link, .theme a.preview:visited {
float: none;
display: block;
margin: .5em auto 0;
}
.theme-enabled h3 {
border: none;
}
.theme-enabled h3 .sub a {
color: #555;
border: none;
}
.theme-enabled .screenshot {
float: left;
border: 1px solid #ddd;
background: #f9f9f9;
padding: 5px;
margin-right: 1em;
width: 200px;
height: 150px;
}
.delete blockquote {
width: 75%;
margin: 0 auto;
font-style: italic;
color: #777;
font-size: 1.25em;
padding: 1em;
}
.delete blockquote.noitalics {
font-style: normal;
}
.preview-header {
margin-bottom: .5em;
}
.preview-content {
margin-bottom: 2em;
}
.preview-content p {
margin-bottom: 1em;
}
.preview-content ul {
padding: 0 0 0 2em;
}
.preview-content ul li {
list-style: square;
}