Sort of semi-working UI.
This commit is contained in:
parent
8a9aae56e0
commit
ce2a04477a
12 changed files with 407 additions and 86 deletions
144
resources/public/css/standard.css
Normal file
144
resources/public/css/standard.css
Normal file
|
|
@ -0,0 +1,144 @@
|
|||
body {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
/* ids generally in document order */
|
||||
/* Overall container div, holds all content of page. Yes, I know it shouldn't have fixed width */
|
||||
#main-container{
|
||||
clear: both;
|
||||
width:80%;
|
||||
margin: 0 10%;
|
||||
padding: 0;
|
||||
padding-top: 8em;
|
||||
padding-bottom: 2em;
|
||||
}
|
||||
|
||||
/* footer of the document, within #main-container */
|
||||
#footer {
|
||||
clear: both;
|
||||
padding: 0 2em;
|
||||
text-align: center;
|
||||
color:white;
|
||||
background:rgba(196,196,196,0.95);
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
bottom:0;
|
||||
position:fixed;
|
||||
z-index:150;
|
||||
_position:absolute;
|
||||
_top:expression(eval(document.documentElement.scrollTop+
|
||||
(document.documentElement.clientHeight-this.offsetHeight)));
|
||||
}
|
||||
|
||||
#header {
|
||||
width:100%;
|
||||
margin: 0;
|
||||
padding: 0.5em 10%;
|
||||
position: fixed;
|
||||
z-index: 149;
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#header-logo {
|
||||
float: left;
|
||||
padding-right: 2.5em;
|
||||
}
|
||||
|
||||
|
||||
#nav{
|
||||
float: left;
|
||||
margin: 0;
|
||||
min-height: 56px;
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
#nav ul li {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: inline;
|
||||
}
|
||||
.nav-item a { color: rgb(64, 64, 64);
|
||||
text-decoration: none;
|
||||
font-weight: normal;
|
||||
padding: 0.25em 0.75em;
|
||||
margin: 0;
|
||||
}
|
||||
#nav ul li.active a { background: silver;}
|
||||
li.nav-item a:hover { background: rgb( 240, 240, 240) }
|
||||
li.nav-item a:active { background: gray; color: white; }
|
||||
.error {
|
||||
background-color: #663399;;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.widget {
|
||||
margin: 0;
|
||||
padding: 0.25em 1em;
|
||||
border: thin solid white;
|
||||
}
|
||||
|
||||
div.error {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
form {
|
||||
width: 100%;
|
||||
background-color: silver;
|
||||
border: thin solid silver;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 300%;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5 {
|
||||
background-color: black;
|
||||
color: white;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
|
||||
input {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
input.submit {
|
||||
background-color: green;
|
||||
}
|
||||
|
||||
input.required:after {
|
||||
content: " \*";
|
||||
color: red;
|
||||
}
|
||||
|
||||
label, input {
|
||||
width: 45%;
|
||||
padding: 0.25em 1em;
|
||||
margin: 0 0.5em;
|
||||
}
|
||||
|
||||
label {
|
||||
border-right: thin solid gray;
|
||||
}
|
||||
|
||||
table {
|
||||
width 100%;
|
||||
padding: 0;
|
||||
border: 0.25em solid silver;
|
||||
}
|
||||
|
||||
td, th {
|
||||
margin: 0;
|
||||
padding: 0.25em 1em;
|
||||
}
|
||||
|
||||
th {
|
||||
border: thin solid gray;
|
||||
background-color: silver;
|
||||
}
|
||||
|
||||
td {
|
||||
border: thin solid silver;
|
||||
background-color: white;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue