1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138 |
- dl.flat {
- margin-bottom: 1em;
- }
- dl.flat dt {
- float: left;
- clear: left;
- width: 70px;
- padding-bottom: 5px;
- }
- dl.flat dd {
- padding-bottom: 5px;
- }
- /**
- * Flex
- * ============================================================================
- */
- .flex {
- display: flex;
- &.flex-container {
- padding-left: 30px;
- padding-right: 30px;
- }
- &.flex-justify-right {
- justify-content: flex-end;
- }
- &.flex-vertically-centered {
- align-items: center;
- }
- > * {
- flex-grow: 1;
- }
- }
- /**
- * Buttons
- * ============================================================================
- */
- .btn {
- border: 1px solid transparent;
- border-radius: 3px;
- font-weight: 600;
- padding: 8px 16px;
- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
- transition: all 0.1s;
- &.disabled,
- &.disabled:hover {
- color: #ced3d6 !important;
- border-color: #e3e5e6 !important;
- box-shadow: none !important;
- pointer-events: none !important;
- background: none !important;
- }
- }
- /* Button sizes */
- .btn-sm {
- font-size: 12px;
- padding: 4px 9px;
- }
- .btn-lg {
- font-size: 16px;
- padding: 10px 20px;
- }
- .btn-xs {
- font-size: 85%;
- padding: 4px 10px;
- }
- /* Button types */
- .btn-default {
- color: @gray-dark;
- background: #fff;
- border-color: lighten(@gray-lighter, 7);
- box-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
- &:hover {
- color: @gray-darker;
- border-color: @gray-lighter;
- box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
- }
- &:hover:active,
- &:focus,
- &:active,
- &.active,
- &.active:hover {
- color: @gray-darker;
- background-color: @white-darker;
- border-color: @gray-lighter;
- box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.06);
- }
- }
- .open > .dropdown-toggle.btn-default,
- .open > .dropdown-toggle.btn-default:hover,
- .open > .dropdown-toggle.btn-default:active {
- background: @white-darker;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
- }
- .btn-primary {
- color: #ffffff;
- background: @purple;
- border-color: darken(@purple, 18);
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
- box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
- &:hover {
- background-color: darken(@purple, 5);
- }
- &:hover:active,
- &:focus,
- &:active,
- &.active,
- &.active:hover {
- background: darken(@purple, 5);
- border-color: darken(@purple, 22);
- box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.12);
- outline: none;
- }
- }
- .btn-danger {
- background: @red;
- color: #fff;
- border-color: darken(@red, 18);
- box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
- &:hover,
- &:focus,
- &:active {
- box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.12);
- }
- }
- // Disabled buttons
- .btn-primary.disabled,
- .btn-primary[disabled],
- fieldset[disabled] .btn-primary,
- .btn-primary.disabled:hover,
- .btn-primary[disabled]:hover,
- fieldset[disabled] .btn-primary:hover,
- .btn-primary.disabled:focus,
- .btn-primary[disabled]:focus,
- fieldset[disabled] .btn-primary:focus,
- .btn-primary.disabled:active,
- .btn-primary[disabled]:active,
- fieldset[disabled] .btn-primary:active,
- .btn-primary.disabled.active,
- .btn-primary[disabled].active,
- fieldset[disabled] .btn-primary.active,
- .btn-danger.disabled,
- .btn-danger[disabled],
- fieldset[disabled] .btn-danger,
- .btn-danger.disabled:hover,
- .btn-danger[disabled]:hover,
- fieldset[disabled] .btn-danger:hover,
- .btn-danger.disabled:focus,
- .btn-danger[disabled]:focus,
- fieldset[disabled] .btn-danger:focus,
- .btn-danger.disabled:active,
- .btn-danger[disabled]:active,
- fieldset[disabled] .btn-danger:active,
- .btn-danger.disabled.active,
- .btn-danger[disabled].active,
- fieldset[disabled] .btn-danger.active,
- .btn-primary.btn-disabled,
- .btn-primary.btn-disabled:hover {
- color: @gray-light;
- border-color: @gray-lightest;
- background: #fff;
- opacity: 1;
- text-shadow: none;
- }
- /* Small button icons */
- .btn-sm {
- .icon-arrow-right,
- .icon-arrow-left,
- .icon-refresh {
- position: relative;
- font-size: 14px !important;
- display: block;
- line-height: 18px;
- top: 0;
- }
- }
- /**
- * Tables
- * ============================================================================
- */
- table.table {
- margin-bottom: 20px;
- // No overrideable variables available
- td,
- th {
- vertical-align: middle !important;
- line-height: 1 !important;
- }
- th {
- font-weight: 600 !important;
- border-width: 1px !important;
- }
- h5 {
- font-weight: 600;
- font-size: 15px;
- margin: 0;
- }
- .table-user-info {
- position: relative;
- padding-left: 65px !important;
- line-height: 1.2 !important;
- font-size: 13px;
- h5 {
- margin-bottom: 4px;
- }
- .avatar {
- position: absolute;
- left: 20px;
- }
- }
- &.closed {
- display: none;
- }
- }
- pre.plain {
- background-color: inherit;
- padding: 0;
- border: 0;
- white-space: pre-wrap;
- word-break: break-all;
- box-shadow: none;
- }
- .external-icon {
- transition: 0.1s linear color;
- font-size: 11px;
- margin: 0 5px;
- color: @gray-light;
- line-height: 1;
- vertical-align: middle;
- &:hover {
- color: @gray;
- }
- }
- .box-header a:hover .external-icon {
- color: @gray;
- }
- table.table.key-value {
- border: none;
- td {
- padding: 0 !important;
- max-width: 500px;
- border: 0 !important;
- vertical-align: top !important;
- pre {
- box-sizing: border-box;
- white-space: pre-wrap;
- margin-top: 2px;
- margin-bottom: 2px;
- word-break: break-word;
- padding: 8px 10px;
- font-size: 12px;
- overflow: visible;
- .val-string:first-child {
- padding-left: 0;
- }
- }
- }
- td.key {
- font-weight: 600;
- font-size: 13px;
- width: 175px;
- max-width: 175px;
- word-wrap: break-word;
- padding: 10px 15px 10px 0 !important;
- line-height: 1.4 !important;
- }
- }
- .event-list {
- border: 1px solid @trim;
- overflow-x: scroll;
- border-radius: 3px;
- .table {
- border: 0;
- margin-bottom: 0;
- & > thead > tr > th,
- & > tbody > tr > td {
- padding: 10px 15px;
- }
- h5 {
- margin-bottom: 0;
- font-size: 16px;
- small {
- margin-top: 5px;
- display: block;
- color: @gray;
- }
- }
- th {
- text-transform: uppercase;
- font-size: 14px;
- color: #95899f;
- }
- th,
- td {
- white-space: nowrap;
- }
- .table-user-info {
- padding-left: 54px !important;
- position: relative;
- .avatar {
- top: 50%;
- margin-top: -12px;
- }
- p {
- margin-bottom: 0;
- }
- }
- time {
- white-space: nowrap;
- }
- }
- }
- /**
- * Avatar
- * ============================================================================
- */
- .avatar {
- width: 20px;
- height: 20px;
- vertical-align: middle;
- position: relative;
- display: inline-block;
- }
- .org-avatar {
- width: 30px;
- height: 30px;
- background: @red url(../images/sentry-avatar.png);
- background-size: cover;
- border-radius: 3px;
- }
- /**
- * Loading Indicator
- * ============================================================================
- */
- @loader-size: 64px;
- .loading {
- margin: 6em auto;
- position: relative;
- &.overlay {
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- background-color: rgba(255, 255, 255, 0.8);
- display: flex;
- align-items: center;
- justify-content: center;
- margin: 0;
- &.dark {
- background-color: rgba(0, 0, 0, 0.6);
- }
- }
- .loading-indicator {
- position: relative;
- border: 6px solid @white-darkest;
- border-left-color: @purple;
- -webkit-animation: loading 0.5s infinite linear;
- animation: loading 0.55s infinite linear;
- margin: 0 auto;
- }
- .loading-indicator,
- .loading-indicator:after {
- border-radius: 50%;
- width: @loader-size;
- height: @loader-size;
- }
- .loading-message {
- margin-top: 20px;
- text-align: center;
- }
- }
- @-webkit-keyframes loading {
- 0% {
- -webkit-transform: rotate(0deg);
- transform: rotate(0deg);
- }
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
- @keyframes loading {
- 0% {
- -webkit-transform: rotate(0deg);
- transform: rotate(0deg);
- }
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
- // mini
- .loading.mini {
- margin: 4px 0;
- font-size: 13px;
- height: 24px;
- .loading-indicator {
- margin: 0;
- border-radius: 50%;
- width: 24px;
- height: 24px;
- border-width: 2px;
- position: absolute;
- left: 0;
- top: 0;
- &.relative {
- position: relative;
- left: auto;
- top: auto;
- }
- }
- .loading-message {
- padding-left: 30px;
- margin-top: 1px;
- display: inline-block;
- }
- }
- // Spinning logo icon loader
- .loading.triangle {
- position: absolute;
- top: 50%;
- left: 50%;
- width: 500px;
- margin-top: -200px;
- margin-left: -250px;
- // Nerf the styles of other loading indicators
- .loading-indicator {
- height: 150px;
- width: 150px;
- display: flex;
- align-items: center;
- justify-content: center;
- background: #fff;
- animation: none;
- -webkit-animation: none;
- border: 0;
- overflow: hidden;
- border-radius: 50%;
- }
- }
- /**
- * Box
- * ============================================================================
- */
- .box {
- background: #fff;
- border: 1px solid @trim;
- border-radius: 3px;
- margin: 0 0 20px;
- box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
- .box-header {
- background: @white-dark;
- color: @gray-darker;
- line-height: 1;
- padding: 0 20px;
- border-radius: 3px 3px 0 0;
- border-bottom: 1px solid @trim;
- padding-top: 9px;
- padding-bottom: 8px;
- position: relative;
- .clearfix;
- &:hover .permalink {
- display: inline-block;
- }
- .permalink {
- font-size: 12px;
- line-height: 27px;
- display: none;
- position: absolute;
- top: -1.5px;
- left: -22px;
- color: @40;
- padding: 2px 5px;
- }
- a {
- color: @gray-dark;
- &:hover {
- color: @gray-darker;
- }
- }
- h3,
- h4,
- h5 {
- font-size: 14px;
- margin: 0;
- font-weight: 600;
- line-height: inherit;
- padding-top: 6px;
- padding-bottom: 5px;
- max-width: 80%;
- line-height: 1.2;
- small {
- color: @gray-dark;
- font-size: 14px;
- }
- }
- .pull-right {
- a,
- .btn {
- margin-left: 6px;
- }
- }
- .nav-tabs {
- float: right;
- line-height: inherit;
- li {
- margin: 0 0 0 20px;
- font-weight: 400;
- &.active a {
- font-weight: 600;
- border: 0;
- box-shadow: inset 0 -3px 0 @blue;
- }
- }
- a {
- font-weight: 400;
- padding: 0;
- font-size: 14px;
- line-height: inherit;
- }
- }
- .nav-pills {
- position: relative;
- right: -6px;
- a {
- padding: 2px 8px;
- font-size: 12px;
- border-radius: 4px;
- }
- .active {
- a {
- background: @blue;
- }
- }
- }
- .checkbox {
- margin-top: -4px;
- }
- }
- .box-content {
- &.with-padding {
- padding: 20px 20px 0;
- }
- .form-actions {
- padding-left: 20px;
- padding-right: 20px;
- margin-left: -20px;
- margin-right: -20px;
- margin: 0 -20px 20px;
- }
- h1,
- h2,
- h3,
- h4,
- h5,
- h6 {
- color: @gray-darker;
- }
- }
- &.box-modal {
- box-shadow: 0 1px 12px rgba(0, 0, 0, 0.15);
- border-color: darken(@trim, 9);
- }
- &.empty {
- padding: 20px;
- text-align: center;
- }
- &.box-mini {
- .box-header {
- padding: 10px;
- line-height: normal;
- height: auto;
- font-size: 14px;
- }
- .with-padding {
- padding: 10px 10px 0;
- }
- }
- }
- /**
- * Global Messages
- * ============================================================================
- */
- .messages-container {
- .alert {
- color: #fff;
- font-weight: bold;
- background: darken(@yellow-orange, 2);
- border: 0;
- .container {
- padding: 0;
- }
- .close {
- color: rgba(255, 255, 255, 0.7);
- &:hover {
- color: rgba(255, 255, 255, 0.9);
- }
- }
- }
- .alert-warning {
- .icon:before {
- content: '\e615';
- }
- }
- .alert-success {
- background: @green-light;
- }
- .alert-info {
- background: @blue-light;
- }
- .alert-error {
- background: @red;
- }
- }
- /**
- * Alerts
- * ============================================================================
- */
- header + .alert {
- margin-top: -31px;
- position: relative;
- z-index: 2;
- border-radius: 0;
- }
- .alert {
- background: @alert-warning-bg-color;
- color: rgba(0, 0, 0, 0.7);
- border: 1px solid @alert-warning-border-color;
- font-weight: 400;
- padding: 10px 20px;
- border-radius: 0;
- margin: 0;
- font-size: 15px;
- line-height: 1.4;
- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
- p:last-child {
- margin: 0;
- }
- .icon {
- float: left;
- margin: 3px 8px 0 3px;
- display: block;
- font-size: 15px;
- opacity: 0.65;
- }
- .icon-sentry-logo {
- display: block;
- }
- .close {
- font-weight: 600;
- position: absolute;
- top: -6px;
- right: 8px;
- box-shadow: none;
- transition: color 0.15s;
- color: rgba(0, 0, 0, 0.25);
- background: 0;
- border: 0;
- font-size: 22px;
- float: right;
- &:hover {
- box-shadow: none;
- color: rgba(0, 0, 0, 0.5);
- }
- }
- a {
- color: inherit;
- text-decoration: underline;
- &:hover {
- text-decoration: underline;
- }
- }
- & + .alert {
- box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.15);
- }
- &.alert-block {
- margin-bottom: 20px;
- border-radius: 3px;
- }
- .btn-default {
- border-color: desaturate(darken(@alert-warning-border-color, 10), 10);
- }
- }
- .alert-block {
- .btn {
- float: right;
- position: relative;
- top: -3px;
- right: -6px;
- }
- }
- .alert-block ul {
- padding-left: 20px;
- }
- // ugh this is awful
- .alert-block p + ul,
- .alert-block p + p,
- .alert-block ul + p {
- margin-top: 10px !important;
- }
- .alert-error,
- .alert-danger {
- background: @alert-danger-bg-color;
- border-color: @alert-danger-border-color;
- .icon:before {
- content: '\e615';
- }
- .btn-default {
- border-color: darken(@alert-danger-border-color, 10);
- }
- }
- .alert-info {
- background: @alert-info-bg-color;
- border-color: @alert-info-border-color;
- color: @gray-dark;
- .icon {
- display: none;
- }
- .btn-default {
- border-color: desaturate(darken(@alert-info-border-color, 10), 10);
- }
- }
- .alert-success {
- background: @alert-success-bg-color;
- border-color: @alert-success-border-color;
- .icon:before {
- content: '\e60a';
- }
- .btn-default {
- border-color: darken(@alert-success-border-color, 5);
- }
- }
- /**
- * Dropdowns
- * ============================================================================
- */
- .dropdown-menu {
- top: 32px;
- border: none;
- border-radius: 2px;
- box-shadow: 0 0 0 1px rgba(52, 60, 69, 0.2), 0 1px 3px rgba(70, 82, 98, 0.25);
- -webkit-background-clip: padding-box;
- -moz-background-clip: padding;
- background-clip: padding-box;
- color: @gray-darker;
- &.inverted {
- top: auto;
- bottom: 32px;
- }
- &:after {
- width: 0;
- height: 0;
- border-left: 8px solid transparent;
- border-right: 8px solid transparent;
- border-bottom: 8px solid #fff;
- content: '';
- display: block;
- position: absolute;
- top: -8px;
- left: 12px;
- z-index: -1;
- }
- &.inverted:after {
- border-top: 8px solid #fff;
- border-bottom: 8px solid transparent;
- top: auto;
- bottom: -16px;
- }
- &:before {
- width: 0;
- height: 0;
- border-left: 9px solid transparent;
- border-right: 9px solid transparent;
- border-bottom: 9px solid rgba(52, 60, 69, 0.35);
- content: '';
- display: block;
- position: absolute;
- top: -9px;
- left: 11px;
- z-index: -2;
- }
- &.inverted:before {
- border-top: 9px solid rgba(52, 60, 69, 0.35);
- border-bottom: 9px solid transparent;
- top: auto;
- bottom: -18px;
- }
- &.dropdown-menu-right {
- &:before {
- right: 12px;
- left: auto;
- }
- &:after {
- right: 13px;
- left: auto;
- }
- }
- li.active a,
- li.active a:hover {
- background: @purple;
- color: #fff !important;
- }
- .disabled {
- opacity: 0.4;
- cursor: default;
- &:hover {
- background: #fff;
- color: #7a8188;
- }
- }
- }
- .anchor-right {
- .dropdown-menu {
- left: auto;
- right: 0;
- &:after {
- left: auto;
- right: 12px;
- }
- &:before {
- // top caret
- left: auto;
- right: 11px;
- }
- }
- }
- .anchor-middle {
- .dropdown-menu {
- left: auto;
- right: 50%;
- transform: translateX(calc(50%));
- &:after {
- left: calc(50% - 5px);
- right: auto;
- }
- &:before {
- // top caret
- left: calc(50% - 6px);
- right: auto;
- }
- }
- }
- .dropdown-actor-title {
- display: flex;
- align-items: center;
- height: 100%;
- min-height: 18px;
- }
- /**
- * Navs
- * ============================================================================
- */
- .nav {
- margin-bottom: 20px;
- .open > a,
- .open > a:hover,
- .open > a:active {
- background: none;
- }
- }
- .nav-pills > li.active > a {
- background-color: @blue;
- }
- /**
- * Nav stacked
- * ============================================================================
- */
- .nav-header {
- margin-bottom: 8px;
- text-transform: uppercase;
- font-size: 12px;
- color: @gray-light;
- letter-spacing: 0.1px;
- .clearfix;
- a.help-link,
- span.help-link a {
- color: inherit;
- }
- .view-more {
- color: @gray-dark;
- float: right;
- text-transform: none;
- &:hover {
- color: @gray-darkest;
- }
- }
- .btn-xs {
- font-size: 11px;
- line-height: 14px;
- padding: 0 5px;
- margin-left: 5px;
- }
- }
- /**
- * Nav tabs
- * ============================================================================
- */
- .nav-tabs {
- border-bottom: 0;
- margin: 0 0 20px;
- > li {
- margin-right: 20px;
- > li.pull-right {
- float: right;
- }
- > a {
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 0 0 10px;
- margin: 0;
- border: 0;
- background: none;
- color: @60;
- min-width: 30px;
- text-align: center;
- &:hover,
- &:active,
- &:focus {
- background: none;
- color: @gray-darker;
- }
- &.focus-visible {
- text-decoration: underline;
- outline: none;
- }
- }
- .dropdown-menu {
- border-radius: 3px;
- }
- &.active {
- a,
- a:hover,
- a:focus {
- cursor: pointer;
- border: 0;
- border-bottom: 4px solid @purple;
- background: none;
- color: @gray-darkest;
- font-weight: 400;
- }
- }
- }
- &.border-bottom {
- border-bottom: 1px solid @trim;
- }
- &.anchor-right {
- li {
- margin: 0 0 0 30px;
- }
- }
- }
- /**
- * Responsive small screens
- * ============================================================================
- */
- @media (max-width: 767px) {
- .flex.flex-container {
- padding-left: 10px;
- padding-right: 10px;
- }
- }
- @media (max-width: 629px) {
- .table-user-info {
- .avatar {
- top: 24px;
- }
- }
- }
|