summaryrefslogtreecommitdiffstats
path: root/core/themes/seven/css/theme/maintenance-page.css
blob: 2d9c30d4f84409069633391dbf174af5b3380c2b (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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
/**
 * @file
 * Maintenance theming.
 */
.maintenance-page {
  background-color: #e0e0d8;
  background-image: -webkit-radial-gradient(hsl(203, 2%, 90%), hsl(203, 2%, 95%));
  background-image: radial-gradient(hsl(203, 2%, 90%), hsl(203, 2%, 95%));
  background-repeat: repeat;
  background-position: left top, 50% 50%; /* LTR */
  min-height: 100%;
}
[dir="rtl"] .maintenance-page {
  background-position: right top, 50% 50%;
}

.page-title {
  font-size: 2em;
  line-height: 1.2em;
  color: #0074bd;
  word-wrap: break-word;
}

/**
 * Task list & step indicator
 */
@media all and (max-width: 48em) { /* 768px */
  header[role="banner"] {
    position: relative;
  }
  .step-indicator {
    display: block;
    font-size: 1.385em;
    position: absolute;
    top: 0.2em;
    right: 0.5em; /* LTR */
  }
  [dir="rtl"] .step-indicator {
    left: 0.5em;
    right: auto;
  }
  .task-list {
    display: none;
  }
}

@media all and (min-width: 48em) { /* 768px */
  .step-indicator {
    display: none;
  }
  .task-list {
    margin-left: 0; /* LTR */
    list-style-type: none;
    list-style-image: none;
    padding-left: 0; /* LTR */
    padding-bottom: 1em;
  }
  [dir="rtl"] .task-list {
    margin-right: 0;
    padding-right: 0;
  }
  .task-list li {
    padding: 0.5em 1em 0.5em 3.85em; /* LTR */
    color: #1a1a1a;
  }
  [dir="rtl"] .task-list li {
    padding: 0.5em 3.85em 0.5em 1em;
  }
  .task-list .active {
    background: #ebeae4;
    position: relative;
    font-weight: normal;
  }
  .task-list .active:after {
    left: 100%; /* LTR */
    border: solid transparent;
    border-color: rgba(235, 234, 228, 0);
    border-left-color: #ebeae4; /* LTR */
    border-width: 1.35em;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    top: 50%;
    margin-top: -1.32em;
  }
  [dir="rtl"] .task-list .active:after {
    left: auto;
    right: 100%;
    border-left-color: transparent;
    border-right-color: #ebeae4;
  }
  .task-list .done {
    color: #adadad;
  }
}

/**
 * Layout
 */
.layout-container {
  background: #fff;
  width: auto;
  margin-left: 1.25em;
  margin-right: 1.25em;
}
.layout-container:after { /* no reason for a clearfix in the markup */
  content: "";
  display: table;
  clear: both;
}
@media all and (max-width: 48em) { /* 768px */
  .layout-container {
    margin: 1.25em;
    padding: 10px 20px;
  }
  .page-title {
    margin-right: 2em; /* LTR */
    margin-bottom: 0.725em;
  }
  [dir="rtl"] .page-title {
    margin-right: 0;
    margin-left: 2em;
  }
}

@media all and (min-width: 48em) { /* 768px */
  html {
    display: table;
  }
  .install-page,
  .maintenance-page {
    display: table-cell;
    padding: 1em 0;
    vertical-align: middle;
  }
  html, .install-page, .maintenance-page {
    margin: 0;
    width: 100%;
    height: 100%;
  }
  .layout-container {
    margin: 0 auto;
    max-width: 770px;
    width: 75%;
    border-radius: 5px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    padding: 20px 0 40px 0;
  }

  /* Positioning sidebar & content */
  main {
    box-sizing: border-box;
    clear: none;
    float: left; /* LTR */
    padding-left: 3.85em;
    padding-right: 3.85em;
    width: 65%;
  }
  [dir="rtl"] main {
    float: right;
  }
  ul {
    padding: 15px;
    margin: 0.25em 0;
  }
  .layout-sidebar-first {
    float: left; /* LTR */
    width: 35%;
  }
  [dir="rtl"] .layout-sidebar-first {
    float: right;
  }

  /* Margins for sitename */
  .page-title {
    margin: 0.75em 1.9em;
  }
}