Pony.fm/resources/assets/styles/profiler.less

188 lines
3.4 KiB
Text
Raw Normal View History

/**
* Pony.fm - A community for pony fan music.
* Copyright (C) 2015 Peter Deltchev
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
2015-09-12 13:19:18 +02:00
html {
.profiler-open {
2015-10-25 03:35:37 +01:00
header, .site-body {
margin-right: 403px;
}
.profiler {
width: 400px;
height: 100%;
background: rgba(0, 0, 0, .85);
border-left: 3px solid #111;
.buttons {
padding: 5px;
background: #222;
.clear-button {
display: block;
}
.open-button {
font-size: inherit;
padding: 2px 10px;
text-indent: 0px;
i:before {
content: "\f077";
}
}
}
.requests {
display: block;
}
}
2015-09-12 13:19:18 +02:00
}
}
.profiler {
position: fixed;
top: 0px;
right: 0px;
height: auto;
z-index: 1000;
font-size: 8pt;
color: #fff;
.buttons {
2015-10-25 03:35:37 +01:00
overflow: hidden;
> a {
float: right;
padding: 2px 10px;
background: #e67e22;
color: #fff;
&:hover {
text-decoration: none;
}
}
.clear-button {
margin-right: 5px;
display: none;
}
.open-button {
font-size: 1pt;
padding: 2px;
text-indent: -1000px;
overflow: hidden;
}
2015-09-12 13:19:18 +02:00
}
ul {
2015-10-25 03:35:37 +01:00
list-style: none;
padding: 0px;
margin: 0px;
li {
margin: 0px;
padding: 0px;
line-height: normal;
}
2015-09-12 13:19:18 +02:00
}
.requests {
2015-10-25 03:35:37 +01:00
display: none;
position: absolute;
top: 33px;
bottom: 0px;
left: 0px;
right: 0px;
overflow-y: auto;
> li {
h3, h4 {
padding: 5px;
margin: 0px;
line-height: normal;
font-size: 8pt;
font-weight: normal;
}
h3 {
background: #34495e;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
.method {
display: block;
float: right;
background: #95a5a6;
padding: 5px;
margin: -5px;
min-width: 50px;
}
}
h4 {
padding: 5px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
cursor: pointer;
&.open {
white-space: pre-wrap;
text-overflow: clip;
overflow: visible;
background: #111;
}
&.log-info {
background: #7f8c8d;
}
&.log-warning {
background: #d35400;
}
&.log-error {
background: #c0392b;
}
}
.time {
float: right;
padding: 5px;
background: #2c3e50;
display: block;
margin-left: 5px;
}
li {
position: relative;
font-family: 'Consolas';
.clear {
clear: both;
}
}
}
2015-09-12 13:19:18 +02:00
}
2015-10-25 03:35:37 +01:00
}