forked from angulardart/angular_components
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path_demo_style.scss
53 lines (43 loc) · 1.02 KB
/
_demo_style.scss
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
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@import 'package:ngcomponents/css/material/material';
@import 'package:ngcomponents/css/material/shadow';
@mixin card() {
@include shadow-elevation();
}
@mixin demo-style() {
.demo-section {
display: flex;
flex-direction: row;
padding: $mat-grid;
}
.demo-container,
.knob-container {
margin: $mat-grid;
padding: $mat-grid;
max-width: $mat-grid * 75;
display: flex;
flex: 1;
@include shadow-elevation();
.caption {
// TODO(google): Migrate to extended mixin mat-font-caption
font-size: $mat-font-size-caption;
font-weight: $mat-font-weight-regular;
}
}
.row {
flex-direction: row;
}
.column {
flex-direction: column;
}
.flex {
display: flex;
flex: 1;
}
.inline-flex {
display: inline-flex;
flex: 1;
}
}