tethys/public/backend/style.css

1027 lines
19 KiB
CSS
Raw Permalink Normal View History

2018-08-29 15:18:15 +00:00
body {
background: #fff;
color: #5F5C52;
/* font-size: 1.15em; */
margin: 0;
padding: 0;
}
html, button, input, select, textarea,
.pure-g [class *= "pure-u"] {
/* Set your content font stack here: */
font-family: 'Open Sans', sans-serif;
}
/* Typo */
a {
/*color: #bb2222;*/
color: #3273dc;
cursor: pointer;
text-decoration: none;
}
a strong {
color: currentColor;
}
a:hover {
color: #363636;
/*color: #660000;*/
}
code {
background-color: whitesmoke;
color: #ff3860;
font-size: 0.875em;
font-weight: normal;
padding: 0.25em 0.5em 0.25em;
}
h1, h2, h3, h4, h5, h6 {
color: #423F37;
}
h2 {
font-size: 1.2em;
margin: 2em 0 1.2em 0;
}
p {
/*margin: 0 0 2.2em 0;*/
margin: 0 0 1.4em 0;
font-size: 1em;
line-height: 1.6em;
}
p + ul {
margin-top: -0.5em;
}
/*code {
color: #000;
font-weight: normal;
}*/
pre {
background: none repeat scroll 0 0 #e9e6e2;
font-family: "Courier 10 Pitch",Courier,monospace;
font-size: 0.9em;
line-height: 1.3;
margin-bottom: 2em;
padding: 30px;
color: #222;
overflow: auto;
word-wrap: normal;
white-space: pre;
}
table {
margin-bottom: 2.6em;
font-size: 0.88em;
}
menu .pure-menu .active a {
background-color: #eee;
}
.pure-img-responsive {
max-width: 100%;
height: auto;
}
/*
Add transition to containers so they can push in and out.
*/
#layout,
#menu,
.menu-link {
-webkit-transition: all 0.2s ease-out;
-moz-transition: all 0.2s ease-out;
-ms-transition: all 0.2s ease-out;
-o-transition: all 0.2s ease-out;
transition: all 0.2s ease-out;
}
/*
This is the parent `<div>` that contains the menu and the content area.
*/
#layout {
position: relative;
padding-left: 0;
}
#layout.active #menu {
left: 300px;
width: 300px;
}
#layout.active .menu-link {
left: 300px;
}
/*
The content `<div>` is where all your content goes.
*/
.content {
margin: 0 0;
padding: 2em;
line-height: 1.6em;
background: #f5f5f5;
}
.header {
margin: 0;
color: #333;
text-align: left;
padding: 0.4em 2em;
2018-08-29 15:18:15 +00:00
border-bottom: 1px solid #eee;
}
#main > .header {
background: #202b33;
color: #fff;
2018-08-29 15:18:15 +00:00
}
.header h1 {
margin: 0.2em 0;
font-size: 3em;
font-weight: 300;
}
.header h2 {
font-weight: 300;
color: #ccc;
padding: 0;
margin-top: 0;
}
.content-subhead {
margin: 50px 0 20px 0;
font-weight: 300;
color: #888;
}
.box-content {
padding: 2em;
}
.l-box .header-title{
text-transform: uppercase;
letter-spacing: 0.1em;
font-size: .9em;
}
.l-box{
margin: 0 1em 1em 0;
background: #fff;
outline: 1px solid #ddd;
}
.msg{
padding: 0.8em 1.2em;
border: 1px solid #ddd;
display: block;
margin-bottom: 1em;
font-weight: normal;
}
.msg .fa{
margin-right: 0.5em;
}
.success{
background: #dff0d8;
color: #3c763d;
border-color: #d6e9c6;
}
.error{
background: #f2dede;
color: #ad4442;
border-color: #ebccd1;
}
.alert{
background: #fcf8e3;
color: #8a6d3b;
border-color: #faebcc;
}
.breadcrumb{
margin-bottom: 2em;
display: table;
}
.breadcrumb a{
color: #999;
padding: 0 0.8em;
text-decoration: none;
font-size: .9em;
font-weight: normal;
}
.breadcrumb a:hover,
.breadcrumb a:focus{
color: #2097e6;
}
.site-logo{
2018-08-29 15:18:15 +00:00
color: #fff;
font-size: 1.0em;
padding: 0.4em 0.4em;
margin: 0;
2018-08-29 15:18:15 +00:00
}
.site-logo strong{
color: #2097e6;
}
.text-right{
text-align: right;
}
/* .user-info{
padding: 0.6em 0.4em;
} */
2018-08-29 15:18:15 +00:00
.user-info a{
text-decoration: none;
font-weight: normal;
font-size: 0.8em;
color: #999;
text-transform: uppercase;
}
.user-info a:hover,
.user-info a:focus{
color: #2097e6;
}
.divider{
border-right: 1px solid #ddd;
margin: 0 1em;
}
.pure-form{
font-weight: normal;
}
hr{
display: block;
border: 0;
border-top: 1px solid #ddd;
margin: 1.5em 0;
}
/*
The `#menu` `<div>` is the parent `<div>` that contains the `.pure-menu` that
appears on the left side of the page.
*/
#menu {
margin-left: -300px; /* "#menu" width */
width: 300px;
position: fixed;
top: 0;
left: 0;
bottom: 0;
z-index: 1000; /* so the menu or its navicon stays above all content */
background: #202b33;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
/*
All anchors inside the menu should be styled like this.
*/
#menu a {
color: #738492;
border: none;
padding: 0.6em 0 0.6em 1em;
font-size: 0.9em;
font-weight: normal;
-webkit-transition: all 0.2s ease-out;
-moz-transition: all 0.2s ease-out;
-ms-transition: all 0.2s ease-out;
-o-transition: all 0.2s ease-out;
transition: all 0.2s ease-out;
border-left: 2px solid #2097e6;
}
/*
Remove all background/borders, since we are applying them to #menu.
*/
#menu .pure-menu,
#menu .pure-menu ul {
border: none;
background: transparent;
}
/*
Add that light border to separate items into groups.
*/
#menu .pure-menu ul,
#menu .pure-menu .menu-item-divided {
border-top: 1px solid #2b363d;
}
/*
Change color of the anchor links on hover/focus.
*/
#menu .pure-menu li a:hover,
#menu .pure-menu li a:focus,
#menu .pure-menu li.active a {
color: #2097e6;
background: #1d272e;
}
2019-04-23 11:30:22 +00:00
#menu .pure-menu li.active a::after {
right: 0;
border: solid 8px transparent;
border-right-color: transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-right-color: #f1f1f1;
top: 50%;
margin-top: -8px;
}
2018-08-29 15:18:15 +00:00
/*
This styles the selected menu item `<li>`.
*/
#menu .pure-menu-selected,
#menu .pure-menu-heading {
padding-left: 0.5em;
text-transform: capitalize;
font-weight: normal;
}
/*
This styles a link within a selected menu item `<li>`.
*/
#menu .pure-menu-selected a {
color: #fff;
}
/*
This styles the menu heading.
*/
#menu .pure-menu-heading {
font-size: 100%;
color: #fff;
margin: 0;
padding-top: 1em;
}
/* -- Dynamic Button For Responsive Menu -------------------------------------*/
/*
The button to open/close the Menu is custom-made and not part of Pure. Here's
how it works:
*/
/*
`.menu-link` represents the responsive menu toggle that shows/hides on
small screens.
*/
.menu-link {
position: fixed;
display: block; /* show this only on small screens */
top: 0;
left: 0; /* "#menu width" */
background: #000;
background: rgba(0,0,0,0.7);
font-size: 10px; /* change this value to increase/decrease button size */
z-index: 10;
width: 2em;
height: auto;
padding: 2.1em 1.6em;
}
.menu-link:hover,
.menu-link:focus {
background: #000;
}
.menu-link span {
position: relative;
display: block;
}
.menu-link span,
.menu-link span:before,
.menu-link span:after {
background-color: #fff;
width: 100%;
height: 0.2em;
}
.menu-link span:before,
.menu-link span:after {
position: absolute;
margin-top: -0.6em;
content: " ";
}
.menu-link span:after {
margin-top: 0.6em;
}
/* -- Responsive Styles (Media Queries) ------------------------------------- */
/*
Hides the menu at `48em`, but modify this based on your app's needs.
*/
@media (min-width: 48em) {
.header,
.content {
padding-left: 2em;
padding-right: 2em;
}
#layout {
padding-left: 300px; /* left col width "#menu" */
left: 0;
}
#menu {
left: 300px;
}
.menu-link {
position: fixed;
left: 300px;
display: none;
}
#layout.active .menu-link {
left: 300px;
}
}
@media (max-width: 48em) {
/* Only apply this when the window is small. Otherwise, the following
case results in extra padding on the left:
* Make the window small.
* Tap the menu to trigger the active state.
* Make the window large again.
*/
#layout.active {
position: relative;
left: 300px;
}
}
2018-09-06 15:58:54 +00:00
2018-08-29 15:18:15 +00:00
/* _______________________________my edits ------------------------------------- */
.box-l {
padding-right: 1em;
}
.box-r {
padding-left: 1em
}
fieldset, img, hr {
border: none;
outline: none;
}
/* TABLE */
/*a { color: #4183c4; text-decoration: none; }
a:hover { text-decoration: none; }*/
.pure-button:hover {
text-decoration: none;
}
/*table { width: 100%; margin: 2em 0; }*/
.pure-table a {
2018-11-05 15:44:25 +00:00
color: #005F6A;
text-decoration:none;
2018-08-29 15:18:15 +00:00
}
.pure-table a:hover {
text-decoration: none;
color: #4183c4;
}
.pure-table {
border: none;
}
.pure-table td, .pure-table th {
padding: 0.8em;
border: none;
border-bottom: 1px solid #f6f6f6;
text-align: left;
}
.pure-table thead {
background-color: #F2F9EF
}
.pure-table th {
font-weight: 300;
}
2019-04-18 11:16:50 +00:00
a:before {
display: inline-block;
padding-right: 3px;
/* vertical-align: middle; */
}
2018-08-29 15:18:15 +00:00
table td .view:before {
2019-04-18 11:16:50 +00:00
font-family: "Font Awesome 5 Free";
2018-08-29 15:18:15 +00:00
top: 0;
2019-04-18 11:16:50 +00:00
content: "\f06e";
2018-08-29 15:18:15 +00:00
}
table td .edit:before {
2019-04-18 11:16:50 +00:00
font-family: "Font Awesome 5 Free";
2018-08-29 15:18:15 +00:00
top: 0;
content: "\f044";
}
table td .delete:before {
2019-04-18 11:16:50 +00:00
font-family: "Font Awesome 5 Free";
2018-08-29 15:18:15 +00:00
top: 0;
2019-04-18 11:16:50 +00:00
content: "\f2ed";
2018-08-29 15:18:15 +00:00
}
table .action {
width: 1em;
}
.pure-form .checkboxlist > label, .pure-form .checkboxlist > .field-validation-error,
.pure-form .checkboxlist > i.fa-info-circle {
vertical-align: top;
}
.pure-form .checkboxlist ul {
max-height: 8.5em;
overflow: auto;
width: 17em;
display: inline-block;
padding: 0;
margin: 0 0 1em 0;
}
.pure-form .checkboxlist ul li {
margin-bottom: 3px;
list-style: none;
}
.pure-form .checkboxlist ul li label {
width: 14em;
}
.pure-form em, .pure-form i.fa-info-circle {
color: silver;
padding-left: 0.3em;
}
.pure-form .pure-button {
margin-right: 1em;
}
.pure-form.detail span {
vertical-align: middle;
line-height: 2em;
}
.pure-form.detail label {
color: silver;
}
textarea.medium, select.medium {
width: 25em;
}
textarea.large, input.large {
width: 40em;
height: 17em;
}
.pure-control-group.checkboxlist > span {
display: inline-block;
}
.field-validation-error {
color: #a94442;
font-weight: bold;
}
.validation-summary-errors, .summary-error {
border-left: 3px solid #d9534f;
background: #fdf7f7;
padding: 1em;
margin-bottom: 2em;
}
.validation-summary-errors ul {
margin: 0.75em 1em;
}
.validation-summary-valid {
display: none;
}
.summary-success {
border-left: 3px solid #009900;
background: #F2F9EF;
padding: 1em;
margin-bottom: 2em;
}
/* purecss buttons */
.button-success,
.button-error,
.button-warning,
.button-secondary {
color: white;
border-radius: 4px;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
.button-success {
background: rgb(28, 184, 65); /* this is a green */
}
.button-error {
background: rgb(202, 60, 60); /* this is a maroon */
}
.pure-button.is-primary {
background-color: #00d1b2;
border-color: transparent;
color: #fff;
}
.pure-button.is-primary:hover, .pure-button.is-primary.is-hovered {
background-color: #00c4a7;
border-color: transparent;
color: #fff;
}
.pure-button.is-primary:focus, .pure-button.is-primary.is-focused {
border-color: transparent;
color: #fff;
}
.pure-button.is-primary:focus:not(:active), .pure-button.is-primary.is-focused:not(:active) {
box-shadow: 0 0 0 0.125em rgba(0, 209, 178, 0.25);
}
.pure-button.is-primary:active, .pure-button.is-primary.is-active {
background-color: #00b89c;
border-color: transparent;
color: #fff;
}
.pure-button.is-primary[disabled] {
background-color: #00d1b2;
border-color: transparent;
box-shadow: none;
}
.pure-button.is-success {
background-color: #23d160;
border-color: transparent;
color: #fff;
}
.pure-button.is-success:hover, .pure-button.is-success.is-hovered {
background-color: #22c65b;
border-color: transparent;
color: #fff;
}
.pure-button.is-success:focus, .pure-button.is-success.is-focused {
border-color: transparent;
color: #fff;
}
.pure-button.is-success:focus:not(:active), .pure-button.is-success.is-focused:not(:active) {
box-shadow: 0 0 0 0.125em rgba(35, 209, 96, 0.25);
}
.pure-button.is-success:active, .pure-button.is-success.is-active {
background-color: #20bc56;
border-color: transparent;
color: #fff;
}
.pure-button.is-success[disabled] {
background-color: #23d160;
border-color: transparent;
box-shadow: none;
}
.pure-button.is-warning {
background-color: #ffdd57;
border-color: transparent;
color: rgb(0, 0, 0);
color: rgba(0, 0, 0, 0.7);
}
.pure-button.is-warning:hover, .pure-button.is-warning.is-hovered {
background-color: #ffdb4a;
border-color: transparent;
color: rgb(0, 0, 0);
color: rgba(0, 0, 0, 0.7);
}
.pure-button.is-warning:focus, .pure-button.is-warning.is-focused {
border-color: transparent;
color: rgb(0, 0, 0);
color: rgba(0, 0, 0, 0.7);
}
.pure-button.is-warning:focus:not(:active), .pure-button.is-warning.is-focused:not(:active) {
box-shadow: 0 0 0 0.125em rgba(255, 221, 87, 0.25);
}
.pure-button.is-warning:active, .pure-button.is-warning.is-active {
background-color: #ffd83d;
border-color: transparent;
color: rgb(0, 0, 0);
color: rgba(0, 0, 0, 0.7);
}
.pure-button.is-warning[disabled] {
background-color: #ffdd57;
border-color: transparent;
box-shadow: none;
}
.select {
height: 2.25em;
}
/*.pure-form .select{
display:block;
}*/
.select {
/*display: inline-block;*/
display: grid;
max-width: 100%;
position: relative;
vertical-align: top;
background-color: yellow;
}
.select::after {
border: 4px solid transparent;
border-radius: 2px;
border-right: 0;
border-top: 0;
content: " ";
display: block;
height: .325em;
margin-top: -.4375em;
pointer-events: none;
position: absolute;
top: 50%;
-o-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
-o-transform-origin: center;
-ms-transform-origin: center;
-moz-transform-origin: center;
-webkit-transform-origin: center;
transform-origin: center;
width: .325em;
}
.select::after {
border-color: #51565c;
/*right: 2.125em;*/
right: 1.2em;
z-index: 4;
}
.select select:not([multiple]) {
padding-right: 2.5em;
}
.select select {
background-color: #fff;
border-color: #dbdbdb;
cursor: pointer;
display: block;
max-width: 100%;
outline: 0;
}
.select select {
-moz-appearance: none;
-webkit-appearance: none;
/* border: 1px solid transparent; */
border-radius: 4px;
box-shadow: none;
/* display: inline-flex; */
/* font-size: 1rem; */
height: 2.25em;
/* justify-content: flex-start; */
/* line-height: 1.5; */
padding: calc(.375em - 1px) calc(.625em - 1px) calc(.375em - 1px) calc(.625em - 1px);
position: relative;
vertical-align: top;
}
.pure-form input[type="text"] {
-moz-appearance: none;
-webkit-appearance: none;
border-color: #dbdbdb;
box-shadow: none;
height: 2.25em;
}
.pure-form textarea {
-moz-appearance: none;
-webkit-appearance: none;
border-color: #dbdbdb;
box-shadow: none;
}
.pure-form legend {
font-weight:bold;
}
.pure-form-message-inline {
color: #7a7a7a;
font-size: 0.675em;
}
.pure-div {
padding-top:10px;
}
.pure-form-aligned .pure-control-group label {
text-align: left;
/*display: inline-block;
vertical-align: middle;
width: 10em;
margin: 0 1em 0 0;*/
}
/* Sidebar */
.sidebar {
border-left: 1px solid #E3E0D8;
padding-left: 55px;
}
.sidebar h4 {
margin-top: 0;
}
.sidebar ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.sidebar li {
font-size: 0.8945em;
line-height: 1.7;
}
.sidebar .widget-blog {
padding-bottom: 50px;
}
.sidebar a {
color: #57534A;
}
.sidebar a:hover {
/*color:#00CA4C;*/
color: #bb2222;
}
.sidebar ul ul {
margin-bottom: 1em;
}
.sidebar .menu li a {
font-weight: bold;
}
.sidebar .menu li li a {
font-weight: normal;
}
.sidebar .menu li.active > a {
color: #bb2222;
}
.highlight pre {
font-size: 1.1em;
}
.slider {
background: #3abac4;
}
2019-04-23 11:30:22 +00:00
2018-08-29 15:18:15 +00:00
.dropbox {
outline: 2px dashed grey; /* the dash box */
outline-offset: -10px;
background: lightcyan;
color: dimgray;
padding: 10px 0;
min-height: 200px; /* minimum height */
position: relative;
cursor: pointer;
}
.input-file {
opacity: 0; /* invisible but it's there! */
width: 100%;
height: 200px;
position: absolute;
cursor: pointer;
}
.dropbox:hover {
background: lightblue; /* when mouse over to the drop zone, change color */
}
.dropbox p {
font-size: 1.2em;
text-align: center;
padding: 50px 0;
}
span.remove-file{
color: red;
cursor: pointer;
/* float: right; */
}
2019-04-08 16:31:40 +00:00
2019-04-15 16:45:50 +00:00
2019-04-23 11:30:22 +00:00
2019-04-08 16:31:40 +00:00
.pure-table tr.inprogress {
padding: 0.8em;
background-color: paleturquoise;
2019-04-11 16:52:10 +00:00
color: gray;
2019-04-08 16:31:40 +00:00
}
.pure-table tr.released {
background-color: greenyellow;
2019-04-11 16:52:10 +00:00
color: gray;
2019-04-08 16:31:40 +00:00
}
2019-04-10 08:54:15 +00:00
.pure-table tr.editor_accepted {
padding: 0.8em;
background-color: lightblue;
2019-04-11 16:52:10 +00:00
color: gray;
2019-04-10 08:54:15 +00:00
}
2019-05-21 16:28:18 +00:00
.pure-table tr.rejected_reviewer {
padding: 0.8em;
background-color: orange;
color: gray;
}
.pure-table tr.rejected_editor {
padding: 0.8em;
background-color: orange;
color: gray;
}
.pure-table tr.reviewed {
padding: 0.8em;
background-color: yellow;
color: gray;
}
2019-04-11 16:52:10 +00:00
.pure-table tr.approved {
padding: 0.8em;
background-color: rgb(86, 86, 241);
color: whitesmoke;
2019-04-10 08:54:15 +00:00
2019-04-11 16:52:10 +00:00
}
2019-04-17 14:01:38 +00:00
.pure-table tr.reviewed {
padding: 0.8em;
background-color: #ffed4a;
}
2019-04-08 16:31:40 +00:00
2019-04-15 16:45:50 +00:00
[v-cloak] > * { display:none; }
[v-cloak]::before { content: "loading..."; }
2019-04-08 16:31:40 +00:00
2019-04-16 12:35:16 +00:00
2019-04-08 16:31:40 +00:00
.help {
display: block;
2019-04-17 14:01:38 +00:00
font-size: 12px;
2019-04-08 16:31:40 +00:00
margin-top: 0.25rem;
}
.help.is-danger {
color: #ff3860;
}
2019-04-17 14:01:38 +00:00
.help.is-info {
color: #4dc0b5;
}
i {
cursor: pointer;
}
2018-08-29 15:18:15 +00:00