Subversion Repositories LCARS

Compare Revisions

Last modification

Regard whitespace Rev 19 → Rev 36

/trunk/styles/lcars.css.php/lcars.css
1,9 → 1,11
<?php header('Content-Type: text/css'); ?>
@CHARSET "UTF-8";
 
/*
* <title>CSS for PointedEars' LCARS, version 2.054, stardate 200712.02</title>
*/
 
/* basic fonts */
 
@font-face {
font-family: "Downloadable LCARS";
font-style: normal;
27,7 → 29,6
src:url(WEBDING0.eot);
}
*/
 
@font-face {
font-family: "Downloadable Zurich XCn BT";
font-style: normal;
36,21 → 37,85
}
 
/* basic display */
 
* {
font-family: LCARS, "Downloadable LCARS",
Haettenschweiler, "Downloadable Haettenschweiler",
"Zurich XCn BT", "Downloadable Zurich XCn BT",
impact, Verdana, Geneva, Arial, Helvetica, sans-serif;
font-family: LCARS, "Downloadable LCARS", Haettenschweiler,
"Downloadable Haettenschweiler", "Zurich XCn BT",
"Downloadable Zurich XCn BT", impact, Verdana, Geneva, Arial,
Helvetica, sans-serif;
font-weight: normal;
}
 
<?php
$colors = array(
'primary' => array(
'elbo' => '#f1df6f',
'offline1' => '#300',
'offline2' => '#f00',
'n/a' => '#39f',
'primary' => '#9cf',
'color1' => '#ff3',
'color2' => '#ffc'
),
'secondary' => array(
'elbo' => '#b19f7a',
'offline1' => '#300',
'offline2' => '#f00',
'n/a' => '#5355de',
'primary' => '#9cf',
'color1' => '#fc0',
'color2' => '#ff9'
),
'ancillary' => array(
'elbo' => '#f1b1af',
'offline1' => '#300',
'offline2' => '#f00',
'n/a' => '#a27fa5',
'primary' => '#adacd8',
'color1' => '#ff3',
'color2' => '#e6b0d4'
),
'database' => array(
'elbo' => '#c66',
'offline1' => '#300',
'offline2' => '#f00',
'n/a' => '#ccf',
'primary' => '#9cf',
'color1' => '#f90',
'text' => '#99f',
'old_text' => '#669',
'new_text' => '#9cf',
'link' => '#fc9',
'visited' => '#c9c',
'hover' => '#f90',
'active' => '#fff'
),
'red_alert' => array(
'elbo' => '#f00',
'offline1' => '#300',
'offline2' => '#f00',
'n/a' => '#f00',
'primary' => '#f00',
'color1' => '#f00',
'color2' => '#f00'
),
'multi-display' => array(
'upper_elbo' => '#9cf',
'lower_elbo' => '#c66',
'color1' => '#f90',
'color2' => '#c9c',
'text1' => '#fff',
'text2' => '#f90',
)
);
?>
 
*[lang^="x-vulcan-latin"] {
font-family: cursive;
}
 
body {
cursor:default;
font-size:134%; /*129%*/
background-color:#000;
color:#ccf; /* #afbfe0; #69F; */
margin:0 10px;
/* IE 5.5+ scrollbar colors */
/* from Mozilla LCARS Theme (2D style) */
scrollbar-3dlight-color:#000;
61,85 → 126,24
scrollbar-highlight-color:#99f;
scrollbar-track-color:#000;
scrollbar-shadow-color:#99f;
}
 
div.body {
/* width:95%; */
}
 
span.alt { /* span with alternative text color */
color:#f93;
background-color:#000;
color: <?php echo $colors['database']['text']; ?>;
font-size: 131%; /* 134% */
}
 
/* for JavaScript processing messages */
 
.standby {
font-size:166%;
background-color:#000;
color:#99f;
}
 
div.standby {
position:absolute;
top:0;
visibility:hidden;
}
 
/* font styles */
 
p {
margin-top:0;
margin-bottom:1em;
}
 
div, p, li, th, td {
max-width: 60ex;
}
 
small {
font-size:100%;
}
 
b, strong {
color:#f93;
background-color:#000;
font-weight:normal;
}
 
i, cite, blockquote, em {
background-color:#000;
color:#f93;
font-style:normal;
}
 
abbr {
white-space:nowrap;
}
 
abbr, acronym {
border-bottom: 1px solid dotted;
cursor: help;
}
 
span.cap {
font-variant:small-caps;
}
 
/* headings */
 
h1 {
font-size:191%;
font-size: 120%; /* 191% */
font-weight:normal;
color:#c96;
color: #fff; /* #c96 */
background-color:black;
}
 
 
h2 {
font-size:129%;
font-size: 120%; /* 129% */
font-weight:normal;
color:#fc6;
color: #fff; /* #fc6 */
background-color:black;
text-transform: uppercase;
}
149,7 → 153,7
margin-bottom:1em;
font-size:123%;
font-weight:normal;
color:#fc6;
color: #fff; /* #fc6 */
background-color:black;
text-transform: uppercase;
}
167,6 → 171,7
margin-top:1em;
}
 
/*
a.h4:link:hover, a.h4:visited:hover {
color:#fc6;
background-color:black;
176,14 → 181,15
color:#fff;
background-color:black;
}
*/
 
