0
1
Fork 0
hedera-web-mindshore/package/usr/share/hedera-web/pages/web/style.css

260 lines
2.8 KiB
CSS
Raw Normal View History

2015-01-31 01:05:12 +00:00
body
{
position: absolute;
2015-01-31 01:05:12 +00:00
margin: 0;
height: 100%;
width: 100%;
background-color: #EEE;
2015-01-31 01:05:12 +00:00
}
/* Font */
#welcome,
#exit span,
#menu-title,
#menu a
{
font-size: 1.1em;
}
/* Header */
2015-01-31 01:05:12 +00:00
#header,
#exit
{
height: 4.2em;
}
#header
{
position: relative;
background-color: #333;
width: 100%;
z-index: 1;
}
2015-01-31 01:05:12 +00:00
#header *
{
color: white;
}
#header-bar
{
position: relative;
height: 100%;
overflow: hidden;
}
#logo
{
2015-01-31 01:05:12 +00:00
width: 16em;
float: left;
2015-01-31 01:05:12 +00:00
padding: 1em;
padding-top: 1.2em;
}
#loader
{
float: left;
2015-01-31 01:05:12 +00:00
margin-left: 0.4em;
margin-top: 1.4em;
visibility: hidden;
}
#welcome
{
float: right;
2015-01-31 01:05:12 +00:00
padding: 0 1.5em;
}
#welcome span
{
font-size: 1em;
}
#welcome,
#exit span
{
margin-top: 2em;
}
#exit
{
float: right;
background-color: #E80;
2015-01-31 01:05:12 +00:00
width: 4em;
text-align: center;
}
#exit:hover
{
background-color: #F91;
}
#exit span
{
2015-01-31 01:05:12 +00:00
display: block;
}
#header,
#content
{
margin: auto;
width: 100%;
}
/* Body */
#body
{
position: absolute;
2015-01-31 01:05:12 +00:00
top: 4.2em;
bottom: 0;
left: 0;
right: 0;
}
#content
{
position: relative;
height: 100%;
}
/* Top bar */
2015-01-31 01:05:12 +00:00
#top-bar
{
2015-01-31 01:05:12 +00:00
height: 3em;
overflow: hidden;
background-color: #CE8;
}
/* Menu */
2015-01-31 01:05:12 +00:00
#menu-button
{
display: none;
float: left;
border: none;
background-color: transparent;
padding: 0;
margin: 0;
margin-left: 0.6em;
height: 4.2em;
}
#menu-button img
{
height: 2em;
}
#menu-background
{
z-index: 10;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(10, 10, 10, 0.6);
display: none;
}
#menu-box,
#menu > li
{
width: 15em;
}
#menu-box
{
z-index: 20;
position: absolute;
left: 0;
bottom: 0;
top: 0;
background-color: white;
z-index: 20;
box-shadow: 0 0.2em 0.2em #AAA;
}
#menu
{
2015-01-31 01:05:12 +00:00
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 4em;
margin: 0;
2015-01-31 01:05:12 +00:00
padding: 1em 0;
list-style-type: none;
2015-01-31 01:05:12 +00:00
overflow: auto;
}
#menu > li
{
display: block;
float: left;
2015-01-31 01:05:12 +00:00
clear: both;
padding: 0;
}
#menu > li > a
{
2015-01-31 01:05:12 +00:00
line-height: 2.8em;
width: 70%;
padding: 0 15%;
}
#menu a
{
float: left;
}
#menu a:hover
{
2015-01-31 01:05:12 +00:00
background-color: #DDD /* #AC6 */;
}
ul.submenu
{
display: none;
position: fixed;
border: none;
border-radius: 1px;
2015-01-31 01:05:12 +00:00
background-color: white;
box-shadow: 0 0.2em 0.2em #CCC;
z-index: 10;
list-style-type: none;
2015-01-31 01:05:12 +00:00
padding-left: 0;
width: 14em;
}
ul.submenu a
{
width: 60%;
2015-01-31 01:05:12 +00:00
padding: 0.7em 20%;
}
#menu li.selected
{
background-color: #EEE;
}
/* Links */
#links
{
2015-01-31 01:05:12 +00:00
position: absolute;
bottom: 0;
right: 0;
padding: 0.8em;
}
2015-01-31 01:05:12 +00:00
#links a
{
2015-01-31 01:05:12 +00:00
padding: 0.1em;
display: block;
float: left;
}
#links img
{
height: 1.8em;
}
2015-01-31 01:05:12 +00:00
/* Form */
2015-01-31 01:05:12 +00:00
#form
{
position: absolute;
2015-01-31 01:05:12 +00:00
top: 0em;
bottom: 0;
right: 0;
left: 15em;
overflow: auto;
}
2015-01-31 01:05:12 +00:00
@media screen and (max-device-width: 1100px) and (min-resolution: 100dpi)
{
#menu-button { display: block; }
#menu-box { display: none; }
#form { left: 0; }
}