mumuki-styles 1.18.2 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/mumuki-styles.js +78 -67
- data/app/assets/stylesheets/css/mumuki-styles.css +80 -1
- data/app/assets/stylesheets/scss/_modules.scss +1 -0
- data/app/assets/stylesheets/scss/_navbar.scss +4 -0
- data/app/assets/stylesheets/scss/components/_mu-pre-copy-paste.scss +1 -0
- data/app/assets/stylesheets/scss/modules/_multiple_scenarios.scss +106 -0
- data/lib/mumuki/styles/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f15207de209d233bdc08d0b9c26b1848dd83989bb572f72817eae84a12d37fb
|
4
|
+
data.tar.gz: dd1584f36759cfe96b66b2cdff79032ee21c27b73c5ffca7ad9ad8fc3c81b0fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 352fe1f7a4e956de30d9063ca96e2a1199fecc0da8d33b5e1ddbe65996e60ba4e675ec48b779999abdafd3fd487b30dc92f602c2b5d7c615c0cd3ed0c8659529
|
7
|
+
data.tar.gz: ed6488862608cbaf54cf55c741b6f556fa1cff8da583946435c318a096ad7b4e1023b6a59af637656ecbcdc4d348ae8c7dd6f7f42ae9ab9b0127ba143f221eb9
|
@@ -12775,69 +12775,69 @@ mumuki.load(function () {
|
|
12775
12775
|
|
12776
12776
|
mumuki.load(function () {
|
12777
12777
|
|
12778
|
-
|
12779
|
-
|
12778
|
+
let C = 10;
|
12779
|
+
const BORDER = 4;
|
12780
12780
|
|
12781
|
-
|
12781
|
+
const availableDirections = {
|
12782
12782
|
up: function ($entity, $column) {
|
12783
|
-
|
12784
|
-
|
12785
|
-
|
12786
|
-
|
12783
|
+
const x1 = $entity.from.position().left + $entity.from.width() + BORDER;
|
12784
|
+
const y1 = $column.from.position().top + $column.from.height() / 2 + 5;
|
12785
|
+
const x2 = $entity.to.position().left + $entity.to.width() + BORDER;
|
12786
|
+
const y2 = $column.to.position().top + $column.to.height() / 2 + 5;
|
12787
12787
|
return { x1: x1, x2: x2, y1: y1, y2: y2, mi: Math.max(x1, x2) + C * 2, dx1: C, dx2: C };
|
12788
12788
|
},
|
12789
12789
|
down: function ($entity, $column) {
|
12790
|
-
|
12791
|
-
|
12792
|
-
|
12793
|
-
|
12790
|
+
const x1 = $entity.from.position().left + $entity.from.width() + BORDER;
|
12791
|
+
const y1 = $column.from.position().top + $column.from.height() / 2 + 5;
|
12792
|
+
const x2 = $entity.to.position().left + $entity.to.width() + BORDER;
|
12793
|
+
const y2 = $column.to.position().top + $column.to.height() / 2 + 5;
|
12794
12794
|
return { x1: x1, x2: x2, y1: y1, y2: y2, mi: Math.max(x1, x2) + C * 2, dx1: C, dx2: C };
|
12795
12795
|
},
|
12796
12796
|
left: function ($entity, $column) {
|
12797
|
-
|
12798
|
-
|
12799
|
-
|
12800
|
-
|
12797
|
+
const x1 = $entity.from.position().left;
|
12798
|
+
const y1 = $column.from.position().top + $column.from.height() / 2 + 5;
|
12799
|
+
const x2 = $entity.to.position().left + $entity.to.width() + BORDER;
|
12800
|
+
const y2 = $column.to.position().top + $column.to.height() / 2 + 5;
|
12801
12801
|
return { x1: x1, x2: x2, y1: y1, y2: y2, mi: (x1 + x2) / 2, dx1: -C, dx2: C };
|
12802
12802
|
},
|
12803
12803
|
right: function ($entity, $column) {
|
12804
|
-
|
12805
|
-
|
12806
|
-
|
12807
|
-
|
12804
|
+
const x1 = $entity.from.position().left + $entity.from.width() + BORDER;
|
12805
|
+
const y1 = $column.from.position().top + $column.from.height() / 2 + 5;
|
12806
|
+
const x2 = $entity.to.position().left;
|
12807
|
+
const y2 = $column.to.position().top + $column.to.height() / 2 + 5;
|
12808
12808
|
return { x1: x1, x2: x2, y1: y1, y2: y2, mi: (x1 + x2) / 2, dx1: C, dx2: -C };
|
12809
12809
|
},
|
12810
12810
|
up_left: function ($entity, $column) {
|
12811
|
-
|
12812
|
-
|
12813
|
-
|
12814
|
-
|
12811
|
+
const x1 = $entity.from.position().left;
|
12812
|
+
const y1 = $column.from.position().top + $column.from.height() / 2 + 5;
|
12813
|
+
const x2 = $entity.to.position().left + $entity.to.width() + BORDER;
|
12814
|
+
const y2 = $column.to.position().top + $column.to.height() / 2 + 5;
|
12815
12815
|
return { x1: x1, x2: x2, y1: y1, y2: y2, mi: (x1 + x2) / 2, dx1: -C, dx2: C };
|
12816
12816
|
},
|
12817
12817
|
up_right: function ($entity, $column) {
|
12818
|
-
|
12819
|
-
|
12820
|
-
|
12821
|
-
|
12818
|
+
const x1 = $entity.from.position().left + $entity.from.width() + BORDER;
|
12819
|
+
const y1 = $column.from.position().top + $column.from.height() / 2 + 5;
|
12820
|
+
const x2 = $entity.to.position().left;
|
12821
|
+
const y2 = $column.to.position().top + $column.to.height() / 2 + 5;
|
12822
12822
|
return { x1: x1, x2: x2, y1: y1, y2: y2, mi: (x1 + x2) / 2, dx1: C, dx2: -C };
|
12823
12823
|
},
|
12824
12824
|
down_left: function ($entity, $column) {
|
12825
|
-
|
12826
|
-
|
12827
|
-
|
12828
|
-
|
12825
|
+
const x1 = $entity.from.position().left;
|
12826
|
+
const y1 = $column.from.position().top + $column.from.height() / 2 + 5;
|
12827
|
+
const x2 = $entity.to.position().left + $entity.to.width() + BORDER;
|
12828
|
+
const y2 = $column.to.position().top + $column.to.height() / 2 + 5;
|
12829
12829
|
return { x1: x1, x2: x2, y1: y1, y2: y2, mi: (x1 + x2) / 2, dx1: -C, dx2: C };
|
12830
12830
|
},
|
12831
12831
|
down_right: function ($entity, $column) {
|
12832
|
-
|
12833
|
-
|
12834
|
-
|
12835
|
-
|
12832
|
+
const x1 = $entity.from.position().left + $entity.from.width() + BORDER;
|
12833
|
+
const y1 = $column.from.position().top + $column.from.height() / 2 + 5;
|
12834
|
+
const x2 = $entity.to.position().left;
|
12835
|
+
const y2 = $column.to.position().top + $column.to.height() / 2 + 5;
|
12836
12836
|
return { x1: x1, x2: x2, y1: y1, y2: y2, mi: (x1 + x2) / 2, dx1: C, dx2: -C };
|
12837
12837
|
},
|
12838
|
-
}
|
12838
|
+
};
|
12839
12839
|
|
12840
|
-
|
12840
|
+
const connectors = {
|
12841
12841
|
one_to_one: function (points) {
|
12842
12842
|
return [
|
12843
12843
|
svgLine(points.x1 + points.dx1, points.x1 + points.dx1, points.y1 - C, points.y1 + C), // | from
|
@@ -12866,7 +12866,7 @@ mumuki.load(function () {
|
|
12866
12866
|
svgLine(points.x2, points.x2 + points.dx2, points.y2 + C, points.y2), // / to many
|
12867
12867
|
].join('');
|
12868
12868
|
}
|
12869
|
-
}
|
12869
|
+
};
|
12870
12870
|
|
12871
12871
|
function entityID(entity, index) {
|
12872
12872
|
return 'mu-erd-' + index + '-' + entity.toLowerCase().replace(/[_]/g, '-');
|
@@ -12881,8 +12881,8 @@ mumuki.load(function () {
|
|
12881
12881
|
}
|
12882
12882
|
|
12883
12883
|
function generateEntityColumns(entity, index) {
|
12884
|
-
|
12885
|
-
|
12884
|
+
const columns = entity.columns || [];
|
12885
|
+
let html = '';
|
12886
12886
|
columns.forEach(function (column) {
|
12887
12887
|
html += [
|
12888
12888
|
'<li id="', columnID(entity.name, column.name, index), '" class="mu-erd-entity-column">',
|
@@ -12894,19 +12894,19 @@ mumuki.load(function () {
|
|
12894
12894
|
' <span class="mu-erd-entity-column-type">', column.type, '</span>',
|
12895
12895
|
'</li>'
|
12896
12896
|
].join('');
|
12897
|
-
})
|
12897
|
+
});
|
12898
12898
|
return html;
|
12899
12899
|
}
|
12900
12900
|
|
12901
12901
|
function appendEntities($diagram, entities, index) {
|
12902
12902
|
entities.forEach(function (entity) {
|
12903
|
-
|
12903
|
+
const $entity = $([
|
12904
12904
|
'<div id="', entityID(entity.name, index), '" class="mu-erd-entity">',
|
12905
12905
|
' <div class="mu-erd-entity-name">',
|
12906
|
-
|
12906
|
+
entity.name,
|
12907
12907
|
' </div>',
|
12908
12908
|
' <ul class="mu-erd-entity-columns">',
|
12909
|
-
|
12909
|
+
generateEntityColumns(entity, index),
|
12910
12910
|
' </ul>',
|
12911
12911
|
'</div>',
|
12912
12912
|
].join(''));
|
@@ -12915,11 +12915,15 @@ mumuki.load(function () {
|
|
12915
12915
|
}
|
12916
12916
|
|
12917
12917
|
function drawColumnFK(entity, index, column) {
|
12918
|
-
|
12918
|
+
try {
|
12919
|
+
return drawFK(entity, column, column.fk, index);
|
12920
|
+
} catch (e) {
|
12921
|
+
console.warn("An error occurred when drawing foreign keys for entity", entity, column, column.fk)
|
12922
|
+
}
|
12919
12923
|
}
|
12920
12924
|
|
12921
12925
|
function getDirection($entityFrom, $entityTo) {
|
12922
|
-
|
12926
|
+
let direction = '';
|
12923
12927
|
direction += $entityFrom.position().top > ($entityTo.position().top + $entityTo.height()) ? 'down' : '';
|
12924
12928
|
direction += $entityTo.position().top > ($entityFrom.position().top + $entityFrom.height()) ? 'up' : '';
|
12925
12929
|
direction += ' ';
|
@@ -12931,16 +12935,16 @@ mumuki.load(function () {
|
|
12931
12935
|
|
12932
12936
|
function drawFK(entity, column, fk, index) {
|
12933
12937
|
if (!fk) return '';
|
12934
|
-
|
12938
|
+
const $entity = {
|
12935
12939
|
from: $('#' + entityID(entity.name, index)),
|
12936
12940
|
to: $('#' + entityID(fk.to.entity, index))
|
12937
|
-
}
|
12938
|
-
|
12941
|
+
};
|
12942
|
+
const $column = {
|
12939
12943
|
from: $('#' + columnID(entity.name, column.name, index)),
|
12940
12944
|
to: $('#' + columnID(fk.to.entity, fk.to.column, index))
|
12941
|
-
}
|
12942
|
-
|
12943
|
-
|
12945
|
+
};
|
12946
|
+
const direction = getDirection($entity.from, $entity.to);
|
12947
|
+
const points = getPointsFrom(direction, $entity, $column);
|
12944
12948
|
return [
|
12945
12949
|
svgLine(points.x1, points.mi, points.y1, points.y1),
|
12946
12950
|
svgLine(points.mi, points.mi, points.y1, points.y2),
|
@@ -12953,7 +12957,7 @@ mumuki.load(function () {
|
|
12953
12957
|
}
|
12954
12958
|
|
12955
12959
|
function drawConnectorLines(entity, index) {
|
12956
|
-
|
12960
|
+
const columns = entity.columns || [];
|
12957
12961
|
return columns.map(drawColumnFK.bind(this, entity, index)).join('');
|
12958
12962
|
}
|
12959
12963
|
|
@@ -12963,19 +12967,19 @@ mumuki.load(function () {
|
|
12963
12967
|
|
12964
12968
|
function appendConnectors($diagram, entities, index) {
|
12965
12969
|
entities.forEach(function (entity) {
|
12966
|
-
|
12970
|
+
const $svg = $(getSVGFor(entity, index));
|
12967
12971
|
$diagram.append($svg);
|
12968
12972
|
});
|
12969
12973
|
}
|
12970
12974
|
|
12971
|
-
function svgLine(x1, x2, y1
|
12975
|
+
function svgLine(x1, x2, y1, y2) {
|
12972
12976
|
return ['<line x1="', x1, '" x2="', x2, '" y1="', y1, '" y2="', y2, '" stroke="black" stroke-width="1"/>'].join('');
|
12973
12977
|
}
|
12974
12978
|
|
12975
12979
|
function mapEntityColumns(columnsObject) {
|
12976
|
-
|
12977
|
-
for (
|
12978
|
-
|
12980
|
+
const columns = [];
|
12981
|
+
for (let key in columnsObject) {
|
12982
|
+
const column = columnsObject[key];
|
12979
12983
|
column.name = key;
|
12980
12984
|
columns.push(column);
|
12981
12985
|
}
|
@@ -12983,9 +12987,9 @@ mumuki.load(function () {
|
|
12983
12987
|
}
|
12984
12988
|
|
12985
12989
|
function mapEntities(entitiesObject) {
|
12986
|
-
|
12987
|
-
for (
|
12988
|
-
|
12990
|
+
const entities = [];
|
12991
|
+
for (let key in entitiesObject) {
|
12992
|
+
const entity = {};
|
12989
12993
|
entity.name = key;
|
12990
12994
|
entity.columns = mapEntityColumns(entitiesObject[key]);
|
12991
12995
|
entities.push(entity);
|
@@ -12994,21 +12998,28 @@ mumuki.load(function () {
|
|
12994
12998
|
}
|
12995
12999
|
|
12996
13000
|
$.fn.renderERD = function () {
|
12997
|
-
|
13001
|
+
const self = this;
|
12998
13002
|
self.empty();
|
12999
13003
|
self.each(function (i) {
|
13000
|
-
|
13001
|
-
|
13004
|
+
//Don't draw if hidden
|
13005
|
+
if ((self[i].offsetParent === null)) return;
|
13006
|
+
const $diagram = $(self[i]);
|
13007
|
+
|
13008
|
+
const entities = mapEntities($diagram.data('entities'));
|
13002
13009
|
appendEntities($diagram, entities, i);
|
13003
13010
|
appendConnectors($diagram, entities, i);
|
13004
13011
|
});
|
13005
13012
|
return self;
|
13006
|
-
}
|
13013
|
+
};
|
13007
13014
|
|
13008
13015
|
mumuki.resize(function () {
|
13009
13016
|
$('.mu-erd').renderERD();
|
13010
13017
|
});
|
13011
13018
|
|
13019
|
+
//Redraw on bootstrap tab change event
|
13020
|
+
$('a[data-toggle="tab"]').on('shown.bs.tab', function () {
|
13021
|
+
$('.mu-erd').renderERD()
|
13022
|
+
});
|
13012
13023
|
});
|
13013
13024
|
|
13014
13025
|
mumuki.load(function () {
|
@@ -13210,7 +13221,7 @@ mumuki.load(function () {
|
|
13210
13221
|
copy: 'Copiar',
|
13211
13222
|
copied: 'Copiado'
|
13212
13223
|
},
|
13213
|
-
}
|
13224
|
+
};
|
13214
13225
|
|
13215
13226
|
function getCopiedText() {
|
13216
13227
|
var lang = (mumuki.locale || navigator.language || navigator.userLanguage || 'en').split('-')[0];
|
@@ -13289,7 +13300,7 @@ mumuki.load(function () {
|
|
13289
13300
|
});
|
13290
13301
|
|
13291
13302
|
return self;
|
13292
|
-
}
|
13303
|
+
};
|
13293
13304
|
|
13294
13305
|
mumuki.resize(function () {
|
13295
13306
|
$('pre').renderCopyPaste();
|
@@ -9325,6 +9325,81 @@ pre code {
|
|
9325
9325
|
.new-message-modal .mu-message-textarea:focus {
|
9326
9326
|
outline: -webkit-focus-ring-color none 0; }
|
9327
9327
|
|
9328
|
+
.mu-multiple-scenarios {
|
9329
|
+
display: flex;
|
9330
|
+
flex-direction: column; }
|
9331
|
+
.mu-multiple-scenarios .mu-scenarios {
|
9332
|
+
position: relative;
|
9333
|
+
flex-grow: 9;
|
9334
|
+
min-height: 90%;
|
9335
|
+
overflow: hidden; }
|
9336
|
+
.mu-multiple-scenarios .mu-scenarios a.mu-scenario-control {
|
9337
|
+
position: absolute;
|
9338
|
+
top: 0;
|
9339
|
+
bottom: 0;
|
9340
|
+
display: -webkit-box;
|
9341
|
+
display: -ms-flexbox;
|
9342
|
+
display: flex;
|
9343
|
+
-webkit-box-align: center;
|
9344
|
+
-ms-flex-align: center;
|
9345
|
+
align-items: center;
|
9346
|
+
-webkit-box-pack: center;
|
9347
|
+
-ms-flex-pack: center;
|
9348
|
+
justify-content: center;
|
9349
|
+
width: 15%;
|
9350
|
+
text-align: center;
|
9351
|
+
opacity: 0.8;
|
9352
|
+
color: #0B465D;
|
9353
|
+
text-decoration: none; }
|
9354
|
+
.mu-multiple-scenarios .mu-scenarios a.mu-scenario-control i {
|
9355
|
+
cursor: pointer;
|
9356
|
+
padding: 15px; }
|
9357
|
+
.mu-multiple-scenarios .mu-scenarios a.mu-scenario-control.previous {
|
9358
|
+
left: 0; }
|
9359
|
+
.mu-multiple-scenarios .mu-scenarios a.mu-scenario-control.next {
|
9360
|
+
right: 0; }
|
9361
|
+
.mu-multiple-scenarios .indicators {
|
9362
|
+
display: -webkit-box;
|
9363
|
+
display: -ms-flexbox;
|
9364
|
+
display: flex;
|
9365
|
+
-webkit-box-pack: center;
|
9366
|
+
-ms-flex-pack: center;
|
9367
|
+
justify-content: center;
|
9368
|
+
padding-left: 0;
|
9369
|
+
margin-right: 15%;
|
9370
|
+
margin-left: 15%;
|
9371
|
+
list-style: none;
|
9372
|
+
margin-bottom: 0; }
|
9373
|
+
.mu-multiple-scenarios .indicators li {
|
9374
|
+
position: relative;
|
9375
|
+
-webkit-box-flex: 0;
|
9376
|
+
-ms-flex: 0 1 auto;
|
9377
|
+
flex: 0 1 auto;
|
9378
|
+
margin: 10px 5px;
|
9379
|
+
opacity: 0.5;
|
9380
|
+
color: #0B465D;
|
9381
|
+
cursor: pointer; }
|
9382
|
+
.mu-multiple-scenarios .indicators li.jump {
|
9383
|
+
-webkit-animation: jump 1s ease-in-out infinite alternate;
|
9384
|
+
-moz-animation: jump 1s ease-in-out infinite alternate;
|
9385
|
+
animation: jump 1s ease-in-out infinite alternate; }
|
9386
|
+
.mu-multiple-scenarios .indicators > li:only-child {
|
9387
|
+
display: none; }
|
9388
|
+
.mu-multiple-scenarios .indicators li.active {
|
9389
|
+
opacity: 1; }
|
9390
|
+
|
9391
|
+
@keyframes jump {
|
9392
|
+
0% {
|
9393
|
+
transform: none; }
|
9394
|
+
50% {
|
9395
|
+
transform: translateY(-0.5em); } }
|
9396
|
+
.mu-multiple-scenarios .indicators .failed {
|
9397
|
+
color: #d9534f; }
|
9398
|
+
.mu-multiple-scenarios .indicators .passed {
|
9399
|
+
color: #5cb85c; }
|
9400
|
+
.mu-multiple-scenarios .mu-scenario:not(.active) {
|
9401
|
+
display: none !important; }
|
9402
|
+
|
9328
9403
|
.mu-navbar {
|
9329
9404
|
display: flex;
|
9330
9405
|
flex-flow: row;
|
@@ -9398,6 +9473,9 @@ pre code {
|
|
9398
9473
|
object-fit: cover;
|
9399
9474
|
cursor: pointer; }
|
9400
9475
|
|
9476
|
+
.da-mumuki {
|
9477
|
+
text-decoration: none; }
|
9478
|
+
|
9401
9479
|
.pointer {
|
9402
9480
|
cursor: pointer; }
|
9403
9481
|
|
@@ -9784,7 +9862,8 @@ pre code {
|
|
9784
9862
|
pre {
|
9785
9863
|
position: relative;
|
9786
9864
|
border: 2px solid #cfd9db;
|
9787
|
-
border-width: 1px;
|
9865
|
+
border-width: 1px;
|
9866
|
+
padding-top: 32px; }
|
9788
9867
|
pre .mu-clipboard {
|
9789
9868
|
font-size: 85%;
|
9790
9869
|
cursor: pointer;
|
@@ -0,0 +1,106 @@
|
|
1
|
+
$statuses: (
|
2
|
+
failed: $brand-danger,
|
3
|
+
passed: $brand-success
|
4
|
+
);
|
5
|
+
|
6
|
+
.mu-multiple-scenarios {
|
7
|
+
display: flex;
|
8
|
+
flex-direction: column;
|
9
|
+
.mu-scenarios {
|
10
|
+
position: relative;
|
11
|
+
flex-grow: 9;
|
12
|
+
min-height: 90%;
|
13
|
+
overflow: hidden;
|
14
|
+
|
15
|
+
a.mu-scenario-control {
|
16
|
+
position: absolute;
|
17
|
+
top: 0;
|
18
|
+
bottom: 0;
|
19
|
+
display: -webkit-box;
|
20
|
+
display: -ms-flexbox;
|
21
|
+
display: flex;
|
22
|
+
-webkit-box-align: center;
|
23
|
+
-ms-flex-align: center;
|
24
|
+
align-items: center;
|
25
|
+
-webkit-box-pack: center;
|
26
|
+
-ms-flex-pack: center;
|
27
|
+
justify-content: center;
|
28
|
+
width: 15%;
|
29
|
+
text-align: center;
|
30
|
+
opacity: 0.8;
|
31
|
+
color: $brand_primary;
|
32
|
+
text-decoration: none;
|
33
|
+
|
34
|
+
i {
|
35
|
+
cursor: pointer;
|
36
|
+
padding: 15px;
|
37
|
+
}
|
38
|
+
|
39
|
+
&.previous {
|
40
|
+
left: 0;
|
41
|
+
}
|
42
|
+
|
43
|
+
&.next {
|
44
|
+
right: 0;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
.indicators {
|
50
|
+
display: -webkit-box;
|
51
|
+
display: -ms-flexbox;
|
52
|
+
display: flex;
|
53
|
+
-webkit-box-pack: center;
|
54
|
+
-ms-flex-pack: center;
|
55
|
+
justify-content: center;
|
56
|
+
padding-left: 0;
|
57
|
+
margin-right: 15%;
|
58
|
+
margin-left: 15%;
|
59
|
+
list-style: none;
|
60
|
+
margin-bottom: 0;
|
61
|
+
li {
|
62
|
+
position: relative;
|
63
|
+
-webkit-box-flex: 0;
|
64
|
+
-ms-flex: 0 1 auto;
|
65
|
+
flex: 0 1 auto;
|
66
|
+
margin: 10px 5px;
|
67
|
+
opacity: 0.5;
|
68
|
+
color: $brand-primary;
|
69
|
+
cursor: pointer;
|
70
|
+
&.jump {
|
71
|
+
-webkit-animation: jump 1s ease-in-out infinite alternate;
|
72
|
+
-moz-animation: jump 1s ease-in-out infinite alternate;
|
73
|
+
animation: jump 1s ease-in-out infinite alternate;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
& > li:only-child {
|
78
|
+
display: none;
|
79
|
+
}
|
80
|
+
|
81
|
+
li.active {
|
82
|
+
opacity: 1;
|
83
|
+
}
|
84
|
+
|
85
|
+
@keyframes jump {
|
86
|
+
0% {
|
87
|
+
transform: none;
|
88
|
+
}
|
89
|
+
50% {
|
90
|
+
transform: translateY(-0.5em);
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
@each $status, $color in $statuses {
|
95
|
+
.#{$status} {
|
96
|
+
color: $color;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
.mu-scenario {
|
101
|
+
&:not(.active) {
|
102
|
+
display: none !important;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumuki-styles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Federico Scarpa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -125,6 +125,7 @@ files:
|
|
125
125
|
- app/assets/stylesheets/scss/modules/_conversation.scss
|
126
126
|
- app/assets/stylesheets/scss/modules/_follow_us.scss
|
127
127
|
- app/assets/stylesheets/scss/modules/_highlight.scss
|
128
|
+
- app/assets/stylesheets/scss/modules/_multiple_scenarios.scss
|
128
129
|
- app/assets/stylesheets/scss/modules/_new_message.scss
|
129
130
|
- app/assets/stylesheets/scss/modules/_notification.scss
|
130
131
|
- app/assets/stylesheets/scss/mumuki-styles.scss
|
@@ -235,8 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
235
236
|
- !ruby/object:Gem::Version
|
236
237
|
version: '0'
|
237
238
|
requirements: []
|
238
|
-
|
239
|
-
rubygems_version: 2.7.7
|
239
|
+
rubygems_version: 3.0.2
|
240
240
|
signing_key:
|
241
241
|
specification_version: 4
|
242
242
|
summary: Mumuki Styles
|