libfn/web/css/style.css

104 lines
2.1 KiB
CSS
Raw Permalink Normal View History

/**
* fnordlicht web control frontend
*
* simple ajax colorwheel frontend to control fnordlicht's
*
* @copyright 2013 Steffen Vogel
* @license http://www.gnu.org/licenses/gpl.txt GNU Public License
* @author Steffen Vogel <post@steffenvogel.de>
* @link http://www.steffenvogel.de
*/
/*
* This file is part of libfn
*
* libfn is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* libfn is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with libfn. If not, see <http://www.gnu.org/licenses/>.
*/
body {
font-family: sans-serif;
text-align: center;
margin: 40px;
background-color: black;
}
#wrapper {
width: 600px;
margin: 0 auto;
}
#details {
padding: 10px;
margin: 0 50px;
font-size: 0.95em;
display: none;
text-align: left;
-moz-border-radius: 15px;
border-radius: 15px;
}
#details input {
-moz-border-radius: 4px;
border-radius: 4px;
border: 1px solid #727272;
padding: 3px;
text-align: center;
}
#details > table {
margin: 4px auto;
width: 100%;
border-bottom: 1px solid #727272;
}
#details > p {
margin: 0;
}
#details label {
font-weight: bold;
}
img.icon {
margin: 3px 3px;
width: 32px;
height: 32px;
}
#show_details {
font-weight: bold;
color: #C0C0C0;
margin: 30px 0 4px;
cursor: pointer;
}
#wheel {
text-align: left;
margin: 50px;
}
.alpha60 {
/* Fallback for web browsers that doesn't support RGBa */
background: rgb(255, 255, 255);
/* RGBa with 0.6 opacity */
background: rgba(255, 255, 255, 0.6);
/* For IE 5.5 - 7*/
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99ffffff, endColorstr=#99ffffff);
/* For IE 8*/
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99ffffff, endColorstr=#99ffffff)";
}