Skip to content
This repository was archived by the owner on Sep 14, 2021. It is now read-only.

Commit f4a97d6

Browse files
authored
Break examples into seperate demo components (#26)
Add links to source code for each component and example.
1 parent 9d232e2 commit f4a97d6

File tree

55 files changed

+2372
-1428
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+2372
-1428
lines changed

lib/app_component.css

Lines changed: 7 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,15 @@
11
/*
2-
* Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2+
* Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
33
* for details. All rights reserved. Use of this source code is governed by a
44
* BSD-style license that can be found in the LICENSE file.
55
*/
6-
.blue {
7-
background-color: #2196F3;
8-
color: white;
9-
}
10-
11-
.red:not([raised]) {
12-
color: #f44336;
13-
}
14-
15-
.red[raised] {
16-
background-color: #f44336;
17-
color: white;
18-
}
19-
20-
.white {
21-
background-color: white;
22-
color: #4285f4;
23-
}
24-
25-
.limited-width {
26-
width: 50%;
27-
}
28-
29-
.dark-background {
30-
background: #424242;
31-
color: white;
32-
}
33-
34-
.basic-dialog,
35-
.basic-scrolling-dialog,
36-
.max-height-dialog,
37-
.headered-dialog,
38-
.custom-colors-dialog,
39-
.no-header-footer-dialog {
40-
width: 480px;
41-
}
42-
43-
.basic-scrolling-dialog {
44-
height: 320px;
45-
}
46-
47-
.basic-scrolling-dialog > div {
48-
padding: 8px;
49-
}
50-
51-
.max-height-dialog {
52-
max-height: 40vh;
53-
}
54-
55-
.dialog-with-error,
56-
.info-dialog {
57-
width: 320px;
58-
}
59-
60-
.custom-colors-dialog {
61-
background-color: #b7e1cd;
62-
}
63-
64-
.no-header-footer-dialog {
65-
height: 6em;
66-
}
67-
68-
.bordered-list {
69-
border: 1px solid #000;
70-
border-radius: 8px;
71-
display: inline-block;
72-
margin: 8px;
73-
overflow: hidden;
74-
}
75-
76-
.example-with-options {
77-
display: flex;
78-
}
79-
80-
.example-pane {
81-
flex: 1;
82-
}
83-
84-
.options-pane {
85-
flex: 1;
86-
padding: 16px;
87-
background: #eee;
88-
}
896

90-
.options-pane > material-checkbox {
91-
margin-left: 0;
7+
.source-link:link, .source-link:visited, .source-link:active {
8+
display: block;
9+
padding-bottom: 10px;
9210
}
9311

94-
.option-label {
95-
display: inline-flex;
96-
padding: 10px 0px;
97-
width: 50%;
12+
.source-link:hover {
13+
display: block;
14+
padding-bottom: 10px;
9815
}

0 commit comments

Comments
 (0)