group-detail.less 17 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117
  1. /**
  2. * Group Detail
  3. * ============================================================================
  4. */
  5. .group-detail {
  6. position: relative;
  7. clear: both;
  8. h3 {
  9. font-size: 22px;
  10. margin: 0 0 8px;
  11. text-overflow: ellipsis;
  12. white-space: nowrap;
  13. overflow: hidden;
  14. em {
  15. font-style: normal;
  16. font-weight: 400;
  17. color: @70;
  18. font-size: 90%;
  19. }
  20. }
  21. .count {
  22. &.short-id-box {
  23. min-width: 0;
  24. span:not(.help-link) {
  25. font-size: 18px;
  26. line-height: 1.45;
  27. display: block;
  28. overflow: hidden;
  29. text-overflow: ellipsis;
  30. white-space: nowrap;
  31. direction: rtl;
  32. }
  33. }
  34. span:not(.help-link) {
  35. font-size: 22px;
  36. display: inline-block;
  37. line-height: 1.2;
  38. }
  39. }
  40. .assigned-to {
  41. text-align: right;
  42. position: relative;
  43. }
  44. .meta {
  45. margin: 0 0 15px;
  46. color: #949ea4;
  47. }
  48. .id-label {
  49. background: #fff;
  50. max-width: 200px;
  51. white-space: nowrap;
  52. overflow: hidden;
  53. text-overflow: ellipsis;
  54. }
  55. .severity {
  56. display: inline-block;
  57. position: relative;
  58. top: -7px;
  59. padding: 0 10px;
  60. }
  61. .nav-tabs {
  62. margin-top: 20px;
  63. margin-bottom: 0;
  64. }
  65. &:before {
  66. position: absolute;
  67. display: block;
  68. content: '';
  69. bottom: -1px;
  70. left: -40px;
  71. right: -40px;
  72. height: 1px;
  73. background: @trim;
  74. }
  75. }
  76. /**
  77. * Event Details
  78. * ============================================================================
  79. */
  80. .event-details-container {
  81. display: flex;
  82. margin: -20px -40px;
  83. background: #fff;
  84. flex-direction: column;
  85. flex: 1;
  86. @media (min-width: 1200px) {
  87. flex-direction: row;
  88. }
  89. .primary {
  90. flex: 1;
  91. .user-report {
  92. border-radius: 0;
  93. box-shadow: none;
  94. padding: 20px 30px 0 40px;
  95. border: 0;
  96. border-top: 1px solid lighten(@trim, 4);
  97. margin: 0;
  98. padding-bottom: 0;
  99. }
  100. @media (min-width: 1200px) {
  101. // TODO(dcramer): whatever flex is doing here is causing this to extend to
  102. // whatever it pleases (e.g. 4k pixels on my 1280 screen)
  103. max-width: ~'calc(100% - 365px)';
  104. }
  105. }
  106. .secondary {
  107. width: 100%;
  108. padding: 30px 40px 30px 30px;
  109. border-left: 1px solid @trim;
  110. @media (min-width: 1200px) {
  111. width: 365px;
  112. }
  113. }
  114. }
  115. .module-user .avatar {
  116. width: 64px;
  117. height: 64px;
  118. img {
  119. height: 100%;
  120. width: 100%;
  121. }
  122. }
  123. .event-stats {
  124. padding-top: 84px;
  125. margin-top: -84px;
  126. }
  127. .event-stats {
  128. h6 {
  129. font-size: 14px;
  130. margin-bottom: 15px;
  131. position: relative;
  132. > span {
  133. background: @white-dark;
  134. padding-right: 7px;
  135. }
  136. &:before {
  137. display: block;
  138. position: absolute;
  139. content: '';
  140. border-top: 1px solid lighten(@trim, 9);
  141. left: 0;
  142. right: 0;
  143. top: 50%;
  144. z-index: -1;
  145. }
  146. }
  147. }
  148. .user-widget {
  149. position: relative;
  150. margin-bottom: 20px;
  151. .avatar {
  152. width: 48px;
  153. height: 48px;
  154. position: absolute;
  155. top: 0;
  156. right: 0;
  157. box-shadow: 0 0 0 5px #fff;
  158. background: #fff;
  159. border-radius: 50% 0 50% 50%;
  160. }
  161. .table {
  162. margin-bottom: 0;
  163. }
  164. }
  165. .ai-loader {
  166. height: 250px;
  167. background: center / contain no-repeat url(../images/spot/ai-loader.gif);
  168. margin-top: -20px;
  169. margin-bottom: -35px;
  170. }
  171. .ai-suggestion-wheel-of-fortune {
  172. height: 250px;
  173. background: center / contain no-repeat
  174. url(../images/spot/ai-suggestion-wheel-of-fortune.gif);
  175. }
  176. /**
  177. * Traceback
  178. * ============================================================================
  179. */
  180. .traceback {
  181. list-style-type: none;
  182. padding-left: 0;
  183. border: 1px solid @trim-dark;
  184. border-radius: 0 6px 6px 6px;
  185. margin-bottom: 20px;
  186. }
  187. // TODO(dcramer): we probably shouldn't overload these
  188. pre.traceback {
  189. margin: 0 0 20px;
  190. }
  191. div.traceback > ul {
  192. padding: 0;
  193. margin-bottom: 0;
  194. li {
  195. &:first-child {
  196. border-top: none;
  197. .title {
  198. border-top: none;
  199. border-top-right-radius: 5px;
  200. border-top-left-radius: 5px;
  201. }
  202. }
  203. &:last-child .title {
  204. border-bottom-right-radius: 5px;
  205. border-bottom-left-radius: 5px;
  206. }
  207. }
  208. }
  209. .raw-toggle {
  210. input {
  211. margin-right: 6px;
  212. position: relative;
  213. top: -1px;
  214. }
  215. }
  216. /**
  217. * Frame
  218. * ============================================================================
  219. */
  220. .exc-message {
  221. margin: 15px 0 0;
  222. word-wrap: break-word;
  223. white-space: pre-wrap;
  224. color: @gray-darker;
  225. padding: 0;
  226. background: none;
  227. }
  228. .frames-omitted,
  229. .exc-omitted {
  230. color: @gray-dark;
  231. font-size: 14px;
  232. font-weight: 600;
  233. border-left: 3px solid @red;
  234. border-right: 1px solid lighten(@red, 30%);
  235. background: lighten(@red, 35%);
  236. padding: 10px 20px;
  237. margin-bottom: 10px !important;
  238. margin-left: -21px;
  239. margin-right: -21px;
  240. }
  241. .exception {
  242. margin: 0 0 20px;
  243. &:last-child {
  244. border-bottom: 0;
  245. margin-bottom: 0;
  246. }
  247. h5 {
  248. line-height: 1.2;
  249. }
  250. .traceback {
  251. margin-top: 15px;
  252. }
  253. }
  254. .traceback {
  255. &.no-exception .frame:first-child {
  256. border-top: 0;
  257. }
  258. .frame {
  259. list-style-type: none;
  260. position: relative;
  261. margin: 0;
  262. border-top: 1px solid @trim;
  263. h3 {
  264. font-size: 22px;
  265. }
  266. &.is-expandable .title {
  267. cursor: pointer;
  268. }
  269. .title {
  270. padding: 6px 20px;
  271. font-size: 12px;
  272. margin: 0;
  273. line-height: 16px;
  274. background: #faf9fb;
  275. word-break: break-all;
  276. /* for firefox */
  277. word-break: break-word;
  278. /* for chrome */
  279. code {
  280. font-family: inherit;
  281. }
  282. .informal {
  283. font-style: italic;
  284. }
  285. }
  286. .title.as-table {
  287. width: 100%;
  288. padding-left: 15px;
  289. .package {
  290. font-size: 12px;
  291. font-weight: bold;
  292. .truncate;
  293. flex-basis: 120px;
  294. flex-grow: 0;
  295. flex-shrink: 0;
  296. }
  297. .address {
  298. font-family: @font-family-code;
  299. font-size: 11px;
  300. color: @gray-dark;
  301. letter-spacing: -0.25px;
  302. width: 100px;
  303. flex-grow: 0;
  304. flex-shrink: 0;
  305. }
  306. .symbol {
  307. word-break: break-word;
  308. flex: 1;
  309. code {
  310. background: transparent;
  311. color: @blue-dark;
  312. padding-right: 5px;
  313. a {
  314. color: inherit;
  315. &:hover {
  316. text-decoration: underline;
  317. }
  318. }
  319. }
  320. span.offset {
  321. font-weight: bold;
  322. padding-right: 10px;
  323. }
  324. span.filename {
  325. color: @purple;
  326. margin-right: 3px;
  327. &:before {
  328. content: '(';
  329. }
  330. &:after {
  331. content: ')';
  332. }
  333. }
  334. }
  335. }
  336. .original-src {
  337. font-size: 12px;
  338. padding-left: 3px;
  339. position: relative;
  340. top: 1px;
  341. }
  342. .icon-open {
  343. font-size: 12px;
  344. margin-right: 3px;
  345. margin-left: 3px;
  346. position: relative;
  347. top: 1px;
  348. }
  349. .in-at {
  350. opacity: 0.6;
  351. margin: 0 2px;
  352. }
  353. .blame {
  354. color: lighten(@gray, 5);
  355. a {
  356. color: @gray;
  357. }
  358. .icon-mark-github {
  359. position: relative;
  360. top: 1px;
  361. }
  362. }
  363. .tooltip-inner {
  364. word-wrap: break-word;
  365. text-align: left;
  366. max-width: 300px;
  367. }
  368. .divider {
  369. border-left: 1px solid @trim;
  370. display: inline-block;
  371. width: 1px;
  372. height: 10px;
  373. margin: 0 6px;
  374. position: relative;
  375. top: 1px;
  376. }
  377. code {
  378. padding: 0;
  379. background: inherit;
  380. font-size: inherit;
  381. color: inherit;
  382. }
  383. .context {
  384. display: none;
  385. background: #fff;
  386. margin: 0;
  387. table.key-value {
  388. border-top: 1px solid @trim;
  389. padding: 0;
  390. margin: 0;
  391. td {
  392. border-bottom: 1px solid @trim !important;
  393. &.key {
  394. width: 145px;
  395. max-width: 145px;
  396. padding-left: 20px !important;
  397. }
  398. &.value pre {
  399. background: inherit;
  400. }
  401. }
  402. tr:last-child {
  403. td {
  404. border-bottom: 0 !important;
  405. }
  406. }
  407. }
  408. &.expanded {
  409. display: block;
  410. }
  411. }
  412. .tag-app {
  413. color: #aaa;
  414. font-size: 0.9em;
  415. margin-left: 10px;
  416. }
  417. > div > table.key-value {
  418. margin-bottom: 5px;
  419. > tbody > tr > th {
  420. color: @gray-dark;
  421. text-align: right;
  422. padding-right: 12px !important;
  423. }
  424. }
  425. .btn-toggle {
  426. display: block;
  427. float: right;
  428. width: 16px;
  429. height: 16px;
  430. padding: 0;
  431. line-height: 16px;
  432. font-size: 9px;
  433. text-align: center;
  434. flex-shrink: 0;
  435. }
  436. .expand-button:hover {
  437. cursor: pointer;
  438. }
  439. &.expanded {
  440. .expandable {
  441. height: auto;
  442. max-width: 100%;
  443. }
  444. }
  445. &:last-child {
  446. .context {
  447. margin-bottom: 0;
  448. }
  449. .toggle-expand .btn {
  450. margin-bottom: -13px;
  451. }
  452. }
  453. }
  454. &.in-app-traceback .frame.leads-to-app {
  455. .leads-to-app-hint {
  456. display: none;
  457. }
  458. &.collapsed {
  459. .title {
  460. background: #faf9fb;
  461. min-height: 32px;
  462. &.is-expandable:hover {
  463. opacity: 1;
  464. }
  465. .package {
  466. width: auto;
  467. }
  468. }
  469. .title.as-table {
  470. padding-left: 15px;
  471. }
  472. .in-at-line,
  473. .lineno,
  474. .address {
  475. display: none;
  476. }
  477. .leads-to-app-hint {
  478. display: inline;
  479. color: @gray-light;
  480. }
  481. }
  482. }
  483. &.full-traceback {
  484. .leads-to-app-hint {
  485. display: none !important;
  486. }
  487. }
  488. .expandable {
  489. height: 0;
  490. position: relative;
  491. .icon-plus {
  492. position: absolute;
  493. left: 8px;
  494. top: 6px;
  495. opacity: 0.25;
  496. transition: 0.1s opacity linear;
  497. }
  498. &.key-value {
  499. display: none;
  500. }
  501. .ws {
  502. display: none;
  503. overflow: hidden;
  504. }
  505. &:hover {
  506. .icon-plus {
  507. opacity: 0.5;
  508. }
  509. }
  510. }
  511. .expanded {
  512. .expandable {
  513. height: auto;
  514. }
  515. .ws {
  516. display: inline;
  517. overflow: none;
  518. }
  519. }
  520. ol.context {
  521. margin: 0;
  522. list-style-position: inside;
  523. list-style-type: decimal-leading-zero;
  524. border-radius: 5px;
  525. padding-left: 0;
  526. .key-value {
  527. display: none;
  528. pre {
  529. overflow: auto;
  530. }
  531. }
  532. > li {
  533. font-family: @font-family-code;
  534. line-height: 24px;
  535. font-size: 12px;
  536. white-space: pre;
  537. white-space: pre-wrap;
  538. word-wrap: break-word;
  539. min-height: 24px;
  540. }
  541. > li.active {
  542. list-style-type: none;
  543. border-radius: 2px;
  544. &:first-child:last-child {
  545. background-color: inherit;
  546. color: inherit;
  547. border-radius: 0;
  548. }
  549. pre {
  550. color: @gray-dark;
  551. }
  552. }
  553. > li:first-child {
  554. border-radius: 2px 2px 0 0;
  555. }
  556. > li:last-of-type {
  557. border-radius: 0 0 2px 2px;
  558. }
  559. li.closed {
  560. border-radius: 2px;
  561. }
  562. &.expanded {
  563. .key-value {
  564. display: table;
  565. }
  566. > li.active {
  567. position: relative;
  568. z-index: 0;
  569. list-style-type: inherit;
  570. border-radius: 0;
  571. }
  572. }
  573. }
  574. ol.context-line {
  575. > li {
  576. > span {
  577. float: right;
  578. }
  579. }
  580. }
  581. }
  582. #full-message {
  583. line-height: 1.5em;
  584. &#full-message {
  585. background: none;
  586. padding: 0;
  587. }
  588. }
  589. &.expanded div.commands,
  590. div.commands:hover {
  591. opacity: 1;
  592. a {
  593. color: @state-info-text;
  594. }
  595. }
  596. div.commands {
  597. position: absolute;
  598. right: 10px;
  599. top: 6px;
  600. font-size: 0.9em;
  601. opacity: 0.3;
  602. a {
  603. color: #666;
  604. text-decoration: none;
  605. span {
  606. font-size: 9px;
  607. margin-right: 5px;
  608. }
  609. }
  610. }
  611. // Request
  612. .request {
  613. .path {
  614. font-weight: normal;
  615. float: left;
  616. strong {
  617. margin-right: 4px;
  618. }
  619. }
  620. }
  621. /* message details */
  622. .server-list,
  623. .url-list,
  624. .logger-list,
  625. .level-list {
  626. list-style: none;
  627. margin-left: 0;
  628. margin-bottom: 0;
  629. }
  630. .server-list li,
  631. .url-list li {
  632. padding-bottom: 10px;
  633. }
  634. .url-list li a {
  635. line-height: 18px;
  636. }
  637. pre.val,
  638. span.val {
  639. span {
  640. display: inline;
  641. }
  642. }
  643. .val-string {
  644. border-radius: 4px;
  645. padding: 2px 4px;
  646. }
  647. .val-string-multiline {
  648. display: block;
  649. overflow: auto;
  650. }
  651. /**
  652. * Exceptions and Threads
  653. * ============================================================================
  654. */
  655. .box .thread {
  656. .exception {
  657. margin-top: 10px;
  658. }
  659. .traceback.no-exception {
  660. margin-top: 0;
  661. }
  662. }
  663. /**
  664. * Shared Group Detail
  665. * ============================================================================
  666. */
  667. .shared-group {
  668. padding: 40px 0;
  669. background: none;
  670. .app > .container {
  671. max-width: 960px;
  672. > .box {
  673. > .box-header {
  674. padding: 15px 30px 13px;
  675. display: flex;
  676. align-items: center;
  677. a {
  678. &.logo {
  679. font-size: 20px;
  680. flex: 1;
  681. }
  682. &:hover {
  683. color: @gray-dark;
  684. }
  685. }
  686. .back-to,
  687. .pull-right a {
  688. font-size: 16px;
  689. }
  690. .back-to {
  691. border-left: 1px solid @trim;
  692. padding: 2px 10px;
  693. display: inline-block;
  694. margin-left: 7px;
  695. position: relative;
  696. top: -3px;
  697. }
  698. }
  699. }
  700. }
  701. .container {
  702. padding-left: 0;
  703. padding-right: 0;
  704. }
  705. .group-detail {
  706. padding: 0 30px;
  707. border-bottom: 1px solid darken(@trim, 5);
  708. box-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
  709. &:before {
  710. display: none;
  711. }
  712. .details {
  713. max-width: 960px;
  714. margin: 0 auto;
  715. padding: 20px 0 0;
  716. }
  717. }
  718. .event-details-container {
  719. display: block;
  720. margin: 0;
  721. .primary {
  722. max-width: 100%;
  723. .box {
  724. padding: 0 30px;
  725. &:first-child {
  726. border-top: 0;
  727. }
  728. }
  729. .box-header,
  730. .box-content {
  731. max-width: 960px;
  732. margin: 0 auto;
  733. }
  734. .box-header {
  735. margin-top: 15px;
  736. }
  737. .exception {
  738. padding: 20px 0;
  739. margin: 0;
  740. &:first-child {
  741. padding-top: 0;
  742. }
  743. }
  744. .traceback.no-exception {
  745. margin-bottom: 25px;
  746. margin-top: -5px;
  747. }
  748. }
  749. }
  750. }
  751. /**
  752. * Breadcrumbs / Timeline
  753. * ============================================================================
  754. */
  755. ul.crumbs {
  756. li {
  757. .table.key-value {
  758. margin-bottom: 0;
  759. background: none;
  760. thead td:first-child {
  761. font-weight: bold;
  762. }
  763. td {
  764. padding: 2px 0 !important;
  765. font-weight: normal;
  766. }
  767. .key {
  768. width: 122px;
  769. max-width: 122px;
  770. color: @gray-dark;
  771. line-height: 1.6 !important;
  772. }
  773. pre {
  774. display: inline-block;
  775. padding: 0;
  776. margin-top: 1px;
  777. background: none;
  778. word-break: break-all;
  779. }
  780. }
  781. div.summary {
  782. overflow: hidden;
  783. &.can-expand {
  784. cursor: pointer;
  785. position: relative;
  786. &:after {
  787. position: absolute;
  788. bottom: 0;
  789. left: 0;
  790. right: 0;
  791. content: ' ';
  792. display: block;
  793. width: 100%;
  794. height: 15px;
  795. background-image: linear-gradient(
  796. to bottom,
  797. rgba(255, 255, 255, 0) 0%,
  798. rgba(255, 255, 255, 1) 100%
  799. );
  800. background-repeat: repeat-x;
  801. z-index: 1;
  802. }
  803. &:hover {
  804. &:before {
  805. position: absolute;
  806. bottom: 4px;
  807. right: 0;
  808. font-family: 'sentry-simple';
  809. content: '\e617';
  810. background: @white-dark;
  811. border: 1px solid darken(@trim, 5);
  812. border-radius: 3px;
  813. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  814. z-index: 2;
  815. padding: 0 5px;
  816. margin-left: -14px;
  817. }
  818. }
  819. }
  820. &.expanded {
  821. max-height: none;
  822. &:after,
  823. &:before {
  824. display: none;
  825. }
  826. }
  827. pre {
  828. display: inline-block;
  829. }
  830. }
  831. }
  832. }
  833. /**
  834. * Responsive medium screen
  835. * ============================================================================
  836. */
  837. @media (max-width: 991px) {
  838. .group-stats-column {
  839. float: none;
  840. }
  841. }
  842. /**
  843. * Responsive small screen
  844. * ============================================================================
  845. */
  846. @media (max-width: 767px) {
  847. .group-detail {
  848. h3 {
  849. white-space: normal;
  850. font-size: 20px;
  851. line-height: 1.2;
  852. }
  853. .meta {
  854. font-size: 12px;
  855. }
  856. .short-id-box {
  857. text-align: left;
  858. }
  859. .is-assigned {
  860. padding-top: 0;
  861. }
  862. }
  863. // Event detail columns
  864. .event-details-container {
  865. flex-direction: column;
  866. margin: 0;
  867. .primary {
  868. max-width: 100%;
  869. .box {
  870. padding: 15px 0;
  871. .box-header {
  872. h3 {
  873. margin: 0 0 10px;
  874. small {
  875. margin-left: 0 !important;
  876. display: block;
  877. }
  878. }
  879. .permalink {
  880. display: none;
  881. }
  882. }
  883. }
  884. .user-report {
  885. padding: 15px 0;
  886. }
  887. .exception {
  888. margin: 0;
  889. padding: 15px 0;
  890. }
  891. .traceback {
  892. &.no-exception {
  893. margin: 0;
  894. }
  895. .btn-toggle {
  896. width: 17px;
  897. }
  898. }
  899. }
  900. .secondary {
  901. width: auto;
  902. padding: 0;
  903. border: 0;
  904. margin-bottom: 20px;
  905. }
  906. .detailed-error {
  907. border-top: 1px solid @trim;
  908. }
  909. }
  910. // Context callout
  911. .context-summary {
  912. flex-direction: column;
  913. margin-top: 0;
  914. padding: 0;
  915. margin-bottom: 20px;
  916. }
  917. .context {
  918. overflow: auto;
  919. li {
  920. width: 800px;
  921. }
  922. }
  923. }