mirador_rails 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mirador_rails/version.rb +1 -1
- data/vendor/assets/javascripts/mirador/mirador.js.erb +2825 -693
- data/vendor/assets/locales/en/translation.json +92 -85
- data/vendor/assets/locales/es/translation.json +76 -25
- data/vendor/assets/locales/fr/translation.json +14 -3
- data/vendor/assets/locales/ga/translation.json +95 -37
- data/vendor/assets/stylesheets/mirador-combined.css +142 -10
- metadata +2 -2
@@ -1661,6 +1661,8 @@ See http://bgrins.github.io/spectrum/themes/ for instructions.
|
|
1661
1661
|
background-image: url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==);
|
1662
1662
|
}
|
1663
1663
|
|
1664
|
+
.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}.select2-hidden-accessible{border:0 !important;clip:rect(0 0 0 0) !important;height:1px !important;margin:-1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-top:5px;margin-right:10px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline{float:right}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid black 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:white}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #fff 50%, #eee 100%);background-image:-o-linear-gradient(top, #fff 50%, #eee 100%);background-image:linear-gradient(to bottom, #fff 50%, #eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-right:10px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eee 50%, #ccc 100%);background-image:-o-linear-gradient(top, #eee 50%, #ccc 100%);background-image:linear-gradient(to bottom, #eee 50%, #ccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #fff 0%, #eee 50%);background-image:-o-linear-gradient(top, #fff 0%, #eee 50%);background-image:linear-gradient(to bottom, #fff 0%, #eee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eee 50%, #fff 100%);background-image:-o-linear-gradient(top, #eee 50%, #fff 100%);background-image:linear-gradient(to bottom, #eee 50%, #fff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{float:right}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option[role=group]{padding:0}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey}.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb}
|
1665
|
+
|
1664
1666
|
/**
|
1665
1667
|
* This file is the entry point for Less processing
|
1666
1668
|
*/
|
@@ -1740,7 +1742,8 @@ See http://bgrins.github.io/spectrum/themes/ for instructions.
|
|
1740
1742
|
/* background-color: black; */
|
1741
1743
|
}
|
1742
1744
|
.mirador-container .text-editor,
|
1743
|
-
.mirador-container .tags-editor
|
1745
|
+
.mirador-container .tags-editor,
|
1746
|
+
.mirador-container .select2-container {
|
1744
1747
|
padding: 5px;
|
1745
1748
|
display: block;
|
1746
1749
|
margin: 6px 0px 6px 0px;
|
@@ -1749,6 +1752,14 @@ See http://bgrins.github.io/spectrum/themes/ for instructions.
|
|
1749
1752
|
box-shadow: inset 0 0 7px gray;
|
1750
1753
|
resize: vertical;
|
1751
1754
|
border: 1px solid gray;
|
1755
|
+
width: 200px;
|
1756
|
+
}
|
1757
|
+
.mirador-container .text-editor .select2-selection--multiple,
|
1758
|
+
.mirador-container .tags-editor .select2-selection--multiple,
|
1759
|
+
.mirador-container .select2-container .select2-selection--multiple {
|
1760
|
+
border: none;
|
1761
|
+
background-color: inherit;
|
1762
|
+
font-size: 16px;
|
1752
1763
|
}
|
1753
1764
|
.mirador-container .annotation-display.annotation-tooltip .button-container {
|
1754
1765
|
text-align: right;
|
@@ -2178,7 +2189,7 @@ See http://bgrins.github.io/spectrum/themes/ for instructions.
|
|
2178
2189
|
top: 0;
|
2179
2190
|
box-sizing: border-box;
|
2180
2191
|
background-color: rgba(255, 255, 255, 0.9);
|
2181
|
-
z-index:
|
2192
|
+
z-index: 5;
|
2182
2193
|
width: 45%;
|
2183
2194
|
overflow-y: scroll;
|
2184
2195
|
height: 80%;
|
@@ -2406,6 +2417,12 @@ See http://bgrins.github.io/spectrum/themes/ for instructions.
|
|
2406
2417
|
transition: none;
|
2407
2418
|
/*width: 100%*/
|
2408
2419
|
}
|
2420
|
+
.mirador-container .mirador-osd-context-controls > div {
|
2421
|
+
clear: both;
|
2422
|
+
}
|
2423
|
+
.mirador-container .mirador-osd-context-controls > div > a:first-child {
|
2424
|
+
margin-bottom: 10px;
|
2425
|
+
}
|
2409
2426
|
.mirador-container .mirador-osd-context-controls a {
|
2410
2427
|
float: left;
|
2411
2428
|
margin: 0 10px 0 0;
|
@@ -2417,10 +2434,14 @@ See http://bgrins.github.io/spectrum/themes/ for instructions.
|
|
2417
2434
|
left: 0px;
|
2418
2435
|
}
|
2419
2436
|
.mirador-container .mirador-manipulation-controls {
|
2420
|
-
|
2421
|
-
|
2422
|
-
|
2423
|
-
|
2437
|
+
min-width: 364px;
|
2438
|
+
}
|
2439
|
+
.mirador-container .mirador-mirror {
|
2440
|
+
-moz-transform: scale(-1, 1);
|
2441
|
+
-webkit-transform: scale(-1, 1);
|
2442
|
+
-o-transform: scale(-1, 1);
|
2443
|
+
transform: scale(-1, 1);
|
2444
|
+
filter: FlipH;
|
2424
2445
|
}
|
2425
2446
|
.mirador-container .mirador-osd-color-picker * {
|
2426
2447
|
text-shadow: none;
|
@@ -2994,15 +3015,14 @@ See http://bgrins.github.io/spectrum/themes/ for instructions.
|
|
2994
3015
|
margin-top: 10px;
|
2995
3016
|
border-top: 1px solid gray;
|
2996
3017
|
}
|
2997
|
-
.mirador-container #workspace-select-menu
|
2998
|
-
.mirador-container #workspaceContainer {
|
3018
|
+
.mirador-container #workspace-select-menu {
|
2999
3019
|
position: absolute;
|
3000
3020
|
height: 100%;
|
3001
3021
|
width: 100%;
|
3002
3022
|
background-color: rgba(255, 255, 255, 0.94);
|
3003
3023
|
display: none;
|
3004
3024
|
overflow: hidden;
|
3005
|
-
z-index:
|
3025
|
+
z-index: 6;
|
3006
3026
|
}
|
3007
3027
|
.mirador-container #workspace-select-menu {
|
3008
3028
|
background-color: #333;
|
@@ -3472,7 +3492,7 @@ See http://bgrins.github.io/spectrum/themes/ for instructions.
|
|
3472
3492
|
background-color: rgba(255, 255, 255, 0.94);
|
3473
3493
|
display: none;
|
3474
3494
|
overflow: hidden;
|
3475
|
-
z-index:
|
3495
|
+
z-index: 6;
|
3476
3496
|
right: 0;
|
3477
3497
|
top: 0;
|
3478
3498
|
padding: 10px;
|
@@ -3603,5 +3623,117 @@ See http://bgrins.github.io/spectrum/themes/ for instructions.
|
|
3603
3623
|
text-overflow: ellipsis;
|
3604
3624
|
text-align: center;
|
3605
3625
|
}
|
3626
|
+
.mirador-container .layersPanel h3 {
|
3627
|
+
margin: 10px 0;
|
3628
|
+
}
|
3629
|
+
.layersPanel {
|
3630
|
+
position: absolute;
|
3631
|
+
width: 285px;
|
3632
|
+
left: 0;
|
3633
|
+
right: 0;
|
3634
|
+
top: 0;
|
3635
|
+
bottom: 0;
|
3636
|
+
overflow-y: scroll;
|
3637
|
+
}
|
3638
|
+
.layersPanel .layers-listing {
|
3639
|
+
padding: 0;
|
3640
|
+
list-style-type: none;
|
3641
|
+
margin-top: 0;
|
3642
|
+
}
|
3643
|
+
.layersPanel .layers-list-item {
|
3644
|
+
zoom: 1;
|
3645
|
+
border-top: 1px solid gray;
|
3646
|
+
border-bottom: 1px solid gray;
|
3647
|
+
padding: 10px 10px 10px 0;
|
3648
|
+
margin-right: 20px;
|
3649
|
+
}
|
3650
|
+
.layersPanel .layers-list-item:before,
|
3651
|
+
.layersPanel .layers-list-item:after {
|
3652
|
+
content: "";
|
3653
|
+
display: table;
|
3654
|
+
}
|
3655
|
+
.layersPanel .layers-list-item:after {
|
3656
|
+
clear: both;
|
3657
|
+
}
|
3658
|
+
.layersPanel .layers-list-item > h4 {
|
3659
|
+
margin-bottom: 5px;
|
3660
|
+
}
|
3661
|
+
.layersPanel .layers-list-item .thumb-container {
|
3662
|
+
position: relative;
|
3663
|
+
float: left;
|
3664
|
+
width: 60px;
|
3665
|
+
height: 60px;
|
3666
|
+
margin-right: 10px;
|
3667
|
+
}
|
3668
|
+
.layersPanel .layers-list-item .thumb-container img {
|
3669
|
+
position: relative;
|
3670
|
+
margin: 0 auto;
|
3671
|
+
max-height: 60px;
|
3672
|
+
max-width: 60px;
|
3673
|
+
display: block;
|
3674
|
+
opacity: 0;
|
3675
|
+
border: 1px solid gray;
|
3676
|
+
box-shadow: inset 0 0 12px gray;
|
3677
|
+
top: 50%;
|
3678
|
+
transform: translateY(-50%);
|
3679
|
+
}
|
3680
|
+
.layersPanel .layers-list-item .thumb-container img.loaded {
|
3681
|
+
transition: all 0.2s ease-out;
|
3682
|
+
opacity: 1;
|
3683
|
+
}
|
3684
|
+
.layersPanel .layers-list-item .thumb-container .spinner,
|
3685
|
+
.layersPanel .layers-list-item .thumb-container .failed,
|
3686
|
+
.layersPanel .layers-list-item .thumb-container .thumb-failed {
|
3687
|
+
position: absolute;
|
3688
|
+
display: inline-block;
|
3689
|
+
width: 100%;
|
3690
|
+
margin: 0 auto;
|
3691
|
+
top: 50%;
|
3692
|
+
transform: translateY(-50%);
|
3693
|
+
opacity: 0;
|
3694
|
+
transition: all 0.2s ease-out;
|
3695
|
+
color: #666;
|
3696
|
+
}
|
3697
|
+
.layersPanel .layers-list-item .thumb-container.awaiting-thumbnail .spinner {
|
3698
|
+
opacity: 1;
|
3699
|
+
}
|
3700
|
+
.layersPanel .layers-list-item.requested .spinner {
|
3701
|
+
opacity: 1;
|
3702
|
+
transition: all 0.2s ease-out;
|
3703
|
+
}
|
3704
|
+
.layersPanel .layers-list-item.requested .thumb-container img {
|
3705
|
+
transition: all 0.2s ease-out;
|
3706
|
+
opacity: 0.5;
|
3707
|
+
}
|
3708
|
+
.layersPanel .layers-list-item.failed .failed {
|
3709
|
+
opacity: 1;
|
3710
|
+
transition: all 0.2s ease-out;
|
3711
|
+
}
|
3712
|
+
.layersPanel .layers-list-item.failed .thumb-container img {
|
3713
|
+
transition: all 0.2s ease-out;
|
3714
|
+
opacity: 0.5;
|
3715
|
+
}
|
3716
|
+
.layersPanel .layers-list-item.failed .thumb-failed {
|
3717
|
+
opacity: 0;
|
3718
|
+
}
|
3719
|
+
.layersPanel .layers-list-item.failed .thumb-container.awaiting-thumbnail .spinner {
|
3720
|
+
opacity: 0;
|
3721
|
+
transition: all 0.2s ease-out;
|
3722
|
+
}
|
3723
|
+
.layersPanel .layers-list-item .visibility-toggle {
|
3724
|
+
margin-bottom: 10px;
|
3725
|
+
}
|
3726
|
+
.layersPanel .disabled-overlay {
|
3727
|
+
display: none;
|
3728
|
+
}
|
3729
|
+
.layersPanel.inactive > *:not(.disabled-overlay) {
|
3730
|
+
display: none;
|
3731
|
+
}
|
3732
|
+
.layersPanel.inactive .disabled-overlay {
|
3733
|
+
padding: 10px;
|
3734
|
+
display: block;
|
3735
|
+
box-sizing: border-box;
|
3736
|
+
color: dimgray;
|
3737
|
+
}
|
3606
3738
|
|
3607
3739
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mirador_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jack Reed
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: font-awesome-rails
|