profoundjs
Version:
Profound.js Framework and Server
479 lines (406 loc) • 8 kB
CSS
html, body, div.main-container {
height: calc(100% - 10px);
width: 98%;
margin: 0;
margin-left: 1%;
}
div.slider-container {
margin-top: 5px;
}
div.info-container {
margin-top: 8px;
margin-left: 10px;
}
div.code-container {
margin-top: 15px;
padding: 10px;
overflow: auto;
height: calc(100% - 110px);
border-radius: 10px;
cursor: default;
}
pre {
margin: 0;
border-bottom: 1px solid transparent;
display: flex;
}
pre.current-line {
border-bottom: 1px solid green;
}
pre.covered {
background-color: #114411;
}
span.step {
color: #999;
font-family: sans-serif;
font-weight: bold;
}
select.file-dropdown {
border: 0;
margin-left: 10px;
margin-right: 10px;
color: #666;
font-family: monospace;
font-size: 16px;
font-weight: bold;
}
input.log-slider {
-webkit-appearance: none; /* Override default CSS styles */
appearance: none;
width: 100%; /* Full-width */
height: 25px; /* Specified height */
background: #ddd; /* Grey background */
opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
-webkit-transition: .2s; /* 0.2 seconds transition on hover */
transition: opacity .2s;
border: 1px solid #999;
border-radius: 10px;
}
/* Mouse-over effects */
.log-slider:hover {
opacity: 1; /* Fully shown on mouse-over */
}
/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.log-slider::-webkit-slider-thumb {
-webkit-appearance: none; /* Override default look */
appearance: none;
width: 10px; /* Set a specific slider handle width */
height: 20px; /* Slider handle height */
border-radius: 30%;
background: #00008B;
cursor: pointer; /* Cursor on hover */
}
.log-slider::-moz-range-thumb {
width: 25px; /* Set a specific slider handle width */
height: 25px; /* Slider handle height */
background: #04AA6D; /* Green background */
cursor: pointer; /* Cursor on hover */
}
div.jscode {
float: left;
width: 50%;
overflow: hidden;
}
div.rpgcode {
float: right;
width: 50%;
}
div.step-list {
position: absolute;
border: 2px solid #999;
border-radius: 10px;
background-color: #eee;
padding: 5px;
max-height: 300px;
overflow: auto;
}
div.step-list a {
color: blue;
font-family: Sans-serif;
font-size: 12px;
}
div.step-list a:hover {
background-color: #ccc;
}
div.step-list span.step-details {
color: #57a64a;
font-style: italic;
font-family: monospace;
}
.d2h-wrapper {
text-align: left
}
.d2h-file-header {
height: 35px;
padding: 5px 10px;
border-bottom: 1px solid #d8d8d8;
background-color: #f7f7f7
}
.d2h-file-stats {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
margin-left: auto;
font-size: 14px
}
.d2h-lines-added {
text-align: right;
border: 1px solid #b4e2b4;
border-radius: 5px 0 0 5px;
color: #399839;
padding: 2px;
vertical-align: middle
}
.d2h-lines-deleted {
text-align: left;
border: 1px solid #e9aeae;
border-radius: 0 5px 5px 0;
color: #c33;
padding: 2px;
vertical-align: middle;
margin-left: 1px
}
.d2h-file-name-wrapper {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: 100%;
font-family: Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif;
font-size: 15px
}
.d2h-file-name {
white-space: nowrap;
text-overflow: ellipsis;
overflow-x: hidden
}
.d2h-file-wrapper {
border: 1px solid #ddd;
border-radius: 3px;
margin-bottom: 1em
}
.d2h-diff-table {
width: 100%;
border-collapse: collapse;
font-family: Menlo, Consolas, monospace;
font-size: 13px
}
.d2h-files-diff {
display: block;
width: 100%;
height: 100%
}
.d2h-file-diff {
overflow-y: hidden
}
.d2h-file-side-diff {
display: inline-block;
overflow-x: scroll;
overflow-y: hidden;
width: 50%;
margin-right: -4px;
margin-bottom: -8px
}
.d2h-code-line {
padding: 0 8em
}
.d2h-code-line,
.d2h-code-side-line {
display: inline-block;
white-space: nowrap;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
width: 100%
}
.d2h-code-side-line {
padding: 0 4.5em
}
.d2h-code-line-ctn {
display: inline-block;
background: none;
padding: 0;
word-wrap: normal;
white-space: pre;
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
width: 100%;
vertical-align: middle
}
.d2h-code-line del,
.d2h-code-side-line del {
background-color: #ffb6ba
}
.d2h-code-line del,
.d2h-code-line ins,
.d2h-code-side-line del,
.d2h-code-side-line ins {
display: inline-block;
margin-top: -1px;
text-decoration: none;
border-radius: .2em;
vertical-align: middle
}
.d2h-code-line ins,
.d2h-code-side-line ins {
background-color: #97f295;
text-align: left
}
.d2h-code-line-prefix {
display: inline;
background: none;
padding: 0;
word-wrap: normal;
white-space: pre
}
.line-num1 {
float: left
}
.line-num1,
.line-num2 {
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 3.5em;
overflow: hidden;
text-overflow: ellipsis;
padding: 0 .5em
}
.line-num2 {
float: right
}
.d2h-code-linenumber {
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 7.5em;
position: absolute;
display: inline-block;
background-color: #fff;
color: rgba(0, 0, 0, .3);
text-align: right;
border: solid #eee;
border-width: 0 1px;
cursor: pointer
}
.d2h-code-linenumber:after {
content: "\200b"
}
.d2h-code-side-linenumber {
position: absolute;
display: inline-block;
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 4em;
background-color: #fff;
color: rgba(0, 0, 0, .3);
text-align: right;
border: solid #eee;
border-width: 0 1px;
cursor: pointer;
overflow: hidden;
text-overflow: ellipsis;
padding: 0 .5em
}
.d2h-code-side-linenumber:after {
content: "\200b"
}
.d2h-code-side-emptyplaceholder,
.d2h-emptyplaceholder {
background-color: #f1f1f1;
border-color: #e1e1e1
}
.d2h-code-line-prefix,
.d2h-code-linenumber,
.d2h-code-side-linenumber,
.d2h-emptyplaceholder {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none
}
.d2h-code-linenumber,
.d2h-code-side-linenumber {
direction: rtl
}
.d2h-del {
background-color: #fee8e9;
border-color: #e9aeae
}
.d2h-ins {
background-color: #dfd;
border-color: #b4e2b4
}
.d2h-info {
background-color: #f8fafd;
color: rgba(0, 0, 0, .3);
border-color: #d5e4f2
}
.d2h-file-diff .d2h-del.d2h-change {
background-color: #fdf2d0
}
.d2h-file-diff .d2h-ins.d2h-change {
background-color: #ded
}
.d2h-file-list-wrapper {
margin-bottom: 10px
}
.d2h-file-list-wrapper a {
text-decoration: none;
color: #3572b0
}
.d2h-file-list-wrapper a:visited {
color: #3572b0
}
.d2h-file-list-header {
text-align: left
}
.d2h-file-list-title {
font-weight: 700
}
.d2h-file-list-line {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
text-align: left
}
.d2h-file-list {
display: block;
list-style: none;
padding: 0;
margin: 0
}
.d2h-file-list>li {
border-bottom: 1px solid #ddd;
padding: 5px 10px;
margin: 0
}
.d2h-file-list>li:last-child {
border-bottom: none
}
.d2h-file-switch {
display: none;
font-size: 10px;
cursor: pointer
}
.d2h-icon {
vertical-align: middle;
margin-right: 10px;
fill: currentColor
}
.d2h-deleted {
color: #c33
}
.d2h-added {
color: #399839
}
.d2h-changed {
color: #d0b44c
}
.d2h-moved {
color: #3572b0
}
.d2h-tag {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
font-size: 10px;
margin-left: 5px;
padding: 0 2px;
background-color: #fff
}
.d2h-deleted-tag {
border: 1px solid #c33
}
.d2h-added-tag {
border: 1px solid #399839
}
.d2h-changed-tag {
border: 1px solid #d0b44c
}
.d2h-moved-tag {
border: 1px solid #3572b0
}