mitmproxy/libmproxy/web/static/css/app.css

279 lines
5.1 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 {
2014-09-17 21:59:39 +00:00
background-image: url(../images/chrome-devtools/resourceCSSIcon.png);
}
.resource-icon-document {
2014-09-17 21:59:39 +00:00
background-image: url(../images/chrome-devtools/resourceDocumentIcon.png);
}
.resource-icon-js {
2014-09-17 21:59:39 +00:00
background-image: url(../images/chrome-devtools/resourceJSIcon.png);
}
.resource-icon-plain {
2014-09-17 21:59:39 +00:00
background-image: url(../images/chrome-devtools/resourcePlainIcon.png);
}
.resource-icon-executable {
2014-09-17 21:59:39 +00:00
background-image: url(../images/resourceExecutableIcon.png);
}
.resource-icon-flash {
2014-09-17 21:59:39 +00:00
background-image: url(../images/resourceFlashIcon.png);
}
.resource-icon-image {
2014-09-17 21:59:39 +00:00
background-image: url(../images/resourceImageIcon.png);
}
.resource-icon-java {
2014-09-17 21:59:39 +00:00
background-image: url(../images/resourceJavaIcon.png);
}
.resource-icon-not-modified {
2014-09-17 21:59:39 +00:00
background-image: url(../images/resourceNotModifiedIcon.png);
}
.resource-icon-redirect {
2014-09-17 21:59:39 +00:00
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;
}
header {
background-color: white;
}
header .title-bar {
line-height: 25px;
text-align: center;
}
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-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;
}
2014-09-17 21:59:39 +00:00
.flow-table tr {
cursor: pointer;
}
.flow-table tr.selected {
background-color: rgba(193, 215, 235, 0.5) !important;
}
.flow-table td {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
2014-09-17 21:59:39 +00:00
.flow-table tr:nth-child(even) {
background-color: rgba(0, 0, 0, 0.05);
}
.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;
}
.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%;
2014-09-18 19:13:50 +00:00
overflow: auto;
}
.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
}
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;
}
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;
}
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=../css/app.css.map */