summaryrefslogtreecommitdiffstats
path: root/devtools/client/application/src/components/App.css
blob: e0bcef7d2dc2d089b62c250f6b20c0180ab8a571 (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
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/*
 * General styles
 */

a.disabled-link,
a.disabled-link:hover,
a.disabled-link:visited {
  opacity: 0.5;
  cursor: not-allowed;
}

.app {
  display: grid;
  min-width: calc(var(--base-unit) * 90);
}

/* wide layout -> two columns, 1 row */
@media(min-width: 701px) {
  .app {
    grid-template-columns: calc(var(--base-unit) * 50) auto;
    height: 100vh;
  }
}

/* vertical layout -> 1 column, 2 rows */
@media(max-width: 700px) {
  .app {
    grid-template-rows: auto 1fr;
  }
}