group-detail.less 15 KB

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