MISP/app/webroot/css/main.css

674 lines
11 KiB
CSS
Executable File

/* bootstrap changes */
body{
font-family: "RobotoLight", Arial, sans-serif, "Helvetica Neue", Helvetica;
font-size: 12px;
}
input, button, select, textarea{
font-family: "RobotoLight"
}
button .full-width{
width:100%;
}
.bottom-buffer {
margin-bottom:10px;
}
/*.close{
float:none;
}*/
h2{
font-size: 25px;
clear:both;
}
h3{
font-size: 18px;
line-height: 20px;
}
pre {
font-size: 11px;
}
.nav-list {
padding-right: 5px;
}
.nav-list > li > a {
margin-right: -30px;
}
.navbar-lab .navbar-inner{
background: #FF9900;
}
.navbar-lab .nav > li > a{
text-shadow: none;
}
/* MULTI-LEVEL DROPDOWNS FOR BOOTSTRAP */
.dropdown-menu .sub-menu {
left: 100%;
position: absolute;
top: 0;
visibility: hidden;
margin-top: -1px;
z-index: 2;
}
.dropdown-menu li:hover .sub-menu {
visibility: visible;
display: block;
}
.navbar .sub-menu:before {
border-bottom: 7px solid transparent;
border-left: none;
border-right: 7px solid rgba(0, 0, 0, 0.2);
border-top: 7px solid transparent;
left: -7px;
top: 1px;
}
.navbar .sub-menu:after {
border-top: 6px solid transparent;
border-left: none;
border-right: 6px solid #fff;
border-bottom: 6px solid transparent;
left: 10px;
top: 1px;
left: -6px;
}
ul.nav li.dropdown:hover ul.dropdown-menu{
display: block;
}
th.filter {
white-space:nowrap;
}
th.filter a {
cursor: pointer;
}
td.searchLabel{
opacity: 50;
height: 20px;
padding-top: 4px;
padding-left: 4px;
padding-right: 4px;
vertical-align:top;
background-color: #F2F2F2;
box-shadow: 0px 0px 6px #B2B2B2;
}
td.searchLabelFirst{
opacity: 50;
height: 20px;
padding-top: 4px;
padding-left: 4px;
padding-right: 4px;
vertical-align:top;
background-color: #F2F2F2;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
box-shadow: 0px 0px 6px #B2B2B2;
}
td.searchLabelCancel{
opacity: 50;
height: 20px;
width: 20px;
padding-top: 4px;
padding-left: 5px;
vertical-align:top;
background-color: #FFFFFF;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
box-shadow: 0px 0px 6px #B2B2B2;
}
.dropdown-menu{
top: 90%;
}
form .error-message {
border-color: #b94a48;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
background-color: #f2dede;
}
/* Form */
div.form,
div.index,
div.view {
float:right;
width:85%;
border-left:1px solid #666;
padding:0px 1%;
padding-bottom:40px;
}
div.actions {
float:left;
width:10%;
}
div.actions h3 {
padding-top:0;
color:#777;
}
div.input{
float:left;
width: 230px;
}
div.forminfo{
font-size: 80%;
width: 220px;
opacity: 50;
margin-top: 0px;
margin-bottom: 10px;
float: top;
background-color: #F2F2F2;
border-radius: 5px;
box-shadow: 0px 0px 6px #B2B2B2;
}
div.visualisation{
font-size: 80%;
display: inline-block;
opacity: 50;
margin-top: 0px;
margin-bottom: 10px;
float: top;
background-color: #F2F2F2;
border-radius: 5px;
box-shadow: 5px 5px 6px #B2B2B2;
}
div.message{
font-size: 133%;
opacity: 50;
margin-bottom: 15px;
padding: 5px;
float: top;
color: #FFFFFF;
background-color: #C11B17;
border-radius: 10px;
box-shadow: 5px 5px 8px #B2B2B2;
}
.clear{
clear:both;
}
/** Tables **/
/* Tables */
table.fullwidth {
width:100%;
clear:both;
font-size:12px;
padding:1px;
margin-bottom:10px;
}
table.fullwidth th {
height:28px;
text-transform:uppercase;
font-size:10px;
}
table.fullwidth td{
padding:3px;
margin:1px 0;
text-align:center;
}
td.actions {
text-align: center;
white-space: nowrap;
}
td.short {
width:5%;
white-space: nowrap;
text-align: left;
}
td.shortish {
width:10%;
text-align: left;
}
td.bitwider {
width:20%;
text-align: left;
}
td.highlight1 {
background-color: #0088cc !important;
color: #ffffff !important;
}
td.highlight2 {
background-color: #747170 !important;
color: #ffffff !important;
}
table.fullwidth {
border:1px solid #f0f0f0;
}
table.fullwidth th, table.fullwidth th a {
background:#0088CC;
color:#fff;
text-decoration:none;
}
table.fullwidth tr{
color:#333;
cursor:pointer;
}
table.fullwidth tr:nth-child(2n) {
background:#f9f9f9;
color:#333;
}
table.fullwidth tr:hover{
color:#333;
background: #ffffdd;
}
table.fullwidth th:hover{
color:#fff;
}
.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th {
background-color: #CFEFFF;
}
th a.asc:after {
content: ' ⇣';
}
th a.desc:after {
content: ' ⇡';
}
td.action-links {
text-align: right;
}
.showspaces {
}
/** Scaffold View **/
dl {
line-height: 2em;
margin: 0em 0em;
/*width: 60%;*/
}
dl dd:nth-child(4n+2),
dl dt:nth-child(4n+1) {
background: #f4f4f4;
}
dt {
font-weight: bold;
padding-left: 4px;
vertical-align: top;
width: 12em;
}
dd {
margin-left: 12em;
margin-top: -1.7em;
vertical-align: top;
}
/*NOTIFICATION MESSAGES*/
.block {
text-align: center;
margin: 20px;
height: 500px;
}
.block:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
margin-right: -0.25em;
}
.centered {
display: inline-block;
vertical-align: middle;
width: 230px;
padding: 10px 15px;
border: #a0a0a0 solid 1px;
background: #f5f5f5;
text-align: left;
}
/** Debugging **/
/* SQL log */
.cake-sql-log {
display: block;
clear: both;
background: black;
color: #dddddd;
}
.cake-sql-log tr {
border: #dddddd solid 1px;
}
.cake-sql-log td {
padding: 4px 8px;
text-align: left;
}
.cake-sql-log caption {
color:#fff;
}
/* footer */
.footer {
clear: both;
float: bottom;
width:100%;
bottom:0px;
height:42px;
}
.debugOff {
position:fixed;
}
.debugOn {
position:relative;
}
/* header */
.header {
width:100%;
z-index: 1;
}
/* fonts for logo */
.logoBlue {
color: #0088cc;
text-shadow: #0088cc 0 0 5px;
}
.logoGray {
color: #999999;
}
.glass {
width: 100%;
height: 100%;
position: absolute;
padding: 0;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
background: rgba(0,0,0,0.25);
box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.1), inset 0 10px 20px rgba(255,255,255,0.3), inset 0 -15px 30px rgba(0,0,0,0.3);
}
.footerText {
color: #999999;
}
.footerRightText {
padding-right:20px;
padding-top:12px;
}
.footerLeftText {
float:left;
z-index: 2;
padding-top:12px;
}
.footerCenterText {
padding-top:12px;
position: absolute;
width:100%;
text-align:center;
z-index:1;
}
.privateRedText {
color: #FF0000 !important;
font-weight:bold !important;
}
.discussionBox {
border-collapse: separate;
box-shadow: 5px 5px 5px #888888;
width:100%;
max-width:900px;
}
.discussionBoxTD {
padding-right: 8px;
padding-left: 8px;
border-style: solid;
border-width: 0px;
}
.discussionBoxTDtop {
color: #ffffff;
background-color: #cccccc;
}
.discussionBoxTDbottom {
background-color: #eeeeee;
padding-left: 8px;
padding-bottom: 4px;
padding-top: 4px;
}
.discussionBoxTDMid {
padding-top: 8px;
height: 100px;
vertical-align: top;
}
.discussionBoxTDMidLeft {
background-color: #eeeeee;
width: 80px;
text-align:center;
}
.discussionBoxTDMidRight {
}
.whitelink {
color:#ffffff;
}
.quote {
margin: 0 10px;
margin-bottom: 10px;
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
background: #f2f6f8 none;
border-radius: 0px;
border: 1px solid #417394;
position: relative;
top: 0;
padding: 4px;
}
.loading {
display: none;
text-color: #0088cc;
position: fixed;
top: 50%;
left: 50%;
right: 50%;
bottom: 50%;
}
.loadingText {
color: #0088cc;
position: relative;
top: -45px;
left: 13px;
}
.toggle {
border-radius: 0px !important;
-webkit-border-radius: 0px !important;
-moz-border-radius: 0px !important;
}
.toggle-left {
border-bottom-right-radius: 0px !important;
-webkit-bottom-right-radius: 0px !important;
-moz-border-bottom-right-radius: 0px !important;
border-top-right-radius: 0px !important;
-webkit-top-right-radius: 0px !important;
-moz-border-top-right-radius: 0px !important;
}
.toggle-right {
border-bottom-left-radius: 0px !important;
-webkit-bottom-left-radius: 0px !important;
-moz-border-bottom-left-radius: 0px !important;
border-top-left-radius: 0px !important;
-webkit-top-left-radius: 0px !important;
-moz-border-top-left-radius: 0px !important;
}
.spinner {
height:60px;
width:60px;
margin:0 auto;
position:relative;
-webkit-animation: rotation .6s infinite linear;
-moz-animation: rotation .6s infinite linear;
-o-animation: rotation .6s infinite linear;
animation: rotation .6s infinite linear;
border:6px solid rgba(0,174,239,.15);
border-radius:100%;
}
.spinner:before {
content:"";
display:block;
position:absolute;
left:-6px;
top:-6px;
height:100%;
width:100%;
border-top:6px solid rgba(0,136,204,.8);
border-left:6px solid transparent;
border-bottom:6px solid transparent;
border-right:6px solid transparent;
border-radius:100%;
}
.qet {
padding:1px 5px !important;
font-size:12px !important;
float:left !important;
}
.proposal_span {
padding-right: 25px;
}
a.proposal_link, a.proposal_link_red {
text-decoration:none;
font-weight:normal;
}
a.proposal_link:visited, a.proposal_link:link {
color:#999999;
}
a.proposal_link:hover {
color:white;
}
a.proposal_link_red:visited, a.proposal_link:link {
color:#999999;
}
a.proposal_link_red:hover {
color:red;
}
.tag {
display: inline-block;
padding: 2px 4px;
font-size: 12px;
font-weight: bold;
line-height: 14px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
box-shadow: 3px 3px 3px #888888;
}
.tagFirstHalf {
display: inline-block;
padding: 2px 4px;
font-size: 12px;
font-weight: bold;
line-height: 14px;
-webkit-border-top-left-radius: 3px;
-moz-border-top-left-radius: 3px;
border-top-left-radius: 3px;
-webkit-border-bottom-left-radius: 3px;
-moz-border-bottom-left-radius: 3px;
border-bottom-left-radius: 3px;
box-shadow: 3px 3px 3px #888888;
}
.tagSecondHalf {
display: inline-block;
padding:2px 4px;
font-size: 12px;
font-weight: bold;
line-height: 14px;
-webkit-border-top-right-radius: 3px;
-moz-border-top-right-radius: 3px;
border-top-right-radius: 3px;
-webkit-border-bottom-right-radius: 3px;
-moz-border-bottom-right-radius: 3px;
border-bottom-right-radius: 3px;
box-shadow: 3px 3px 3px #888888;
background-color:black;
color:white;
}
.topGap {
padding-top:100px;
}
@-webkit-keyframes rotation {
from {-webkit-transform: rotate(0deg);}
to {-webkit-transform: rotate(359deg);}
}
@-moz-keyframes rotation {
from {-moz-transform: rotate(0deg);}
to {-moz-transform: rotate(359deg);}
}
@-o-keyframes rotation {
from {-o-transform: rotate(0deg);}
to {-o-transform: rotate(359deg);}
}
@keyframes rotation {
from {transform: rotate(0deg);}
to {transform: rotate(359deg);}