mitmproxy/libmproxy/web/static/app.css

395 lines
7.3 KiB
CSS
Raw Normal View History

2014-09-14 00:44:13 +00:00
html {
2014-09-18 21:22:02 +00:00
box-sizing: border-box;
2014-09-14 00:44:13 +00:00
}
*,
*:before,
*:after {
2014-09-18 21:22:02 +00:00
box-sizing: inherit;
2014-09-14 00:44:13 +00:00
}
.resource-icon {
width: 32px;
height: 32px;
}
.resource-icon-css {
background-image: url(images/chrome-devtools/resourceCSSIcon.png);
}
.resource-icon-document {
background-image: url(images/chrome-devtools/resourceDocumentIcon.png);
}
.resource-icon-js {
background-image: url(images/chrome-devtools/resourceJSIcon.png);
}
.resource-icon-plain {
background-image: url(images/chrome-devtools/resourcePlainIcon.png);
}
.resource-icon-executable {
background-image: url(images/resourceExecutableIcon.png);
}
.resource-icon-flash {
background-image: url(images/resourceFlashIcon.png);
}
.resource-icon-image {
background-image: url(images/resourceImageIcon.png);
}
.resource-icon-java {
background-image: url(images/resourceJavaIcon.png);
}
.resource-icon-not-modified {
background-image: url(images/resourceNotModifiedIcon.png);
}
.resource-icon-redirect {
background-image: url(images/resourceRedirectIcon.png);
}
2014-09-14 00:44:13 +00:00
html,
body,
#container {
height: 100%;
margin: 0;
overflow: hidden;
}
#container {
2014-09-15 16:08:26 +00:00
display: flex;
2014-09-18 21:22:02 +00:00
flex-direction: column;
2014-09-14 00:44:13 +00:00
}
2014-09-15 16:08:26 +00:00
#container > header,
#container > footer,
#container > .eventlog {
2014-09-18 21:22:02 +00:00
flex: 0 0 auto;
2014-09-18 19:13:50 +00:00
}
.main-view {
2014-09-18 21:22:02 +00:00
flex: 1 1 auto;
2014-09-18 19:13:50 +00:00
display: flex;
2014-09-18 21:22:02 +00:00
flex-direction: row;
2014-09-22 01:06:19 +00:00
outline: 0;
2014-09-18 19:13:50 +00:00
}
.main-view.vertical {
2014-09-18 21:22:02 +00:00
flex-direction: column;
2014-09-18 19:13:50 +00:00
}
.main-view .flow-detail,
.main-view .flow-table {
2014-09-18 21:22:02 +00:00
flex: 1 1 auto;
}
.splitter {
2014-09-18 21:47:54 +00:00
flex: 0 0 1px;
background-color: #aaa;
position: relative;
2014-09-18 21:22:02 +00:00
}
2014-09-18 21:47:54 +00:00
.splitter > div {
position: absolute;
}
.splitter.splitter-x {
2014-09-18 21:22:02 +00:00
cursor: col-resize;
}
2014-09-18 21:47:54 +00:00
.splitter.splitter-x > div {
margin-left: -1px;
width: 4px;
height: 100%;
}
.splitter.splitter-y {
2014-09-18 21:22:02 +00:00
cursor: row-resize;
2014-09-18 19:13:50 +00:00
}
2014-09-18 21:47:54 +00:00
.splitter.splitter-y > div {
margin-top: -1px;
height: 4px;
width: 100%;
}
2014-09-18 19:13:50 +00:00
.nav-tabs {
2014-09-14 00:44:13 +00:00
border-bottom: solid #a6a6a6 1px;
}
2014-09-18 19:13:50 +00:00
.nav-tabs a {
2014-09-14 00:44:13 +00:00
display: inline-block;
border: solid transparent 1px;
2014-09-18 19:13:50 +00:00
text-decoration: none;
2014-09-14 00:44:13 +00:00
}
2014-09-18 19:13:50 +00:00
.nav-tabs a.active {
background-color: white;
2014-09-14 00:44:13 +00:00
border-color: #a6a6a6;
border-bottom-color: white;
}
2014-09-18 19:13:50 +00:00
.nav-tabs a.special {
2014-09-14 00:44:13 +00:00
color: white;
background-color: #396cad;
border-bottom-color: #396cad;
}
2014-09-18 19:13:50 +00:00
.nav-tabs a.special:hover {
2014-09-14 00:44:13 +00:00
background-color: #5386c6;
}
2014-09-18 19:13:50 +00:00
.nav-tabs-lg a {
padding: 3px 14px;
margin: 0 2px -1px;
}
.nav-tabs-sm a {
padding: 0px 7px;
margin: 2px 2px -1px;
}
2014-12-25 01:03:55 +00:00
.nav-tabs-sm a.nav-action {
float: right;
padding: 0;
margin: 1px 0 0px;
}
2014-09-18 19:13:50 +00:00
header {
padding-top: 0.5em;
2014-09-18 19:13:50 +00:00
background-color: white;
}
2014-09-14 00:44:13 +00:00
header .menu {
2014-09-15 16:39:25 +00:00
padding: 10px;
2014-09-14 00:44:13 +00:00
border-bottom: solid #a6a6a6 1px;
}
2014-12-26 02:10:24 +00:00
.menu-row {
margin-left: -2.5px;
margin-right: -2.5px;
}
.filter-input {
position: relative;
min-height: 1px;
padding-left: 2.5px;
padding-right: 2.5px;
}
@media (min-width: 992px) {
.filter-input {
float: left;
width: 25%;
}
}
2014-12-13 00:56:04 +00:00
.filter-input .popover {
top: 27px;
display: block;
2014-12-26 02:10:24 +00:00
max-width: none;
2015-03-27 17:51:25 +00:00
opacity: 0.9;
2014-12-26 02:10:24 +00:00
}
.filter-input .popover .popover-content {
max-height: 500px;
overflow-y: auto;
2014-12-13 00:56:04 +00:00
}
2014-09-17 15:30:19 +00:00
.flow-table {
2014-09-18 19:13:50 +00:00
width: 100%;
overflow: auto;
}
.flow-table table {
2014-09-17 15:30:19 +00:00
width: 100%;
table-layout: fixed;
}
.flow-table thead {
2014-09-18 19:13:50 +00:00
background-color: #F2F2F2;
line-height: 23px;
}
.flow-table th {
font-weight: normal;
box-shadow: 0 1px 0 #a6a6a6;
2015-03-17 02:05:59 +00:00
position: relative !important;
padding-left: 1px;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.flow-table th.sort-asc,
.flow-table th.sort-desc {
background-color: #fafafa;
}
.flow-table th.sort-asc:after,
.flow-table th.sort-desc:after {
font: normal normal normal 14px/1 FontAwesome;
position: absolute;
right: 3px;
top: 3px;
padding: 2px;
background-color: rgba(250, 250, 250, 0.8);
}
.flow-table th.sort-asc:after {
content: "\f0de";
}
.flow-table th.sort-desc:after {
content: "\f0dd";
2014-09-18 19:13:50 +00:00
}
2014-09-17 21:59:39 +00:00
.flow-table tr {
cursor: pointer;
}
2014-12-23 00:13:34 +00:00
.flow-table tr:nth-child(even) {
background-color: rgba(0, 0, 0, 0.05);
}
.flow-table tr.selected {
background-color: rgba(193, 215, 235, 0.5) !important;
}
2014-12-23 00:13:34 +00:00
.flow-table tr.highlighted {
background-color: rgba(255, 204, 0, 0.4);
2014-12-23 00:13:34 +00:00
}
.flow-table tr.highlighted:nth-child(even) {
background-color: rgba(255, 204, 0, 0.5);
2014-12-23 00:13:34 +00:00
}
.flow-table td {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
2014-12-23 19:33:42 +00:00
.flow-table tr.intercepted:not(.has-response) .col-path,
.flow-table tr.intercepted:not(.has-response) .col-method {
color: #ff8000;
}
.flow-table tr.intercepted.has-response .col-status,
.flow-table tr.intercepted.has-response .col-size,
.flow-table tr.intercepted.has-response .col-time {
color: #ff8000;
}
2014-12-25 01:03:55 +00:00
.flow-table .fa {
line-height: inherit;
}
.flow-table .fa.pull-right {
margin-left: 0;
}
2014-12-23 19:33:42 +00:00
.flow-table .col-tls {
width: 10px;
}
.flow-table .col-tls-https {
background-color: rgba(0, 185, 0, 0.5);
}
.flow-table .col-icon {
width: 32px;
}
2014-12-25 01:03:55 +00:00
.flow-table .col-path .fa-repeat {
color: green;
}
.flow-table .col-path .fa-pause {
color: #ff8000;
}
.flow-table .col-method {
width: 60px;
}
.flow-table .col-status {
width: 50px;
}
2014-09-18 23:35:36 +00:00
.flow-table .col-size {
width: 70px;
}
.flow-table .col-time {
2014-09-18 19:13:50 +00:00
width: 50px;
}
2014-09-18 23:35:36 +00:00
.flow-table td.col-time,
.flow-table td.col-size {
2014-09-18 19:13:50 +00:00
text-align: right;
}
.flow-detail {
2014-09-18 21:22:02 +00:00
width: 100%;
2015-03-22 01:25:47 +00:00
overflow-x: auto;
overflow-y: scroll;
/*.request .response-line,
.response .request-line {
opacity: 0.7;
}*/
2014-09-18 19:13:50 +00:00
}
.flow-detail nav {
background-color: #F2F2F2;
2014-09-17 15:30:19 +00:00
}
2014-09-18 23:35:36 +00:00
.flow-detail section {
2014-09-21 21:43:27 +00:00
padding: 5px 12px;
2014-09-18 23:35:36 +00:00
}
2014-09-21 21:43:27 +00:00
.flow-detail .first-line {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
background-color: #428bca;
color: white;
margin: 0 -8px;
padding: 4px 8px;
border-radius: 5px;
2014-09-18 23:35:36 +00:00
word-break: break-all;
2014-12-12 18:19:00 +00:00
max-height: 100px;
overflow-y: auto;
2014-09-18 23:35:36 +00:00
}
.flow-detail .request-line {
margin-bottom: 2px;
}
2015-03-21 23:28:08 +00:00
.flow-detail hr {
margin: 0 0 5px;
}
.inline-input {
margin: 0 -5px;
padding: 0 5px;
}
.inline-input[contenteditable] {
background-color: rgba(255, 255, 255, 0.2);
}
.inline-input[contenteditable].has-warning {
color: #ffb8b8;
}
2015-03-22 14:29:55 +00:00
.view-options {
2015-03-21 23:21:38 +00:00
margin-top: 10px;
}
2014-09-19 15:56:54 +00:00
.flow-detail table {
2014-09-18 23:35:36 +00:00
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
width: 100%;
table-layout: fixed;
word-break: break-all;
}
2014-09-22 01:06:19 +00:00
.flow-detail table tr:not(:first-child) {
2014-09-18 23:35:36 +00:00
border-top: 1px solid #f7f7f7;
}
2014-09-19 15:56:54 +00:00
.flow-detail table td {
2014-09-18 23:35:36 +00:00
vertical-align: top;
}
2014-09-19 15:56:54 +00:00
.connection-table td:first-child {
2014-09-22 01:06:19 +00:00
width: 50%;
2014-09-19 15:56:54 +00:00
padding-right: 1em;
}
2015-03-21 23:28:08 +00:00
.header-table td {
line-height: 1.3em;
}
2014-09-18 23:35:36 +00:00
.header-table .header-name {
width: 33%;
padding-right: 1em;
}
2014-09-22 01:06:19 +00:00
.connection-table td,
.timing-table td {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
2015-03-21 23:21:38 +00:00
.flowview-image {
text-align: center;
}
.flowview-image img {
max-width: 100%;
max-height: 100%;
}
2014-09-15 16:08:26 +00:00
.eventlog {
2014-09-22 01:06:19 +00:00
height: 200px;
flex: 0 0 auto;
display: flex;
flex-direction: column;
}
.eventlog > div {
background-color: #F2F2F2;
padding: 0 5px;
2014-09-18 21:22:02 +00:00
flex: 0 0 auto;
2014-09-22 01:06:19 +00:00
}
.eventlog > pre {
flex: 1 1 auto;
2014-09-15 16:08:26 +00:00
margin: 0;
border-radius: 0;
2014-09-22 01:06:19 +00:00
overflow-x: auto;
2014-09-17 13:22:42 +00:00
overflow-y: scroll;
2014-09-22 01:06:19 +00:00
background-color: #fcfcfc;
}
.eventlog .fa-close {
cursor: pointer;
float: right;
color: grey;
padding: 3px 0;
padding-left: 10px;
}
.eventlog .fa-close:hover {
color: black;
}
.eventlog .label {
cursor: pointer;
vertical-align: middle;
display: inline-block;
margin-top: -2px;
margin-left: 3px;
2014-09-15 16:39:25 +00:00
}
2014-09-14 00:44:13 +00:00
footer {
2014-12-09 17:18:14 +00:00
box-shadow: 0 -1px 3px lightgray;
2014-09-15 16:08:26 +00:00
padding: 0px 10px 3px;
2014-09-18 21:22:02 +00:00
}
/*# sourceMappingURL=app.css.map */