0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 02:49:32 +01:00
posthog/frontend/style.scss
2020-03-15 14:31:16 +00:00

177 lines
3.4 KiB
SCSS

/*! Font generated by flaticon.com.
Under CC: Gregor Cresnar*/
@import 'node_modules/bootstrap/scss/_functions';
@import 'node_modules/bootstrap/scss/_variables';
@import 'node_modules/bootstrap/scss/_mixins';
$blue: #007bff;
$indigo: #6610f2;
$purple: #6f42c1;
$pink: #e83e8c;
$red: #dc3545;
$orange: #fd7e14;
$yellow: #ffc107;
$green: #28a745;
$teal: #20c997;
$cyan: #17a2b8;
$badge-font-weight: 400;
$body-bg: #fffefc;
$body-color: #37352f;
// bootstrap components
@import 'node_modules/bootstrap/scss/_root';
@import 'node_modules/bootstrap/scss/utilities';
@import 'node_modules/bootstrap/scss/_reboot';
@import 'node_modules/bootstrap/scss/_buttons';
@import 'node_modules/bootstrap/scss/_button-group';
@import 'node_modules/bootstrap/scss/_input-group';
@import 'node_modules/bootstrap/scss/_tables';
@import 'node_modules/bootstrap/scss/_forms';
@import 'node_modules/bootstrap/scss/_nav';
@import 'node_modules/bootstrap/scss/_badge';
@import 'node_modules/bootstrap/scss/_grid';
@import 'node_modules/bootstrap/scss/_list-group';
@import 'node_modules/bootstrap/scss/_close';
@import 'node_modules/bootstrap/scss/_card';
@import 'node_modules/bootstrap/scss/_modal';
@import 'node_modules/bootstrap/scss/_dropdown';
@import 'node_modules/bootstrap/scss/_alert';
// // funnel
@import 'node_modules/funnel-graph-js/src/scss/main.scss';
// icons
@import 'font/_flaticon';
// our components
@import 'style/events';
@import 'style/funnel';
@import 'style/sidebar';
@import 'style/toast';
@import 'style/trends';
@import 'style/send-events-overlay';
.cursor-pointer {
cursor: pointer;
}
.badge .close {
text-shadow: none;
margin: -6px 0 -8px 8px;
font-size: 1.3rem;
}
.card {
box-shadow: 0px 0px 13px rgba(0, 0, 0, 0.1);
border: 0;
margin-bottom: 3rem;
.card-header {
font-weight: 500;
font-size: 15px;
border-bottom: 0;
}
}
.right-align {
float: right;
.fi {
font-size: 20px;
margin-right: 12px;
}
}
@keyframes rotation {
from {
transform: rotate(0deg);
}
to {
transform: rotate(359deg);
}
}
.loading-overlay {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background: rgba(0, 0, 0, 0.3);
padding-top: 3rem;
text-align: center;
min-height: 6rem;
& > div {
display: inline-block;
height: 44px;
width: 40px;
animation: rotation 1.3s infinite linear;
}
}
.loading-overlay div::before {
content: '\f138';
font-family: Flaticon;
font-size: 30px;
}
.content {
padding: 0 45px;
}
pre.code {
white-space: pre-wrap;
word-break: break-all;
background: rgb(51, 51, 51);
padding: 20px;
border-radius: 3px;
color: white;
margin-top: 2rem;
font-size: 15px;
}
.text-overflow {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 0;
}
.paths {
height: 720px;
svg {
height: 100% !important;
}
}
.secondary {
font-size: 13px;
letter-spacing: 1px;
opacity: 0.7;
font-weight: 500;
text-transform: uppercase;
border: 0;
background: none;
}
hr {
border: 1px solid rgba(0, 0, 0, 0.1);
}
.close {
color: hsl(0, 0%, 80%);
}
.property-value input {
opacity: 1 !important;
}
h5.modal-title {
font-size: 120%;
}
button.no-style {
background: none;
border: none;
}
.table th,
.table td {
padding: 0.25rem;
}