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

254 lines
2.6 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;
2015-07-07 15:27:47 +00:00
background-color: #FC9900;
2015-01-31 01:05:12 +00:00
width: 4em;
text-align: center;
}
#exit:hover
{
2015-07-07 15:27:47 +00:00
background-color: #FCA910;
}
#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;
}
2015-02-08 15:38:38 +00:00
#background
2015-01-31 01:05:12 +00:00
{
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,
2015-02-08 15:38:38 +00:00
#menu > li,
ul.submenu
2015-01-31 01:05:12 +00:00
{
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 */;
}
2015-02-08 15:38:38 +00:00
#menu a.selected
{
background-color: #EEE;
}
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;
2015-02-08 15:38:38 +00:00
z-index: 50;
list-style-type: none;
2015-01-31 01:05:12 +00:00
padding-left: 0;
}
ul.submenu a
{
width: 60%;
2015-01-31 01:05:12 +00:00
padding: 0.7em 20%;
}
/* 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;
2015-02-08 15:38:38 +00:00
max-width: 2.2em;
2015-01-31 01:05:12 +00:00
}
#links img
{
height: 1.8em;
}
2015-03-06 23:33:54 +00:00
/* Form holder */
2015-03-06 23:33:54 +00:00
#form-holder
{
position: absolute;
2015-01-31 01:05:12 +00:00
top: 0em;
bottom: 0;
right: 0;
left: 15em;
overflow: auto;
}