summaryrefslogtreecommitdiff
path: root/material/material.css
blob: ccf8c12088d0042967d8c7d71cbaa3c633fd9cb1 (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
/* Copyright 2015 Google Inc.
Copyright 2016 Benjamin Barenblat

Licensed under the Apache License, Version 2.0 (the “License”); you may not use
this file except in compliance with the License.  You may obtain a copy of the
License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.  See the License for the
specific language governing permissions and limitations under the License. */

html, body {
  margin: 0;
  padding: 0;
  background: #fafafa;
  font-family: Roboto;
}

.Material_AppBar_bar {
  background: #9c27b0;
  height: 56px;
  box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.34);  /* 4dp */
  display: flex;
}

/* Aggressively align text to baseline by pretending it’s a drop cap
(http://blogs.adobe.com/webplatform/2014/08/13/one-weird-trick-to-baseline-align-text/). */
.Material_AppBar_title {
  line-height: 0px;
}
.Material_AppBar_title:after {
  display: inline-block;
  height: 100%;
  content: "";
}

.Material_AppBar_title {
  margin: auto auto 20px 14px;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: visible;
  /* We can’t use text-overflow because line-height got set to zero for baseline
  adjustment. */
}

.Material_Checkbox_checkbox {
  display: block;
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  border: 2px solid #9c27b0;
  border-radius: 2px;
}

.Material_Checkbox_checked {
  background: #9c27b0 url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K);
}

.Material_List_SingleLine_element {
  list-style-type: none;
  height: 48px;
  font-size: 16px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.Material_List_SingleLine_icon {
  margin: 12px 32px 12px 0;
  height: 24px;
  width: 24px;
}

.Material_List_SingleLine_list {
  margin: 8px 16px;
  padding: 0;
}