timestamper/www/css/ts-screen.css
Jonathan Bernard 39c3b83d3f Implemented edit and update for entries.
- Added ts_entry:delete/1 to delete an entry from the database.
- Implemented ts_api:delete_entry/3.
- Added a form to facilitate editing individual entries.
- Moved the small show/hide functions directly into the HTML.
- Wired up the update timeline form.
- Wired up the edit and update entry form.
2011-03-08 18:02:33 -06:00

259 lines
6.1 KiB
CSS

/*
* author: Jonathan Bernard
* TimeStamper main CSS for screen media types
*/
/*
$obg: #D9CEB2;
$bor: #948C75;
$ibg: #D5DED9;
$txt: #7A6A53;
$bbg: #99B2B7;
*/
/*
$obg: #979681;
$obor: #E6DEC7;
$ibg: #657A8B;
$bbor: #B34C2B;
$bbg: #252D42;
$txt: #E6DEC7;
*/
/* _rounded.scss */
html {
background: url("/img/loving_blu.png") repeat; }
body {
width: 50%;
background-color: #657a8b;
margin: auto;
padding: 1em;
border: solid #b34c2b;
border-top: 0;
-moz-border-radius-bottomleft: 1em;
-webkit-border-bottom-left-radius: 1em;
border-bottom-left-radius: 1em;
-moz-border-radius-bottomright: 1em;
-webkit-border-bottom-right-radius: 1em;
border-bottom-right-radius: 1em; }
@media all and (min-device-width: 480) {
body {
width: 50%; } }
@media all and (max-device-width: 480) {
body {
width: 80%; } }
.control-links {
color: #c5c5b9;
float: right;
display: block;
height: 100%;
font-weight: bold;
font-size: smaller; }
.control-links:hover {
color: #252d42; }
.control-links a {
color: inherit;
text-decoration: none;
margin-right: 0.5em; }
.control-links a:hover {
color: #b34c2b;
text-decoration: underline; }
.bar {
font-family: Helvetica, sans-serif;
color: #252d42;
background-color: #e6dec7;
border-color: #979681;
border-style: solid;
border-width: 0.2em;
border-bottom-width: 0;
padding: 0.1em 1em 0.1em 1em;
overflow: hidden; }
.last-bar {
border-color: #979681;
border-style: solid;
border-width: 0.2em;
-moz-border-radius-bottomright: 0.5em;
-webkit-border-bottom-right-radius: 0.5em;
border-bottom-right-radius: 0.5em;
-moz-border-radius-bottomleft: 0.5em;
-webkit-border-bottom-left-radius: 0.5em;
border-bottom-left-radius: 0.5em;
background-color: #e6dec7;
padding: 0.1em 1em 0.1em 1em;
overflow: hidden; }
#more-entries {
overflow: hidden; }
#more-entries div {
float: right;
left: -50%;
position: relative; }
#more-entries div a {
position: relative;
float: right;
left: 50%;
border: 1px solid #979681;
padding: 0.1em;
background: #f6f3ea;
color: #626150;
text-decoration: none;
font-size: smaller; }
#more-entries div a:hover {
color: #b34c2b; }
.bar form {
border-top: solid 1px #979681;
padding: 0.5em 0 0.5em 2em;
overflow: hidden; }
.bar form label {
color: #626150;
display: block;
overflow: hidden; }
.bar form label span {
float: left;
width: 6em;
padding-top: 0.1em; }
.bar form input.text-input {
border: 1px solid #979681; }
.bar form .form-col {
overflow: hidden;
float: left;
padding-right: 2em; }
.bar form .form-col input.text-input {
width: 10em; }
.bar form div.form-submit {
float: left;
width: 100%;
overflow: hidden;
padding: 0.5em 2em 0.5em 2em;
position: relative; }
.bar form div.form-submit div {
position: relative;
float: right;
left: -50%; }
.bar form div.form-submit div input {
position: relative;
left: 50%; }
.bar form div.form-submit input, .bar form input.form-submit {
border: 1px solid #979681;
background: #f6f3ea; }
#user {
-moz-border-radius-topleft: 0.5em;
-webkit-border-top-left-radius: 0.5em;
border-top-left-radius: 0.5em;
-moz-border-radius-topright: 0.5em;
-webkit-border-top-right-radius: 0.5em;
border-top-right-radius: 0.5em; }
#user .control-links {
padding-top: 0.6em; }
#user #fullname, #user #username {
font-weight: bold;
font-size: x-large;
float: left; }
#user #username {
padding-left: 0.2em;
color: #626150; }
#user #change-pwd {
display: none; }
#timeline #timeline-name, #timeline #timeline-desc {
font-weight: bold; }
#timeline #timeline-desc {
color: #626150; }
#timeline .control-links {
padding-top: 0.2em; }
#user-info, #timeline-info {
display: none;
width: 100%;
float: left; }
#new-entry {
-moz-border-radius-bottomright: 0.5em;
-webkit-border-bottom-right-radius: 0.5em;
border-bottom-right-radius: 0.5em;
-moz-border-radius-bottomleft: 0.5em;
-webkit-border-bottom-left-radius: 0.5em;
border-bottom-left-radius: 0.5em;
border-bottom: solid #979681 0.2em;
margin-bottom: 1em; }
#new-entry form {
border: 0;
margin: 0;
padding: 0; }
#new-entry input {
color: #626150; }
#new-entry #add-notes {
display: none;
padding: 0.5em 0 0.5em 2em; }
#new-entry #new-entry-input {
margin-right: 1em;
width: 15em; }
.entry-bar {
background-color: #e6dec7;
border-color: #979681;
border-style: solid;
border-width: 0.2em;
border-bottom-width: 0;
padding: 0.1em 1em 0.1em 1em;
overflow: hidden; }
.entry-bar .id {
float: left;
-moz-border-radius: 0.5em;
-webkit-border-radius: 0.5em;
border-radius: 0.5em;
padding: 0 0.3em 0 0.3em;
background: #b34c2b;
color: #c5c5b9;
font-weight: bold;
width: 2em;
text-align: right; }
.entry-bar .details {
float: left; }
.entry-bar .details .entry-mark {
padding-left: 0.5em;
font-size: medium;
font-weight: bold;
font-family: Helvetica, sans-serif; }
.entry-bar .details .entry-notes {
display: none;
padding-left: 1.5em; }
.entry-bar .entry-edit {
display: none; }
.entry-bar .entry-edit .id {
width: 2em;
padding: 0.2em 0.5em 0.2em 0.5em; }
.entry-bar .entry-edit .entry-notes {
padding: 0; }
.top-entry {
-moz-border-radius-topleft: 0.5em;
-webkit-border-top-left-radius: 0.5em;
border-top-left-radius: 0.5em;
-moz-border-radius-topright: 0.5em;
-webkit-border-top-right-radius: 0.5em;
border-top-right-radius: 0.5em; }
#login-dialog {
font-size: small; }
#login-dialog label, #login-dialog input {
display: block; }
#login-dialog input.text {
margin-bottom: 1em;
width: 95%;
padding: 0.4em; }
#login-dialog form fieldset {
padding: 0;
border: 0;
margin: 0; }
#login-dialog .validate-tips {
display: none; }
#ui-dialog-title-login-dialog, .ui-dialog-buttonset {
font-size: medium; }