h5 {
margin-top:2em;
margin-bottom:1em;
background-color: black;
color: <?php echo $colors['multi-display']['text1']; ?>; /* #fc6 */
font-size:111%;
font-weight:normal;
color:#fc6;
background-color:black;
}
 
h6 {
195,51 → 201,131
background-color:black;
}
 
div.body { /* width:95%; */
}
 
span.alt { /* span with alternative text color */
color: #f93;
background-color: #000;
}
 
/* for JavaScript processing messages */
.standby {
font-size: 166%;
background-color: #000;
color: #99f;
}
 
div.standby {
position: absolute;
top: 0;
visibility: hidden;
}
 
/* font styles */
p {
margin-top: 0;
margin-bottom: 1em;
}
 
div,p,li,th,td {
max-width: 60ex;
}
 
small {
font-size: 100%;
}
 
b, strong {
color: <?php echo $colors['multi-display']['text1']; ?>; /* #f93 */
background-color: #000;
font-weight: normal;
}
 
i, cite, blockquote, em {
background-color: #000;
color: <?php echo $colors['multi-display']['text1']; ?>; /* #f93 */
font-style: normal;
}
 
abbr {
white-space: nowrap;
}
 
abbr, acronym {
border-bottom: 1px dotted;
cursor: help;
}
 
del {
background-color: #000;
color: <?php echo $colors['database']['old_text']; ?>;
text-decoration: line-through;
}
 
ins {
background-color: #000;
color: <?php echo $colors['database']['new_text']; ?>;
text-decoration: none;
}
 
span.cap {
font-variant: small-caps;
}
 
ul.filelist li {
background-color: #000;
color: <?php echo $colors['database']['n/a']; ?>;
cursor: not-allowed;
}
 
/* LCARS specific anchors */
 
/* order is important to buggy IE;
TODO: [IE] links focus color, visited links hover color */
 
a:link:hover, a:link:active, a:link:focus {
a:link:hover,
a:link:active,
a:link:focus
{
background-color:#000;
color:#fc0;
color: <?php echo $colors['database']['hover']; ?>; /* #fc0 */
text-decoration:none;
}
 
a:link {
background-color:black;
color:white;
background-color: #000;
color: <?php echo $colors['database']['link']; ?>; /* white */
text-decoration:none;
}
 
a:visited:hover {
background-color:#000;
color:#fc3;
color: <?php echo $colors['database']['hover']; ?>; /* #fc3 */
text-decoration:none;
}
 
a:visited:active {
background-color:black;
color:#fff;
background-color: #000;
color: <?php echo $colors['database']['active']; ?>; /* #fff */
text-decoration:none;
}
 
a:visited:focus {
background-color:#000;
color:#fc3;
color: <?php echo $colors['database']['hover']; ?>; /* #fc3; */
text-decoration:none;
}
 
a:visited {
background-color:black;
color:#fc9;
background-color: #000;
color: <?php echo $colors['database']['visited']; ?>; /* #fc9 */
text-decoration:none;
}
 
/* buttons */
 
a.button:link:focus, a.button:visited:focus,
a.button:link:hover, a.button:visited:hover {
a.button:link:focus,a.button:visited:focus,a.button:link:hover,a.button:visited:hover
{
color:#000;
background-color:#c9c;
text-decoration:none;
311,7 → 397,6
}
 
/* form elements */
 
input {
background-color:black;
font-size:104%;
318,8 → 403,7
color:white;
}
 
input.button {
/* offset-width:auto; */
input.button { /* offset-width:auto; */
border-style:none;
border-width:0px;
color:#000;
334,8 → 418,7
color:white;
}
 
select
{
select {
color:white;
background-color:#000;
border-color:white;
348,7 → 431,6
}
 
/* table elements */
 
table {
border-collapse: separate;
margin-top:0;
429,39 → 511,29
}
 
/* hover table */
 
table.hover thead th:hover,
thead.hover th:hover,
tbody.hover th:hover,
table.hover tbody tr:hover th,
tbody.hover tr:hover th {
table.hover thead th:hover,thead.hover th:hover,tbody.hover th:hover,table.hover tbody tr:hover th,tbody.hover tr:hover th
{
background-color:#f99;
color:#000;
}
 
table.hover tbody tr:hover,
tbody.hover tr:hover {
table.hover tbody tr:hover,tbody.hover tr:hover {
color:#fc3;
}
 
table.hover tbody tr:hover a,
tbody.hover tr:hover a {
table.hover tbody tr:hover a,tbody.hover tr:hover a {
background-color:inherit;
}
 
/* Lowlight all rows except that with the active/focused element */
table.hover tbody:active,
table.hover tbody:focus,
tbody.hover:active,
tbody.hover:focus {
table.hover tbody:active,table.hover tbody:focus,tbody.hover:active,tbody.hover:focus
{
background-color:#000;
color:#99c;
}
 
table.hover tbody tr:active,
tbody.hover tr:active,
table.hover tbody tr:focus,
tbody.hover tr:focus {
table.hover tbody tr:active,tbody.hover tr:active,table.hover tbody tr:focus,tbody.hover tr:focus
{
background-color:#000;
color:#fff;
}