creative_tim 1.0.18 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 427a3cefe460ed896e93cc1b1bbf628dd7a8a26c
4
- data.tar.gz: a14d0444efbaa94c3eac2a32f60075852820b66d
3
+ metadata.gz: 1005ea8f486983cda17f1b49f0f9b62a3e3a3f7a
4
+ data.tar.gz: e04dcb0f58a038b16c621da368a0f91ecdb13fa5
5
5
  SHA512:
6
- metadata.gz: 27d78aa72d931017fe1ff973f5c98292f0e6b68a59380c606e7174338b79ae6345185f12078d7831bee70a2677587ba6bbc9a9af8ce2007ff525afbbe3f64360
7
- data.tar.gz: 59196310d85e48bceabbc2c30cae5d6a3b3cbf84c7a783e7e216972dde7c9d4200a2612ee00f194674419601e326839fccd340082a8efd5a386b1ad36472f982
6
+ metadata.gz: a493eb7507a9508d860c76838b72324f356bce2d9a01530e9ae2123da21eda31f6f7ab457c52087f4320a150eafdf2d116e6d561f7433c4245a20b06d291e2ef
7
+ data.tar.gz: 1860e052c5776a723b477ca0eb8253f1377251f013d8503c0638e297aa42f9ef42844e4c1f713b7df46c2187d241d39b8e56fc4d8d1a3eb828bedd32e8fd90e5
@@ -1,6 +1,6 @@
1
1
  module CreativeTim
2
2
  MAJOR = 1
3
3
  MINOR = 0
4
- PATCH = 18
4
+ PATCH = 19
5
5
  VERSION = "#{MAJOR}.#{MINOR}.#{PATCH}"
6
6
  end
@@ -1,3 +1,4 @@
1
+ @import "material_helper_resources/cards";
1
2
  @import "material_helper_resources/colors";
2
3
  @import "material_helper_resources/globals";
3
4
  @import "material_helper_resources/variables";
@@ -0,0 +1,138 @@
1
+
2
+
3
+ .card-panel {
4
+ transition: box-shadow .25s;
5
+ padding: $card-padding;
6
+ margin: $element-top-margin 0 $element-bottom-margin 0;
7
+ border-radius: 2px;
8
+ @extend .z-depth-1;
9
+ background-color: $card-bg-color;
10
+ }
11
+
12
+ .card {
13
+ position: relative;
14
+ margin: $element-top-margin 0 $element-bottom-margin 0;
15
+ background-color: $card-bg-color;
16
+ transition: box-shadow .25s;
17
+ border-radius: 2px;
18
+ @extend .z-depth-1;
19
+
20
+
21
+ .card-title {
22
+ font-size: 24px;
23
+ font-weight: 300;
24
+ &.activator {
25
+ cursor: pointer;
26
+ }
27
+ }
28
+
29
+ // Card Sizes
30
+ &.small, &.medium, &.large {
31
+ position: relative;
32
+
33
+ .card-image {
34
+ max-height: 60%;
35
+ overflow: hidden;
36
+ }
37
+ .card-content {
38
+ max-height: 40%;
39
+ overflow: hidden;
40
+ }
41
+ .card-action {
42
+ position: absolute;
43
+ bottom: 0;
44
+ left: 0;
45
+ right: 0;
46
+ }
47
+ }
48
+
49
+ &.small {
50
+ height: 300px;
51
+ }
52
+
53
+ &.medium {
54
+ height: 400px;
55
+ }
56
+
57
+ &.large {
58
+ height: 500px;
59
+ }
60
+
61
+
62
+ .card-image {
63
+ position: relative;
64
+
65
+ // Image background for content
66
+ img {
67
+ display: block;
68
+ border-radius: 2px 2px 0 0;
69
+ position: relative;
70
+ left: 0;
71
+ right: 0;
72
+ top: 0;
73
+ bottom: 0;
74
+ width: 100%;
75
+ }
76
+
77
+ .card-title {
78
+ color: $card-bg-color;
79
+ position: absolute;
80
+ bottom: 0;
81
+ left: 0;
82
+ padding: $card-padding;
83
+ }
84
+
85
+ }
86
+
87
+ .card-content {
88
+ padding: $card-padding;
89
+ border-radius: 0 0 2px 2px;
90
+
91
+ p {
92
+ margin: 0;
93
+ color: inherit;
94
+ }
95
+ .card-title {
96
+ line-height: 48px;
97
+ }
98
+ }
99
+
100
+ .card-action {
101
+ position: relative;
102
+ background-color: inherit;
103
+ border-top: 1px solid rgba(160,160,160,.2);
104
+ padding: $card-padding;
105
+ z-index: 2;
106
+
107
+ a:not(.btn):not(.btn-large):not(.btn-floating) {
108
+ color: $card-link-color;
109
+ margin-right: $card-padding;
110
+ transition: color .3s ease;
111
+ text-transform: uppercase;
112
+
113
+ &:hover { color: $card-link-color-light; }
114
+ }
115
+
116
+ & + .card-reveal {
117
+ z-index: 1;
118
+ padding-bottom: 64px;
119
+ }
120
+ }
121
+
122
+ .card-reveal {
123
+ padding: $card-padding;
124
+ position: absolute;
125
+ background-color: $card-bg-color;
126
+ width: 100%;
127
+ overflow-y: auto;
128
+ top: 100%;
129
+ height: 100%;
130
+ z-index: 3;
131
+ display: none;
132
+
133
+ .card-title {
134
+ cursor: pointer;
135
+ display: block;
136
+ }
137
+ }
138
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: creative_tim
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.18
4
+ version: 1.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilton Garcia
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-26 00:00:00.000000000 Z
11
+ date: 2016-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -145,6 +145,7 @@ files:
145
145
  - vendor/assets/stylesheets/creative-tim/light_dashboard/light-bootstrap-dashboard.css
146
146
  - vendor/assets/stylesheets/creative-tim/light_dashboard/pe-icon-7-stroke.css
147
147
  - vendor/assets/stylesheets/creative-tim/material_helper.scss
148
+ - vendor/assets/stylesheets/creative-tim/material_helper_resources/cards.scss
148
149
  - vendor/assets/stylesheets/creative-tim/material_helper_resources/colors.scss
149
150
  - vendor/assets/stylesheets/creative-tim/material_helper_resources/globals.scss
150
151
  - vendor/assets/stylesheets/creative-tim/material_helper_resources/media_queries.scss