summaryrefslogtreecommitdiff
path: root/style.scss
diff options
context:
space:
mode:
Diffstat (limited to 'style.scss')
-rw-r--r--style.scss118
1 files changed, 118 insertions, 0 deletions
diff --git a/style.scss b/style.scss
new file mode 100644
index 0000000..dc51087
--- /dev/null
+++ b/style.scss
@@ -0,0 +1,118 @@
+@mixin box-shadow($shadow) {
+ -webkit-box-shadow: $shadow;
+ -moz-box-shadow: $shadow;
+ box-shadow: $shadow;
+}
+
+body.loggedin {
+ div.infobar * {
+ margin: 0 1em;
+ }
+}
+
+body {
+ font-family: sans-serif;
+ margin: 0;
+ padding: 0;
+ div.infobar {
+ text-align: right;
+ padding: .1em 0;
+ input[type="text"],
+ input[type="password"] {
+ width: 20%;
+ }
+ input[type="submit"] {
+ background: transparent;
+ border: none;
+ font-size: 1em;
+ padding: 0;
+ }
+ a {
+ color: #000000;
+ }
+ }
+ div.main {
+ form {
+ fieldset li {
+ clear: both;
+ padding: .5em 0;
+ label {
+ width: 25%;
+ float: left;
+ }
+ input, textarea {
+ width: 60%;
+ float: left;
+ }
+ input[type="password"] {
+ width: 30%;
+ }
+ p.form_data {
+ margin-left: 25%;
+ }
+ &.wide {
+ clear: both;
+ padding: .5em 0;
+ label {
+ width: 100%;
+ float: none;
+ }
+ input, textarea {
+ width: 100%;
+ float: none;
+ }
+ }
+ }
+ table {
+ border: solid 1px black;
+ border-collapse: collapse;
+ border-spacing: 0;
+ td, th {
+ border: solid 1px black;
+ padding: 0;
+ .cell_width {
+ display: block;
+ overflow: hidden;
+ height: 0px;
+ @extend input[type="text"];
+ }
+ input {
+ outline: solid 1px black;
+ width: 100%;
+ background: transparent;
+ border: 0;
+ &:focus {
+ outline-color: blue;
+ @include box-shadow(inset 0 0 1pt 1pt rgba(0,0,1,.5));
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+h1 {
+ text-align: center;
+}
+a {
+ text-decoration: none;
+}
+input[type="text"], textarea {
+ font-family: monospace;
+ font-size: 12pt;
+}
+iframe {
+ width: 100%;
+ height: 100%;
+}
+.error {
+ font-weight: bold;
+ color: red;
+}
+.http404 {
+ color: red;
+}
+.small {
+ font-size: .5em;
+} \ No newline at end of file