summaryrefslogtreecommitdiff
path: root/browser/themes/windows/aboutSocialError.css
blob: d1a9ad53c901b68a8696e3e5890f665eca1f6849 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
body {
  background-color: rgb(241, 244, 248);
  margin-top: 2em;
  font: message-box;
  font-size: 100%;
}

p {
  font-size: .8em;
}

#error-box {
  background: url('chrome://global/skin/icons/information-24.png') no-repeat left 4px;
  -moz-padding-start: 30px;
}

#error-box:-moz-locale-dir(rtl) {
  background-position: right 4px;
}

#main-error-msg {
  color: #4b4b4b;
  font-weight: bold;
}


#button-box {
  text-align: center;
  width: 75%;
  margin: 0 auto;
}

@media all and (min-width: 300px) {
  #error-box {
    max-width: 50%;
    margin: 0 auto;
    background-image: url('chrome://global/skin/icons/information-32.png');
    min-height: 36px;
    -moz-padding-start: 38px;
  }

  button {
    width: auto !important;
    min-width: 150px;
  }
}

@media all and (min-width: 780px) {
  #error-box {
    max-width: 30%;
  }
}

button {
  font: message-box;
  font-size: 0.6875em;
  -moz-appearance: none;
  -moz-user-select: none;
  width: 100%;
  margin: 2px 0;
  padding: 2px 6px;
  line-height: 1.2;
  background-color: hsla(210,30%,95%,.1);
  background-image: linear-gradient(hsla(0,0%,100%,.6), hsla(0,0%,100%,.1));
  background-clip: padding-box;
  border: 1px solid hsla(210,15%,25%,.4);
  border-color: hsla(210,15%,25%,.3) hsla(210,15%,25%,.35) hsla(210,15%,25%,.4);
  border-radius: 3px;
  box-shadow: 0 1px 0 hsla(0,0%,100%,.3) inset,
              0 0 0 1px hsla(0,0%,100%,.3) inset,
              0 1px 0 hsla(0,0%,100%,.1);

  transition-property: background-color, border-color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease;

}

button:hover {
  background-color: hsla(210,30%,95%,.8);
  border-color: hsla(210,15%,25%,.45) hsla(210,15%,25%,.5) hsla(210,15%,25%,.55);
  box-shadow: 0 1px 0 hsla(0,0%,100%,.3) inset,
              0 0 0 1px hsla(0,0%,100%,.3) inset,
              0 1px 0 hsla(0,0%,100%,.1),
              0 0 3px hsla(210,15%,25%,.1);
  transition-property: background-color, border-color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease;
}

button:hover:active {
  background-color: hsla(210,15%,25%,.2);
  box-shadow: 0 1px 1px hsla(210,15%,25%,.2) inset,
              0 0 2px hsla(210,15%,25%,.4) inset;
  transition-property: background-color, border-color, box-shadow;
  transition-duration: 10ms;
  transition-timing-function: linear;
}