PageRenderTime 35ms CodeModel.GetById 10ms RepoModel.GetById 1ms app.codeStats 0ms

/webroot/rsrc/css/aphront/error-view.css

https://github.com/remohammadi/phabricator
CSS | 95 lines | 74 code | 18 blank | 3 comment | 0 complexity | c65128a5803ba4dc676178174b98153b MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause
  1. /**
  2. * @provides aphront-error-view-css
  3. */
  4. .aphront-error-view {
  5. border-style: solid;
  6. border-width: 1px;
  7. }
  8. .aphront-error-view {
  9. margin: 16px;
  10. }
  11. .device-phone .aphront-error-view {
  12. margin: 8px;
  13. }
  14. .aphront-error-view .phui-form-view {
  15. padding: 0;
  16. }
  17. .aphront-error-view-body {
  18. padding: 12px;
  19. }
  20. .aphront-panel-plain .aphront-error-view {
  21. margin-left: 0;
  22. margin-right: 0;
  23. }
  24. h1.aphront-error-view-head {
  25. padding: 12px 8px 0 12px;
  26. font-weight: bold;
  27. font-size: 15px;
  28. color: {$darkgreytext};
  29. }
  30. .aphront-error-view-list {
  31. margin: 0 0 0 16px;
  32. list-style: disc;
  33. }
  34. .aphront-error-severity-error {
  35. color: {$red};
  36. border-color: {$red};
  37. background: {$lightred};
  38. }
  39. .aphront-error-severity-error .aphront-error-view-head {
  40. color: {$red};
  41. }
  42. .aphront-error-severity-warning {
  43. color: #bc7837;
  44. border-color: {$yellow};
  45. background: {$lightyellow};
  46. }
  47. .aphront-error-severity-warning .aphront-error-view-head {
  48. color: #bc7837;
  49. }
  50. .aphront-error-severity-notice {
  51. color: {$blue};
  52. border-color: {$blue};
  53. background: {$lightblue};
  54. }
  55. .aphront-error-severity-notice .aphront-error-view-head {
  56. color: {$blue};
  57. }
  58. .aphront-error-severity-nodata {
  59. border-color: {$lightgreyborder};
  60. border-bottom: 1px solid {$greyborder};
  61. color: {$greytext};
  62. background-color: #fff;
  63. }
  64. .legalpad .aphront-error-view {
  65. margin: 0;
  66. border-width: 0 0 1px 0;
  67. border-bottom: 1px solid {$lightblueborder};
  68. }
  69. .aphront-dialog-body .aphront-error-view {
  70. margin: -16px -16px 16px -16px;
  71. border-width: 0 0 1px 0;
  72. border-bottom: 1px solid {$lightblueborder};
  73. }
  74. .aphront-dialog-body .aphront-error-view .aphront-error-view-list {
  75. margin: 0 0 0 16px;
  76. list-style: disc;
  77. }