wise-web-client
Version:
Based on Spine MVC framework
681 lines (680 loc) • 11.5 kB
CSS
/* ! normalize.css v3.0.1 | MIT License | git.io/normalize */
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
audio,
canvas,
progress,
video {
display: inline-block;
vertical-align: baseline;
}
audio:not([controls]) {
display: none;
height: 0;
}
[hidden],
template {
display: none;
}
a {
background: transparent;
}
a:active,
a:hover {
outline: 0;
}
abbr[title] {
border-bottom: 1px dotted;
}
b,
strong {
font-weight: bold;
}
dfn {
font-style: italic;
}
h1 {
font-size: 2em;
margin: 0.67em 0;
}
mark {
background: #ff0;
color: #000;
}
small {
font-size: 80%;
}
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
img {
border: 0;
}
svg:not(:root) {
overflow: hidden;
}
figure {
margin: 1em 40px;
}
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
pre {
overflow: auto;
}
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
color: inherit;
font: inherit;
margin: 0;
}
button {
overflow: visible;
}
button,
select {
text-transform: none;
}
button,
html input[type="button"] {
-webkit-appearance: button;
cursor: pointer;
}
button[disabled],
html input[disabled] {
cursor: default;
}
button input::-moz-focus-inner {
border: 0;
padding: 0;
}
input {
line-height: normal;
}
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
}
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box;
padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
input[type="search"] {
-webkit-appearance: textfield;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
legend {
border: 0;
padding: 0;
}
textarea {
overflow: auto;
}
optgroup {
font-weight: bold;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}
.relative-helper {
position: relative;
padding: 0px;
}
.hr-helper {
border-bottom: solid 1px #eeeeee;
}
.right-float-helper {
float: right;
}
.no-space-helper {
margin: 0px;
padding: 0px;
}
.bold-helper {
font-weight: 400;
}
.hidden-helper {
display: none;
}
.bottom-right-helper {
position: absolute;
right: 0;
bottom: 0;
}
.bottom-left-helper {
position: absolute;
left: 0;
bottom: 0;
}
.top-right-helper {
position: absolute;
right: 0;
top: 0;
}
.top-left-helper {
position: absolute;
left: 0;
top: 0;
}
.center-helper {
position: absolute;
top: 50%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%);
}
.vertical-center-helper {
position: absolute;
top: 50%;
transform: translateY(-50%);
}
.ellipsis-helper {
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* ---------------------------------------------------
LESS Elements 0.9
---------------------------------------------------
A set of useful LESS mixins
More info at:http://lesselements.com
--------------------------------------------------- */
header {
font-family: Montserrat;
font-weight: 700;
}
#find-input {
font-size: 300%;
height: 300%;
font-weight: 100;
}
#user-status ul li a i {
margin-right: 4px;
}
.app-logo {
background: url('../img/wise-logo.png');
height: 50px;
width: 150px;
background-size: 150px;
background-repeat: no-repeat;
background-position: 0% 25%;
padding-left: 20px;
}
.app-logo span {
color: #1fb2f9;
font-size: 200%;
margin-left: 20px;
}
#query-input {
padding: 5px 27px 6px 12px;
width: 250px;
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 1em;
background: white;
margin-left: 10px;
border: none;
}
.profile-icon {
height: 30px;
width: 30px;
position: absolute;
left: 0;
bottom: 10px;
}
.profile-name {
padding-left: 18px;
}
.navbar {
border-bottom: solid 1px #eeeeee;
margin-bottom: 0px;
z-index: 99;
}
.navbar i {
font-size: 135%;
}
.navbar-form input {
background: #fafafa;
}
.avatar {
margin-left: 8px;
}
.nav-search {
padding: 0;
border: none;
background: none;
position: absolute;
right: 10px;
top: 10px;
font-size: 120%;
color: #b3b3b1;
}
#suggestion-results {
position: absolute;
top: 56px;
z-index: 20;
background: white;
-webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
max-width: 650px;
}
.navbar-inverse .navbar-nav > li > a:hover {
background-color: inherit;
cursor: pointer;
}
.ui-pnotify.stack-bar-top {
right: 0;
top: 0;
}
.ui-pnotify.stack-bar-top .ui-pnotify-icon {
float: left;
margin: 0px 5px 0px 0px;
}
.ui-pnotify.stack-bar-top .ui-pnotify-title {
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 115%;
margin: 0;
display: inline-block;
margin-right: 10px;
font-weight: bold;
}
.ui-pnotify.stack-bar-top .ui-pnotify-text {
display: inline-block;
}
.ui-pnotify.stack-bar-top .ui-pnotify-closer,
.ui-pnotify.stack-bar-top .ui-pnotify-sticker {
float: right;
}
/*
* Custom one style for standard size button
* Add more if necessary
*/
.ladda-button .ladda-spinner {
visibility: hidden;
}
.ladda-button .ladda-spinner {
left: 0px;
}
.ladda-button[data-loading] {
padding-left: 35px;
}
.ladda-button[data-loading],
.ladda-button[data-loading]:hover {
color: #008cba;
background-color: transparent;
}
.ladda-button[data-loading] .ladda-spinner {
visibility: visible;
opacity: 1;
left: 18px;
position: absolute;
top: 50%;
transform: translateY(-50%);
}
.file-uploader {
border: 1px solid #eeeeee;
text-align: left;
margin: 0 auto;
}
.file-uploader div.no-data {
border: dashed 4px #afebfb;
border-radius: 6px;
min-height: 50px;
}
.file-uploader .popover-title {
background: none;
border-bottom: 1px solid #eeeeee;
}
.file-uploader div.upload-control {
padding: 10px;
border-top: solid 1px #eee;
}
.file-uploader .fileinput-button input {
cursor: pointer;
direction: ltr;
margin: 0;
opacity: 0;
position: absolute;
right: 0;
top: 0;
}
.file-uploader .fileinput-button {
overflow: hidden;
position: relative;
}
.file-uploader .message.error {
color: #BD362F;
}
.file-uploader .message.done {
color: #57ba48;
}
.file-uploader div.progress {
position: relative;
}
.file-uploader div.progress div.progress-label {
position: absolute;
width: 100%;
text-align: center;
}
.file-uploader .file .row {
margin: 2px 0px;
}
html,
body {
height: 100%;
}
body {
padding-top: 60px;
}
#page-wrapper {
min-height: 100%;
position: relative;
padding-bottom: 60px;
}
footer {
position: absolute;
background: white;
width: 100%;
bottom: 0px;
height: 60px;
border-top: 1px solid #eee;
padding-top: 20px;
}
footer a,
footer a:hover {
font-size: 85%;
color: #b3b3b1;
text-transform: uppercase;
margin: 0px 10px;
}
.inline-message {
background: #fff59a;
padding: 0 2px;
position: absolute;
right: 2px;
top: 2px;
color: #8d8d8a;
font-size: 80%;
}
input.invalid {
background: #fff59a;
}
input.invalid:focus {
background: white;
}
.input-container {
margin: 12px 0;
min-height: 35px;
}
.form-control {
border: 0;
-webkit-box-shadow: none;
border-radius: 4px;
box-shadow: none;
background: #fafafa;
}
.navbar-nav > li > .dropdown-menu {
margin-top: 4px;
-webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}
.modal-header {
background-color: #428bca;
}
.modal {
top: 60px;
}
.separator {
display: flex;
align-items: center;
text-align: center;
}
.separator::before,
.separator::after {
content: '';
flex: 1;
border-bottom: 1px solid #eeeeee;
}
.separator::before {
margin-right: .25em;
}
.separator::after {
margin-left: .25em;
}
#notice-container {
position: fixed;
z-index: 800;
right: 0;
}
#page-container {
height: 100%;
}
#page-container > div {
height: 100%;
}
#page-wrapper {
position: relative;
overflow: hidden;
width: 100%;
height: 800px;
/* Temp: Simulates a tall page. */
}
#page-canvas {
width: 100%;
height: 100%;
position: relative;
-webkit-transform: translateX(0);
transform: translateX(0);
-webkit-transition: .3s ease all;
transition: .3s ease all;
}
#map {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
#side-menu {
width: 300px;
height: 100%;
position: absolute;
top: 0;
left: -300px;
background: #4081a4;
padding: 15px;
}
#side-menu #second-panel {
height: 100%;
width: 100%;
position: absolute;
background: #65d8f2;
top: 0px;
left: 300px;
}
#side-menu #second-panel.show {
visibility: visible;
}
#side-menu li {
margin: 10px;
font-size: 150%;
}
#side-menu li a {
color: white;
}
#side-menu li.avatar {
margin-bottom: 30px;
}
#side-menu li.avatar .dropdown-menu a {
color: black;
}
#side-menu li.avatar .profile-icon {
position: relative;
}
#side-menu li.avatar .profile-name {
padding-left: 10px;
font-size: 16px;
}
#page-wrapper.show #page-canvas {
-webkit-transform: translateX(300px);
transform: translateX(300px);
}
.canvas-toggle {
position: relative;
float: right;
margin-right: 15px;
padding: 9px 10px;
margin-top: 5.5px;
margin-bottom: 5.5px;
background-color: transparent;
background-image: none;
border: 1px solid transparent;
border-radius: 0;
}
.title-info {
position: absolute;
bottom: 20px;
}
.page-content {
padding: 0px 15px 15px;
}
.fixed {
-webkit-backface-visibility: hidden;
}
.page-title {
height: 150px;
padding-top: 30px;
}
.page-title .nav-tabs {
border-bottom: none;
}
.page-title .nav-tabs > li {
margin-left: 10px;
margin-right: 10px;
}
.page-title .nav-tabs > li.active > a,
.page-title .nav-tabs > li.active > a:hover,
.page-title .nav-tabs > li.active > a:focus {
background: transparent;
border: none;
border-bottom: solid 4px #428bca;
font-weight: bold;
}
.page-title .nav-tabs > li > a {
background: transparent;
border: none;
padding: 5px 0px;
}
.navbar-nav > li > a:hover {
color: #428bca ;
}
.load-indicator {
background: url('../img/ajax-loader.gif') no-repeat;
height: 12px;
width: 18px;
margin: 0 auto;
}
.form-control {
border: solid 2px #d9d9db;
margin: 10px 0;
}
.title-side-text {
padding-top: 25px;
}
.unpop {
color: #b3b3b1;
}
div[role="tabpanel"] {
display: none;
}
body {
background: url('../img/background.png');
}
/* better checkbox */
input[type=checkbox] {
display: none;
}
input[type=checkbox] + label:before {
font-family: FontAwesome;
display: inline-block;
}
input[type=checkbox] + label:before {
content: "\f204";
}
/* unchecked icon */
input[type=checkbox] + label:before {
letter-spacing: 10px;
}
/* space between checkbox and label */
input[type=checkbox]:checked + label:before {
content: "\f205";
}
/* checked icon */
input[type=checkbox]:checked + label:before {
letter-spacing: 10px;
}