dlegr250_material_design 0.5.67 → 0.5.68

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,151 +0,0 @@
1
- // //======================================================================
2
- // // EXAMPLE:
3
- // // <div class="appbar">
4
- // // <div class="appbar-nav-icon">
5
- // // <i class="zmdi zmdi-menu appbar-button" role="left-sidebar-toggle"></i>
6
- // // </div>
7
- // // <div class="appbar-title">
8
- // // Title...
9
- // // </div>
10
- // // <div class="appbar-actions">
11
- // // <i class="zmdi zmdi-menu appbar-button" role="right-sidebar-toggle"></i>
12
- // // </div>
13
- // // </div>
14
- // //======================================================================
15
- //
16
- // // appbar - base
17
- // //----------------------------------------------------------------------
18
- //
19
- // // .appbar {
20
- // // background-color: $color-primary;
21
- // // bottom: auto;
22
- // // box-sizing: border-box;
23
- // // color: $appbar-title-color;
24
- // // height: $appbar-height;
25
- // // padding: 0 $spacing-small;
26
- // // position: relative;
27
- // // width: 100%;
28
- // // z-index: $layout-depth + 1;
29
- // // @include flex-parent-row();
30
- // // }
31
- // //
32
- // // .appbar-shadow {
33
- // // @include box-shadow(0 2px 5px rgba(0, 0, 0, 0.30));
34
- // // }
35
- //
36
- // // appbar - buttons
37
- // //----------------------------------------------------------------------
38
- //
39
- // .appbar-button {
40
- // background-color: $color-primary;
41
- // box-sizing: border-box;
42
- // color: $appbar-button-color;
43
- // cursor: pointer;
44
- // display: inline-block;
45
- // font-size: $font-size-icon;
46
- // height: $appbar-button-height;
47
- // line-height: 1;
48
- // outline: none;
49
- // padding: 10px;
50
- // position: relative;
51
- // width: $appbar-button-height;
52
- // text-align: center;
53
- // text-decoration: none;
54
- // @include no-touch-highlight-color();
55
- // @include rounded-corners(250px);
56
- // @include transition(background 0.2s ease-in-out);
57
- //
58
- // &:active {
59
- // background-color: darken($color-primary, 12%);
60
- // }
61
- // }
62
- //
63
- // // Devices with pointers
64
- // @media (hover: hover) {
65
- // .appbar-button {
66
- // &:hover {
67
- // background-color: darken($color-primary, 7%);
68
- // }
69
- // //
70
- // // &:active {
71
- // // background-color: darken($color-primary, 12%);
72
- // // }
73
- // }
74
- // }
75
- //
76
- // // appbar - nav icon (special button in top-left for menu toggle)
77
- // //----------------------------------------------------------------------
78
- //
79
- // #appbar-nav-button[role="left-sidebar-toggle"] {
80
- // visibility: visible;
81
- // }
82
- //
83
- // @media (min-width: $width-large) {
84
- // #appbar-nav-button[role="left-sidebar-toggle"] {
85
- // visibility: hidden;
86
- // }
87
- // }
88
- //
89
- // // appbar - title
90
- // //----------------------------------------------------------------------
91
- //
92
- // .appbar-title {
93
- // flex: 1; // To fill empty gaps
94
- // font-size: $font-size-normal + 2px;
95
- // font-weight: 400;
96
- // line-height: 1;
97
- // margin: 0 $spacing-small;
98
- // max-width: auto;
99
- // pointer-events: none;
100
- // @include font-smoothing();
101
- //
102
- // a {
103
- // color: $appbar-subtitle-color;
104
- // }
105
- // }
106
- //
107
- // @media (min-width: $width-small) {
108
- // .appbar-title {
109
- // font-size: $font-size-large;
110
- // max-width: $sidebar-width - 64px;
111
- // }
112
- // }
113
- //
114
- // // Above and below main text
115
- // .appbar-title-supertitle,
116
- // .appbar-title-subtitle {
117
- // color: $appbar-subtitle-color;
118
- // font-size: $font-size-normal;
119
- // @include flex-parent-row();
120
- // }
121
- //
122
- // // appbar - actions
123
- // //----------------------------------------------------------------------
124
- //
125
- // // .appbar-actions {
126
- // // @include flex-parent-row(); // To line up dividers and buttons properly
127
- // // padding-left: $spacing-small;
128
- // // text-align: right;
129
- // //
130
- // // .button {
131
- // // margin-right: $spacing-small;
132
- // // }
133
- // // }
134
- //
135
- // // appbar - dividers
136
- // //----------------------------------------------------------------------
137
- //
138
- // .appbar-divider,
139
- // .appbar-spacer {
140
- // background-color: darken($color-primary, 10%);
141
- // content: "";
142
- // display: inline-block;
143
- // height: $appbar-button-height - $spacing-normal;
144
- // line-height: 1;
145
- // margin: 0 $spacing-small;
146
- // width: 1px;
147
- // }
148
- //
149
- // .appbar-spacer {
150
- // background-color: transparent;
151
- // }
@@ -1,27 +0,0 @@
1
- //======================================================================
2
- // Shared styles for all major layout elements.
3
- //======================================================================
4
-
5
- // Layouts - base
6
- //----------------------------------------------------------------------
7
-
8
- #container,
9
- #appbar,
10
- #left-sidebar,
11
- #right-sidebar,
12
- #main {
13
- bottom: 0;
14
- left: 0;
15
- position: absolute;
16
- right: 0;
17
- top: 0;
18
- @include transition(transform .35s cubic-bezier(0.24, 1, 0.32, 1), visibility 0s);
19
- }
20
-
21
- // Layouts - container
22
- //----------------------------------------------------------------------
23
-
24
- #container {
25
- min-width: $application-container-min-width;
26
- width: 100%;
27
- }
@@ -1,38 +0,0 @@
1
- // Main - base
2
- //----------------------------------------------------------------------
3
-
4
- #main {
5
- left: 0;
6
- overflow-y: auto;
7
- padding: 0;
8
- top: $main-top;
9
- z-index: $layout-depth;
10
- }
11
-
12
- // Padding on main area on larger screens
13
- //----------------------------------------------------------------------
14
-
15
- @media (min-width: $width-medium) {
16
- #main {
17
- padding: $spacing-normal;
18
- }
19
- }
20
-
21
- // On large (desktop) size, show sidebars by default
22
- //----------------------------------------------------------------------
23
-
24
- @media (min-width: $width-large) {
25
- body.has-left-sidebar {
26
- #main {
27
- left: $main-left;
28
- }
29
- }
30
-
31
- body.has-right-sidebar {
32
- overflow-x: auto;
33
-
34
- #main {
35
- right: $main-left;
36
- }
37
- }
38
- }
@@ -1,98 +0,0 @@
1
- //======================================================================
2
- // EXAMPLE:
3
- // <div class="sidebar" id="left-sidebar">
4
- // <div class="sidebar-header">Header</div>
5
- // Content for sidebar...
6
- // <nav id="navigation">
7
- // ...list component for navigation...
8
- // </nav>
9
- // </div>
10
- //======================================================================
11
-
12
- // Sidebars - base
13
- //----------------------------------------------------------------------
14
-
15
- .sidebar {
16
- background: color("white");
17
- max-width: 98%;
18
- overflow-y: auto;
19
- pointer-events: none;
20
- top: 0;
21
- width: $sidebar-width;
22
- will-change: transform;
23
- z-index: $sidebar-depth;
24
- @include transition(transform 0.2s cubic-bezier(0, 0, 0.3, 1));
25
- }
26
-
27
- // Sidebars - header
28
- //----------------------------------------------------------------------
29
-
30
- .sidebar-header {
31
- border-bottom: 1px solid color("divider");
32
- cursor: pointer;
33
- margin-bottom: $spacing-normal;
34
- padding: 0 $spacing-normal;
35
- @include list-item();
36
- @include truncate-text();
37
- }
38
-
39
- .sidebar-header-primary {
40
- @include list-item-primary();
41
- color: color("helper");
42
- font-size: $font-size-large;
43
- }
44
-
45
- .sidebar-header-secondary {
46
- @include list-item-secondary();
47
- }
48
-
49
- // Sidebars - left sidebar
50
- //----------------------------------------------------------------------
51
-
52
- #left-sidebar {
53
- border: none;
54
- @include transform(translateX(-100%));
55
- @include box-shadow(1px 0 5px rgba(0, 0, 0, 0.2));
56
-
57
- &.visible {
58
- pointer-events: auto;
59
- @include transform(none);
60
- }
61
- }
62
-
63
- // Sidebars - right sidebar
64
- //----------------------------------------------------------------------
65
-
66
- #right-sidebar {
67
- border: none;
68
- left: auto;
69
- @include transform(translateX(100%));
70
- @include box-shadow(-1px 0 5px rgba(0, 0, 0, 0.2));
71
-
72
- &.visible {
73
- pointer-events: auto;
74
- @include transform(none);
75
- }
76
- }
77
-
78
- // Sidebars - media queries
79
- //----------------------------------------------------------------------
80
-
81
- @media (min-width: $width-large) {
82
- #left-sidebar {
83
- border-right: 1px solid color("divider");
84
- pointer-events: auto;
85
- z-index: $layout-depth;
86
- @include transform(none);
87
- @include box-shadow(none);
88
- }
89
-
90
- #right-sidebar {
91
- border-left: 1px solid color("divider");
92
- left: auto;
93
- pointer-events: auto;
94
- z-index: $layout-depth;
95
- @include transform(none);
96
- @include box-shadow(none);
97
- }
98
- }