catalogue
Version:
A Mongoose Based Data Viewer
403 lines (402 loc) • 7.58 kB
CSS
body {
padding: 0;
margin: 0;
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', 'sans-serif';
font-size: 10px;
line-height: 14px;
color: #444;
background: #fafafa;
}
a {
color: #666;
}
#header {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 120px;
background: #32393d;
text-align: center;
-webkit-transition: 400ms;
-moz-transition: 400ms;
-o-transition: 400ms;
-ms-transition: 400ms;
transition: 400ms;
cursor: pointer;
}
#header .logo {
float: left;
height: 42px;
margin: 18px 18px;
}
#header .menu-icon {
float: right;
width: 30px;
margin: 30px 24px;
}
#header .menu-icon .line {
float: right;
width: 18px;
height: 1px;
margin: 2px;
background: #ccc;
}
#overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: -webkit-linear-gradient(top, #1d2023 20%, rgba(29, 32, 35, 0.97) 40%);
background-image: linear-gradient(to bottom, #1d2023 20%, rgba(29, 32, 35, 0.97) 40%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff1d2023', endColorstr='#f71d2023', GradientType=0);
z-index: 999;
display: none;
padding: 60px 90px 120px 90px;
overflow: auto;
}
#overlay .logo {
float: left;
height: 42px;
margin-left: -12px;
margin-bottom: 120px;
}
#overlay a {
float: left;
width: 100%;
text-decoration: none;
font-size: 21px;
text-transform: uppercase;
line-height: 36px;
color: #666;
}
#overlay a:hover {
color: #fff;
}
#results-container {
position: fixed;
top: 120px;
left: 0;
right: 0;
bottom: 48px;
overflow: auto;
}
#document-view {
position: fixed;
top: 180px;
left: 0;
right: 0;
bottom: 0;
overflow: auto;
}
#subheader {
position: fixed;
top: 120px;
left: 0px;
right: 0;
height: 60px;
line-height: 60px;
background: #eee;
}
#subheader .title {
float: left;
padding: 0 24px;
font-size: 14px;
text-transform: uppercase;
font-weight: bold;
color: #888;
text-decoration: none;
}
#subheader .title .icon {
float: left;
width: 12px;
margin-top: 24px;
padding-right: 18px;
opacity: 0.5;
filter: alpha(opacity=50);
}
#subheader .actions {
float: right;
}
#subheader .btn {
float: left;
height: 60px;
padding: 0 30px;
margin: 0;
border: none;
border-left: 1px solid #ddd;
background: #eee;
font-size: 10px;
text-transform: uppercase;
font-family: 'Arial';
font-weight: bold;
color: #777;
cursor: pointer;
}
#subheader .btn:hover {
background: #e5e5e5;
}
.CodeMirror {
height: 100% ;
width: 100%;
}
.model-table {
width: 100%;
border-collapse: collapse;
}
.model-table th {
text-align: left;
color: #99B5B2;
background: #32393d;
border-left: 1px solid #444;
padding: 0 12px 12px 12px;
text-transform: uppercase;
font-size: 10px;
line-height: 10px;
}
.model-table th:first-child {
border: none;
padding-left: 18px;
}
.model-table tr:nth-child(odd) {
background: #f4f4f4 ;
}
.model-table tr:hover td {
background: #e6f3eb;
border-color: #F2F2C6;
border-right: 1px solid #F2F2C6 ;
color: #406B68;
}
.model-table tr:hover a {
color: #406B68;
}
.model-table tr:hover .icon {
opacity: 0.7;
filter: alpha(opacity=70);
}
.model-table td {
font-family: 'Verdana', 'PT Mono';
border-right: 1px solid #eee;
}
.model-table td:first-child {
padding-left: 12px;
}
.cell-wrap {
float: left;
width: 90%;
margin: 6px 12px 6px 12px;
height: 18px;
line-height: 18px;
overflow: hidden;
text-overflow: ellipsis;
}
.cell-wrap a {
float: left;
color: #888;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-decoration: none;
}
.cell-wrap .icon {
position: relative;
top: 1px;
padding: 0 3px;
width: 10px;
opacity: 0;
filter: alpha(opacity=0);
}
#footer {
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: 48px;
line-height: 48px;
text-align: center;
background: #e1e1e1;
z-index: 2;
font-size: 10px;
text-transform: uppercase;
font-weight: bold;
color: #777;
overflow: hidden;
}
#footer a {
color: #777;
display: inline-block;
height: 48px;
line-height: 48px;
padding: 0 24px;
margin: 0;
text-decoration: none;
cursor: pointer;
-webkit-transition: 400ms;
-moz-transition: 400ms;
-o-transition: 400ms;
-ms-transition: 400ms;
transition: 400ms;
}
#footer a:hover {
background: #d5d5d5;
}
#footer .btn-arrow {
display: none;
padding: 18px 24px;
margin: 0 6px;
}
#footer .btn-add {
float: left;
}
#footer .btn-add .icon {
float: left;
width: 18px;
margin: 16px 0;
opacity: 0.6;
filter: alpha(opacity=60);
}
#footer #view-options {
float: right;
}
.modal-overlay {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1040;
background: rgba(0, 0, 0, 0.3);
display: none;
}
.modal-overlay .modal-window {
position: fixed;
top: 50%;
left: 50%;
z-index: 1050;
background: #f8f8f8;
width: 500px;
margin-top: -240px;
margin-left: -250px;
-webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
-ms-box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}
.modal-overlay .modal-titlebar {
float: left;
width: 100%;
height: 65px;
line-height: 65px;
background: #fcfcfc;
border-bottom: 1px solid #eee;
}
.modal-overlay .modal-titlebar .title {
float: left;
padding: 0 30px;
font-size: 13px;
text-transform: uppercase;
font-weight: bold;
color: #6E8F93;
}
.modal-overlay .modal-titlebar .actions {
float: right;
height: 65px;
cursor: pointer;
}
.modal-overlay .modal-titlebar .actions:hover {
background: #f5f5f5;
}
.modal-overlay .modal-titlebar .icon {
float: left;
height: 18px;
padding: 24px 30px;
opacity: 0.5;
filter: alpha(opacity=50);
}
.modal-overlay .modal-toolbar {
float: left;
width: 100%;
border-top: 1px solid #ddd;
background: #e5e5e5;
}
.modal-overlay .modal-toolbar .btn-submit {
float: right;
width: 90px;
height: 30px;
line-height: 30px;
margin: 9px 12px;
font-weight: bold;
font-size: 10px;
text-transform: uppercase;
text-align: center;
border: none;
background: #6E8F93;
color: #fff;
font-family: 'Arial';
}
.modal-overlay .modal-padding {
padding: 12px 12px 12px 30px;
}
.modal-overlay .modal-container {
float: left;
width: 100%;
background: #f3f3f3;
}
.modal-overlay .modal-container td {
vertical-align: top;
border-bottom: 1px solid #e5e5e5;
padding: 6px 0;
}
.modal-overlay .modal-container tr:last-child td {
border: none;
}
.modal-overlay .modal-container .label {
float: left;
text-transform: uppercase;
font-size: 10px;
font-weight: bold;
color: #666;
padding: 12px 0;
}
.modal-overlay .modal-container input,
.modal-overlay .modal-container textarea {
float: left;
width: 95%;
border: 1px solid #e5e5e5;
-webkit-appearance: none;
background: #fafafa;
outline: none;
font-size: 16px;
line-height: 24px;
padding: 6px 2%;
font-family: 'Arial';
color: #666;
}
.modal-overlay .modal-container textarea {
height: 54px;
}
.modal-overlay .modal-container select {
border: 1px solid #e5e5e5;
background: #fafafa;
color: #666;
width: 99%;
padding: 9px 2%;
font-size: 16px;
line-height: 1;
border-radius: 0;
-webkit-appearance: none;
outline: none;
font-family: 'Arial';
}
#model-prompt {
padding: 24px;
}
#model-prompt textarea {
width: 600px;
height: 150px;
padding: 12px;
font-size: 20px;
border: 1px solid #474747;
}