Skip to content
Snippets Groups Projects
Commit 560c7feb authored by Valery Sizov's avatar Valery Sizov
Browse files

build.scss: css to scss refactoring

parent f821c2d1
No related branches found
No related tags found
No related merge requests found
pre.trace {
background: #111111;
color: #fff;
font-family: 'monospace';
font-family: $monospace_font;
white-space: pre;
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
Loading
Loading
@@ -17,84 +17,85 @@ pre.trace {
font-size: 24px;
margin-left: 20px;
}
}
pre.trace p a::before {
content: counter(line-numbering);
counter-increment: line-numbering;
padding-right: 1em;
}
 
pre.trace p a {
display: inline-block;
text-align: right;
min-width: 40px;
margin-left: -33px;
cursor: pointer;
text-decoration: none;
color: #666;
}
pre.trace p {
position: relative;
padding: 0 15px 0 55px;
margin: 0;
min-height: 16px;
}
pre.trace .fold {
position: relative;
height: 16px;
overflow: hidden;
cursor: pointer;
}
pre.trace .fold p:first-of-type {
background: #333 url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTAiIHdpZHRoPSIxMCI+CjxwYXRoIGQ9Im0wLjUsMS41LDQuNSw3LDQuNS03eiIgc3Ryb2tlPSIjNTU1IiBzdHJva2Utd2lkdGg9IjAuNSIgZmlsbD0iIzY2NiIvPgo8L3N2Zz4KCg==') no-repeat 8px 3px
}
.duration {
position: absolute;
z-index: 1;
display: block;
top: 2px;
right: 12px;
padding: 0px 7px 0px 7px;
line-height: 10px;
font-size: 10px;
background-color: #666;
border-radius: 6px;
color: #bbb;
}
.fold {
position: relative;
height: 16px;
overflow: hidden;
cursor: pointer;
p:first-of-type {
padding-right: 190px;
}
.fold-name {
position: absolute;
z-index: 1;
display: block;
top: 2px;
right: 85px;
padding: 0px 7px 0px 7px;
line-height: 10px;
font-size: 10px;
background-color: #666;
border-radius: 6px;
color: #bbb;
}
}
 
pre.trace .fold:not(.open) p:first-of-type {
visibility: visible;
height: auto;
min-height: 16px;
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTAiIHdpZHRoPSIxMCI+CjxwYXRoIGQ9Ik0yLDksOSw1LDIsMXoiIHN0cm9rZT0iIzU1NSIgc3Ryb2tlLXdpZHRoPSIwLjUiIGZpbGw9IiM2NjYiLz4KPC9zdmc+Cgo=')
}
.fold:not(.open) p:first-of-type {
visibility: visible;
height: auto;
min-height: 16px;
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTAiIHdpZHRoPSIxMCI+CjxwYXRoIGQ9Ik0yLDksOSw1LDIsMXoiIHN0cm9rZT0iIzU1NSIgc3Ryb2tlLXdpZHRoPSIwLjUiIGZpbGw9IiM2NjYiLz4KPC9zdmc+Cgo=')
}
 
pre.trace .fold p:first-of-type {
padding-right: 190px;
}
.fold.open {
height: auto;
}
 
pre.trace .fold.open {
height: auto;
}
p:first-of-type {
background: #333 url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTAiIHdpZHRoPSIxMCI+CjxwYXRoIGQ9Im0wLjUsMS41LDQuNSw3LDQuNS03eiIgc3Ryb2tlPSIjNTU1IiBzdHJva2Utd2lkdGg9IjAuNSIgZmlsbD0iIzY2NiIvPgo8L3N2Zz4KCg==') no-repeat 8px 3px
}
 
pre.trace .fold .fold-name {
position: absolute;
z-index: 1;
display: block;
top: 2px;
right: 85px;
padding: 0px 7px 0px 7px;
line-height: 10px;
font-size: 10px;
background-color: #666;
border-radius: 6px;
color: #bbb;
p {
position: relative;
padding: 0 15px 0 55px;
margin: 0;
min-height: 16px;
a::before {
content: counter(line-numbering);
counter-increment: line-numbering;
padding-right: 1em;
}
a {
display: inline-block;
text-align: right;
min-width: 40px;
margin-left: -33px;
cursor: pointer;
text-decoration: none;
color: #666;
}
}
}
 
pre.trace .duration {
position: absolute;
z-index: 1;
display: block;
top: 2px;
right: 12px;
padding: 0px 7px 0px 7px;
line-height: 10px;
font-size: 10px;
background-color: #666;
border-radius: 6px;
color: #bbb;
}
 
.autoscroll-container {
position: fixed;
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment