my_dashboard 0.5.9 → 0.5.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78b04348b0ed921d3f64c54ec3a306aea079812a
4
- data.tar.gz: 0efd9ea985f967bf06d45ae6db795c609716cf18
3
+ metadata.gz: 0879f34835674e7dfff908e9cc0f2052d8ad82ac
4
+ data.tar.gz: b2f090619b2ab5ba4b980a17c93e9f13bd3f221f
5
5
  SHA512:
6
- metadata.gz: 9157c4f6ed29a16582321abc2f737597ac359487e5f68673723a182eb936667ee5d07fd6cfc80813012ce59b6d8dc6d6c8df04f9baa1effb97acc044f49f5c2d
7
- data.tar.gz: f8fa76734a17efe3b7dab3f1a5ab6de4e964954ecfbf1c7f711330c26a9f4527dadead26b082a4394c88ddae41fd4dbc1307f017a409ad9a842801d5cf7736cf
6
+ metadata.gz: 233ead1d6cf65d17d520c87f1338239365dc465b61569edc24436aaaf6a91634398ec5e3be33f23c66524640535ca1e1b96c2356d2423fff6b738ad658cdfa7a
7
+ data.tar.gz: 850510bab52d9d9acead569ad781d7be17fc191425b3e3870c241d55cee60744b9093dafb8eabb90b622d6a6049ef5179b5d814c74d3942811c95dd620b7fc59
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.5.10 (05/17/2016)
2
+
3
+ * Revert flexbox for better refact
4
+
1
5
  ## 0.5.9 (05/17/2016)
2
6
 
3
7
  * Fix file name coffe
@@ -1,3 +1,3 @@
1
1
  module MyDashboard
2
- VERSION = '0.5.9'
2
+ VERSION = '0.5.10'
3
3
  end
@@ -6,7 +6,7 @@ $text-color: #fff;
6
6
 
7
7
  $background-warning-color-1: #e82711;
8
8
  $background-warning-color-2: #9b2d23;
9
- $text-warning-color: #DFE0D4;
9
+ $text-warning-color: #fff;
10
10
 
11
11
  $background-danger-color-1: #eeae32;
12
12
  $background-danger-color-2: #ff9618;
@@ -108,92 +108,21 @@ h3 {
108
108
  // ----------------------------------------------------------------------------
109
109
  // Base widget styles
110
110
  // ----------------------------------------------------------------------------
111
- #container,
112
- .gridster,
113
- .gridster > ul {
114
- display: flex;
115
- }
116
-
117
- #container {
118
- justify-content: center;
119
- }
120
-
121
- .gridster > ul {
122
- // align-items: stretch;
123
- // align-content: space-between;
124
- // justify-content: stretch;
125
- // display: flex;
126
- // flex-wrap: wrap;
127
- align-items: stretch;
128
- align-content: space-between;
129
- justify-content: flex-start;
130
- display: flex;
131
- flex-wrap: wrap;
132
- flex: 12;
133
- }
134
-
135
- .gridster > ul > .gs-w {
136
- z-index: 2;
137
- display: flex;
138
- max-width: 320px;
139
- height: auto;
140
- width: 320px;
141
- padding-bottom: 20px;
142
- justify-content: space-around;
143
- align-content: space-around;
144
- }
145
-
146
- .gridster > ul > li > .widget {
147
- display: flex;
148
- align-items: center;
149
- flex-direction: column;
150
- width: 95%;
151
- justify-content: space-around;
152
- align-content: space-around;
153
- }
154
-
155
- .gridster > ul > li > .widget > .more-info,
156
- .gridster > ul > li > .widget > .updated-at {
157
- font-size: 15px;
158
- font-weight: bold;
159
- font-family: Arial;
160
- }
161
-
162
- .widget {
163
- background-image: url("https://www.mlabs.com.br/assets/blocos.png");
164
- }
165
-
166
- .gs-w > .widget-number {
167
- background-color: #353940;
168
- }
169
-
170
- .gs-w > .widget-number > .value,
171
- .gs-w > .widget-number > .change-rate,
172
- .widget-number > h1.title,
173
- .gridster > ul > li > .widget > .more-info,
174
- .gridster > ul > li > .widget > .updated-at {
175
- color: $text-warning-color;
176
- }
177
-
178
- .gs-w > .widget-list {
179
- background-color: #6E60A0;
180
- }
181
-
182
- .widget-number > h1.title {
183
- font-size: 20px;
184
- text-transform: uppercase;
185
- }
186
-
187
- .change-rate > .fa-arrow-down {
188
- color: #FF5335;
189
- }
190
-
191
- .change-rate > .fa-arrow-up {
192
- color: #5DAE8B;
111
+ .gridster {
112
+ margin: 0px auto;
193
113
  }
194
114
 
195
115
  .icon-background {
196
-
116
+ pointer-events: none;
117
+ width: 100%!important;
118
+ height: 100%;
119
+ position: absolute;
120
+ left: 0;
121
+ top: 0;
122
+ opacity: 0.1;
123
+ font-size: 275px;
124
+ text-align: center;
125
+ margin-top: 82px;
197
126
  }
198
127
 
199
128
  .list-nostyle {
@@ -205,11 +134,17 @@ h3 {
205
134
  }
206
135
 
207
136
  .gs_w {
137
+ width: 100%;
138
+ display: table;
208
139
  cursor: pointer;
209
140
  }
210
141
 
211
142
  .widget {
212
-
143
+ text-align: center;
144
+ width: inherit;
145
+ height: inherit;
146
+ display: table-cell;
147
+ vertical-align: middle;
213
148
  }
214
149
 
215
150
  .widget.status-warning {
@@ -239,6 +174,22 @@ h3 {
239
174
  }
240
175
  }
241
176
 
177
+ .more-info {
178
+ font-size: 15px;
179
+ position: absolute;
180
+ bottom: 32px;
181
+ left: 0;
182
+ right: 0;
183
+ }
184
+
185
+ .updated-at {
186
+ font-size: 15px;
187
+ position: absolute;
188
+ bottom: 12px;
189
+ left: 0;
190
+ right: 0;
191
+ }
192
+
242
193
  #save-gridster {
243
194
  display: none;
244
195
  position: fixed;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_dashboard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Vaz