group-detail.less 16 KB

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