aboutNetError.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. @import url("common.css");
  2. body {
  3. display: flex;
  4. box-sizing: padding-box;
  5. min-height: 100vh;
  6. padding: 0 48px;
  7. align-items: center;
  8. justify-content: center;
  9. }
  10. ul, ol {
  11. margin: 0;
  12. padding: 0;
  13. -webkit-margin-start: 1em;
  14. }
  15. ul > li, ol > li {
  16. margin-bottom: .5em;
  17. }
  18. ul {
  19. list-style: disc;
  20. }
  21. #errorPageContainer {
  22. position: relative;
  23. min-width: 320px;
  24. max-width: 512px;
  25. }
  26. #errorTitleText {
  27. background: url("aboutNetError_info.svg") left 0 no-repeat;
  28. background-size: 1.2em;
  29. -webkit-margin-start: -2em;
  30. -webkit-padding-start: 2em;
  31. }
  32. #errorTitleText:-webkit-dir(rtl) {
  33. background-position: right 0;
  34. }
  35. #errorTitleText[sslv3=true] {
  36. background-image: url("aboutNetError_alert.svg");
  37. }
  38. #errorTryAgain {
  39. margin-top: 1.2em;
  40. min-width: 150px
  41. }
  42. #errorContainer {
  43. display: none;
  44. }
  45. @media (max-width: 675px) {
  46. #errorTitleText {
  47. padding-top: 0;
  48. background-image: none;
  49. -webkit-padding-start: 0;
  50. -webkit-margin-start: 0;
  51. }
  52. }
  53. /* Pressing the retry button will cause the cursor to flicker from a pointer to
  54. * not-allowed. Override the disabled cursor behaviour since we will never show
  55. * the button disabled as the initial state. */
  56. button:disabled {
  57. cursor: pointer;
  58. }
  59. div#certificateErrorReporting {
  60. display: none;
  61. float: right;
  62. /* Align with the "Try Again" button */
  63. margin-top: 24px;
  64. -webkit-margin-end: 24px;
  65. }
  66. div#certificateErrorReporting a {
  67. text-decoration: none;
  68. }
  69. div#certificateErrorReporting a:hover {
  70. text-decoration: underline;
  71. }
  72. span.downArrow {
  73. display: inline-block;
  74. vertical-align: middle;
  75. font-size: 0.6em;
  76. -webkit-margin-start: 0.5em;
  77. transform: scaleY(0.7);
  78. }
  79. div#certificateErrorReportingPanel {
  80. /* Hidden until the link is clicked */
  81. display: none;
  82. background-color: white;
  83. border: 1px lightgray solid;
  84. /* Don't use top padding because the default p style has top padding, and it
  85. * makes the overall div look uneven */
  86. padding: 0 12px 12px 12px;
  87. box-shadow: 0 0 4px #ddd;
  88. font-size: 0.9em;
  89. position: absolute;
  90. width: 75%;
  91. margin-top: 10px;
  92. }
  93. div#certificateErrorReportingPanel:-webkit-dir(ltr) {
  94. left: 34%;
  95. }
  96. div#certificateErrorReportingPanel:-webkit-dir(rtl) {
  97. right: 0;
  98. }
  99. #errorStatePanel {
  100. display: flex;
  101. flex-direction: row;
  102. flex-wrap: wrap;
  103. justify-content: space-between;
  104. align-content: space-between;
  105. align-items: flex-start;
  106. }
  107. span#hostname {
  108. font-weight: bold;
  109. }
  110. #automaticallyReportInFuture {
  111. cursor: pointer;
  112. }