card 1.93.6 → 1.93.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/config/initializers/02_patches/active_record.rb +13 -0
  4. data/config/initializers/patches.rb +6 -0
  5. data/config/initializers/recaptcha.rb +16 -14
  6. data/lib/card.rb +4 -3
  7. data/lib/card/format/nest/fetch.rb +1 -3
  8. data/lib/card/migration/deck_structure.rb +18 -0
  9. data/lib/card/query/attributes.rb +1 -1
  10. data/lib/card/query/clause.rb +6 -7
  11. data/lib/card/query/interpretation.rb +5 -1
  12. data/lib/card/query/value.rb +29 -19
  13. data/lib/card/set/event.rb +52 -28
  14. data/lib/card/set/event/delayed_event.rb +3 -3
  15. data/lib/card/set/format/haml_views.rb +1 -1
  16. data/lib/card/tasks/card.rake +7 -0
  17. data/lib/card/tasks/card/migrate.rake +29 -0
  18. data/lib/card/view/options.rb +7 -189
  19. data/lib/card/view/options/key_lists.rb +41 -0
  20. data/lib/card/view/options/voo_api.rb +165 -0
  21. data/lib/cardio.rb +16 -7
  22. data/lib/cardio/schema.rb +6 -1
  23. data/mod/basic_formats/set/all/base.rb +7 -3
  24. data/mod/basic_formats/set/self/head.rb +5 -0
  25. data/mod/carrierwave/config/core_initializers/carrierwave.rb +7 -0
  26. data/mod/core/set/all/name_validations.rb +3 -4
  27. data/mod/machines/file/all_script_machine_output/file.js +75 -23
  28. data/mod/machines/file/all_style_machine_output/file.css +2 -2
  29. data/mod/machines/lib/javascript/decko.js.coffee +1 -1
  30. data/mod/machines/lib/javascript/decko_filter.js.coffee +18 -10
  31. data/mod/pointer/set/abstract/02_pointer.rb +1 -1
  32. data/mod/pointer/set/abstract/02_pointer/filtered.rb +3 -1
  33. data/mod/pointer/template/abstract/02_pointer/filtered/filter_items.haml +2 -1
  34. data/mod/pointer/template/abstract/02_pointer/filtered/filtered_list_input.haml +3 -2
  35. data/mod/search/set/abstract/01_filter_form_helper.rb +8 -0
  36. data/mod/search/set/abstract/{01_search_params.rb → 02_search_params.rb} +0 -0
  37. data/mod/search/set/abstract/03_filter.rb +1 -1
  38. data/mod/search/set/abstract/wql_search.rb +7 -0
  39. data/mod/search/template/abstract/03_filter/filter_form.haml +24 -22
  40. data/mod/search/template/abstract/search/checkbox_item.haml +1 -1
  41. metadata +9 -6
  42. data/mod/search/set/abstract/02_filter_formgroups.rb +0 -134
@@ -12,6 +12,7 @@ module Cardio
12
12
  case type
13
13
  when :core_cards then "_core_cards"
14
14
  when :deck_cards then "_deck_cards"
15
+ when :deck then "_deck"
15
16
  else ""
16
17
  end
17
18
  end
@@ -45,10 +46,14 @@ module Cardio
45
46
  end
46
47
 
47
48
  def schema_stamp_path type
48
- root_dir = (type == :deck_cards ? root : gem_root)
49
+ root_dir = deck_migration?(type) ? root : gem_root
49
50
  stamp_dir = ENV["SCHEMA_STAMP_PATH"] || File.join(root_dir, "db")
50
51
 
51
52
  File.join stamp_dir, "version#{schema_suffix type}.txt"
52
53
  end
54
+
55
+ def deck_migration? type
56
+ type.in? %i[deck_cards deck]
57
+ end
53
58
  end
54
59
  end
@@ -88,9 +88,13 @@ format do
88
88
  end
89
89
  end
90
90
 
91
- view :labeled_content, :core
91
+ view :labeled_content do
92
+ _render_core
93
+ end
92
94
 
93
- view :titled_content, :core
95
+ view :titled_content do
96
+ _render_core
97
+ end
94
98
 
95
99
  view :blank, closed: true, perms: :none do
96
100
  ""
@@ -109,7 +113,7 @@ format do
109
113
  view :open, :titled
110
114
 
111
115
  view :labeled do
112
- "#{card.name}: #{_render_closed_content}"
116
+ "#{card.name}: #{_render_labeled_content}"
113
117
  end
114
118
  view :closed, :labeled
115
119
 
@@ -18,6 +18,7 @@ format :html do
18
18
  <<-HTML
19
19
  <meta charset="UTF-8">
20
20
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
21
+ #{no_index}
21
22
  HTML
22
23
  end
23
24
 
@@ -77,6 +78,10 @@ format :html do
77
78
  end
78
79
  end
79
80
 
81
+ def no_index
82
+ return unless root.card.unknown?
83
+ '<meta name="robots" content="noindex">'
84
+ end
80
85
 
81
86
  def universal_edit_button
82
87
  return if root.card.new_record? || !root.card.ok?(:update)
@@ -0,0 +1,7 @@
1
+ ActiveSupport.on_load :before_card do
2
+ require "carrierwave"
3
+ end
4
+
5
+ ActiveSupport.on_load :card do
6
+ Card.extend CarrierWave::Mount
7
+ end
@@ -5,13 +5,12 @@ event :permit_codename, :validate,
5
5
  end
6
6
 
7
7
  event :validate_uniqueness_of_codename do
8
- return unless codename.present? && errors.empty? &&
9
- Card.find_by_codename(codename).present?
8
+ return (self.codename = nil) if codename.blank?
9
+ return if errors.present? || !Card.find_by_codename(codename)
10
10
  errors.add :codename, "codename #{codename} already in use"
11
11
  end
12
12
 
13
- event :validate_name, :validate,
14
- on: :save, changed: :name do
13
+ event :validate_name, :validate, on: :save, changed: :name do
15
14
  validate_legality_of_name
16
15
  return if errors.any?
17
16
  validate_uniqueness_of_name
@@ -6,7 +6,7 @@ return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeTyp
6
6
 
7
7
  //script: slot
8
8
  (function() {
9
- var addCaptcha, addCategoryOption, addSelectedButton, addSelectedButtonUrl, containerClass, deSelectAllLink, detectMobileBrowser, doubleSidebar, filterAndSort, filterBox, filterCategorySelected, hideFilterInputField, initCaptcha, navbox_results, navbox_select, navboxize, newFilteredListContent, removeCategoryOption, reqIndex, savedIds, selectFilteredItem, selectedBin, selectedData, selectedIds, selectedNames, setFilterInputWidth, showFilterInputField, sidebarToggle, singleSidebar, snakeCase, toggleButton, trackSelectedIds, updateFilterAfterSelection, warn, wrapDeckoLayout, wrapSidebarToggle;
9
+ var addCaptcha, addCategoryOption, addSelectedButton, addSelectedButtonUrl, containerClass, deselectAllLink, detectMobileBrowser, doubleSidebar, filterAndSort, filterBox, filterCategorySelected, hideFilterInputField, initCaptcha, navbox_results, navbox_select, navboxize, newFilteredListContent, removeCategoryOption, reqIndex, savedIds, selectFilteredItem, selectedBin, selectedData, selectedIds, selectedNames, setFilterInputWidth, showFilterInputField, sidebarToggle, singleSidebar, snakeCase, toggleButton, trackSelectedIds, updateAfterSelection, updateSelectedCount, updateSelectedSectionVisibility, updateUnselectedCount, warn, wrapDeckoLayout, wrapSidebarToggle;
10
10
 
11
11
  window.decko || (window.decko = {});
12
12
 
@@ -37,9 +37,6 @@ return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeTyp
37
37
  return item.find('input').val('');
38
38
  }
39
39
  });
40
- $('body').on('click', '._filtered-list-item-delete', function() {
41
- return $(this).closest('li').remove();
42
- });
43
40
  $('body').on('show.bs.tab', 'a.load[data-toggle=tab][data-url]', function(e) {
44
41
  var tab_id, url;
45
42
  tab_id = $(e.target).attr('href');
@@ -538,13 +535,13 @@ return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeTyp
538
535
  });
539
536
  $("body").on("click", "._filter-items ._unselected ._search-checkbox-item input", function() {
540
537
  selectFilteredItem($(this));
541
- return updateFilterAfterSelection($(this));
538
+ return updateAfterSelection($(this));
542
539
  });
543
540
  $("body").on("click", "._filter-items ._selected ._search-checkbox-item input", function() {
544
541
  var bin;
545
542
  bin = selectedBin($(this));
546
543
  $(this).slot().remove();
547
- return updateFilterAfterSelection(bin);
544
+ return updateAfterSelection(bin);
548
545
  });
549
546
  $("body").on("click", "._filter-items ._add-selected", function() {
550
547
  var btn, content;
@@ -556,15 +553,18 @@ return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeTyp
556
553
  filterBox($(this)).find("._unselected ._search-checkbox-item input").each(function() {
557
554
  return selectFilteredItem($(this));
558
555
  });
559
- return updateFilterAfterSelection($(this));
556
+ $(this).prop("checked", false);
557
+ return updateAfterSelection($(this));
560
558
  });
561
- return $("body").on("click", "._deselect-all", function() {
562
- var bin;
563
- bin = selectedBin($(this));
559
+ $("body").on("click", "._deselect-all", function() {
564
560
  filterBox($(this)).find("._selected ._search-checkbox-item input").each(function() {
565
561
  return $(this).slot().remove();
566
562
  });
567
- return updateFilterAfterSelection(bin);
563
+ $(this).prop("checked", true);
564
+ return updateAfterSelection($(this));
565
+ });
566
+ return $('body').on('click', '._filtered-list-item-delete', function() {
567
+ return $(this).closest('li').remove();
568
568
  });
569
569
  });
570
570
 
@@ -579,20 +579,57 @@ return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeTyp
579
579
  };
580
580
 
581
581
  addSelectedButtonUrl = function(btn, content) {
582
- var query, url_base, view;
582
+ var card_args, query, url_base, view;
583
583
  view = btn.slot().data("slot")["view"];
584
+ card_args = {
585
+ content: content,
586
+ type: "Pointer"
587
+ };
584
588
  query = {
585
- "card[content]": content,
586
- "assign": true,
587
- "view": view
589
+ assign: true,
590
+ view: view,
591
+ card: card_args
588
592
  };
589
- url_base = btn.attr("href") + "?" + $.param(query);
593
+ url_base = decko.rootPath + btn.attr("href") + "&" + $.param(query);
590
594
  return decko.prepUrl(url_base, btn.slot());
591
595
  };
592
596
 
593
- updateFilterAfterSelection = function(el) {
597
+ updateAfterSelection = function(el) {
594
598
  trackSelectedIds(el);
595
- return filterAndSort(filterBox(el).find("._filter-form"));
599
+ filterAndSort(filterBox(el).find("._filter-form"));
600
+ updateSelectedCount(el);
601
+ return updateUnselectedCount(el);
602
+ };
603
+
604
+ updateSelectedCount = function(el) {
605
+ var count;
606
+ count = selectedBin(el).children().length;
607
+ filterBox(el).find("._selected-items").html(count);
608
+ deselectAllLink(el).attr("disabled", count === 0);
609
+ addSelectedButton(el).attr("disabled", count === 0);
610
+ return updateSelectedSectionVisibility(el, count > 0);
611
+ };
612
+
613
+ updateSelectedSectionVisibility = function(el, items_present) {
614
+ var box, help_text, selected_items;
615
+ box = filterBox(el);
616
+ selected_items = box.find("._selected-item-list");
617
+ help_text = box.find("._filter-help");
618
+ if (items_present) {
619
+ selected_items.show();
620
+ return help_text.hide();
621
+ } else {
622
+ selected_items.hide();
623
+ return help_text.show();
624
+ }
625
+ };
626
+
627
+ updateUnselectedCount = function(el) {
628
+ var box, count;
629
+ box = filterBox(el);
630
+ count = box.find("._search-checkbox-list").children().length;
631
+ box.find("._unselected-items").html(count);
632
+ return box.find("._select-all").attr("disabled", count > 0);
596
633
  };
597
634
 
598
635
  selectFilteredItem = function(checkbox) {
@@ -620,7 +657,7 @@ return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeTyp
620
657
  return filterBox(el).find("._add-selected");
621
658
  };
622
659
 
623
- deSelectAllLink = function(el) {
660
+ deselectAllLink = function(el) {
624
661
  return filterBox(el).find("._deselect-all");
625
662
  };
626
663
 
@@ -644,8 +681,7 @@ return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeTyp
644
681
  var box, ids;
645
682
  ids = savedIds(el).concat(selectedIds(el));
646
683
  box = filterBox(el);
647
- box.find("._not-ids").val(ids.toString());
648
- return addSelectedButton(el).attr("disabled", ids.length === 0);
684
+ return box.find("._not-ids").val(ids.toString());
649
685
  };
650
686
 
651
687
  filterCategorySelected = function(addFilterDropdown, selectedCategory, label) {
@@ -1150,12 +1186,21 @@ return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeTyp
1150
1186
  return $(this).hide();
1151
1187
  });
1152
1188
  if (slot.hasClass("_refresh-timer")) {
1153
- return setTimeout(function() {
1189
+ setTimeout(function() {
1154
1190
  return $.get(slot.data("refresh-url"), function(data, status) {
1155
1191
  return slot.setSlotContent(data);
1156
1192
  });
1157
1193
  }, 2000);
1158
1194
  }
1195
+ return slot.find('._modal-slot').each(function() {
1196
+ var mslot;
1197
+ mslot = $(this);
1198
+ if ($.find("body #" + mslot.attr("id")).length > 1) {
1199
+ return mslot.remove();
1200
+ } else {
1201
+ return $("body").append(mslot);
1202
+ }
1203
+ });
1159
1204
  });
1160
1205
 
1161
1206
  }).call(this);
@@ -18572,7 +18617,7 @@ $.extend( proto, {
18572
18617
  },
18573
18618
  '._pointer-filtered-list': function() {
18574
18619
  return pointerContent(this.find('._filtered-list-item').map(function() {
18575
- return $(this).data('cardname');
18620
+ return $(this).data('cardName');
18576
18621
  }));
18577
18622
  },
18578
18623
  '.perm-editor': function() {
@@ -18588,6 +18633,13 @@ $.extend( proto, {
18588
18633
  return decko.initPointerList(this.find('input'));
18589
18634
  };
18590
18635
 
18636
+ decko.editorInitFunctionMap['._pointer-filtered-list'] = function() {
18637
+ return this.sortable({
18638
+ handle: '._handle',
18639
+ cancel: ''
18640
+ });
18641
+ };
18642
+
18591
18643
  $.extend(decko, {
18592
18644
  initPointerList: function(input) {
18593
18645
  return decko.initAutoCardPlete(input);
@@ -5,9 +5,9 @@
5
5
  * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default !important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin-top:2px;padding:.5em .5em .5em .7em;min-height:0}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-noicons{padding-left:.7em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:none}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;width:100%;list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;min-height:0;font-weight:normal}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.ui-menu .ui-state-disabled{font-weight:normal;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url(/assets/smoothness/animated-overlay.gif);height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaaaaa;background:#fff url(/assets/smoothness/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;color:#222222}.ui-widget-content a{color:#222222}.ui-widget-header{border:1px solid #aaaaaa;background:#ccc url(/assets/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222222;font-weight:bold}.ui-widget-header a{color:#222222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(/assets/smoothness/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#555555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999999;background:#dadada url(/assets/smoothness/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaaaaa;background:#fff url(/assets/smoothness/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(/assets/smoothness/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(/assets/smoothness/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url(/assets/smoothness/ui-icons_222222_256x240.png)}.ui-widget-header .ui-icon{background-image:url(/assets/smoothness/ui-icons_222222_256x240.png)}.ui-state-default .ui-icon{background-image:url(/assets/smoothness/ui-icons_888888_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(/assets/smoothness/ui-icons_454545_256x240.png)}.ui-state-active .ui-icon{background-image:url(/assets/smoothness/ui-icons_454545_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(/assets/smoothness/ui-icons_2e83ff_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(/assets/smoothness/ui-icons_cd0a0a_256x240.png)}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#aaa url(/assets/smoothness/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(/assets/smoothness/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px}
6
6
 
7
7
  /*!
8
- * Wagn: http://wagn.org
8
+ * Decko: http://wagn.org
9
9
  * Copyright 2015 Grass Commons and other contributors; Licensed GPL
10
- */.d0-card-frame,.d0-card-body,.ALL{overflow:inherit;white-space:normal}.ui-loader,.card-notice,.new-current-revision-id,.editor .revision-navigation,.editor .autosave-alert,.edit_name-view .alert,.btn.renamer-updater,.confirm_update_all-view,.follow-updater,.admin-error-message,.labeled-view .card-menu-link{display:none}.d0-card-frame .d0-card-frame-title{display:inline-block;overflow:hidden}.d0-card-frame .d0-card-frame-title span.header-icon{margin:0px 5px}.d0-card-frame .toggler{display:inline-block;position:relative}.d0-card-frame .type-info{margin-right:10px}.card-subheader{width:100%}.d0-card-frame>.menu-slot>.card-menu{padding:0.75rem 0}.menu-slot{width:100%}.menu-slot span.menu-item-label{margin-left:5px}.menu-slot .card-menu{position:absolute;right:8px}.menu-slot .card-menu>.btn-group{z-index:1}.menu-slot .card-menu>.btn-group.show{z-index:2}.menu-slot .card-menu li{white-space:nowrap;text-align:left}.menu-slot .card-menu .dropdown-menu{right:-2px;top:18px;min-width:110px}.menu-slot .card-menu .dropdown-menu .dropdown-item{padding-left:0.8rem}.menu-slot .card-menu .dropdown-menu:before{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid white;position:absolute;top:-5px;right:2px}.menu-slot .horizontal-card-menu{z-index:100}.menu-slot .horizontal-card-menu li{height:30px}.menu-slot .horizontal-card-menu .btn{padding:6px 12px}.d0-card-frame-title{margin-right:3px}.dropdown-menu{z-index:1005}.navbar.toolbar{margin-bottom:0}.navbar .btn.btn-toolbar-control{padding:5px;border:none}.navbar-divide{margin-left:30px;border-left:1px solid}.card-subheader{height:30px;text-align:left;font-size:13px;padding:6px 15px 3px 15px}.card-subheader>.card-title.panel-title{font-size:13px}.closed-view{position:relative}.closed-view>.d0-card-frame{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:static;width:100%}.closed-view>.d0-card-frame>.d0-card-header{float:left}.closed-view .card-menu.btn-group{display:none}.closed-view .d0-card-frame{display:inline-block}.closed-content{margin-top:2px;white-space:nowrap;text-overflow:ellipsis}.closed-content table,.closed-content thead,.closed-content tbody,.closed-content tr,.closed-content th,.closed-content td,.closed-content p,.closed-content h1,.closed-content h2,.closed-content h3,.closed-content h4,.closed-content h5,.closed-content h6,.closed-content ul,.closed-content li,.closed-content pre,.closed-content ol,.closed-content div,.closed-content span,.closed-content a,.closed-content blockquote,.closed-content img,.closed-content label,.closed-content i{display:inline;white-space:nowrap;float:none}.closed-content br,.closed-content hr,.closed-content input,.closed-content textarea,.closed-content object,.closed-content :after,.closed-content :before{display:none}.labeled-view:hover .card-menu{display:inline-block}.change-view{clear:both}.change-view .last-update{float:right;text-align:right}.change-view .last-update a{white-space:nowrap}.fileupload-buttonbar .btn,.fileupload-buttonbar .toggle{margin-bottom:5px}.fileinput-button{position:relative;overflow:hidden;display:inline-block}.fileinput-button input{position:absolute;top:0;right:0;margin:0;opacity:0;-ms-filter:'alpha(opacity=0)';font-size:200px;direction:ltr;cursor:pointer}.template_editor-view>div{float:left}.template-editor-close{float:right}.template_link-view{display:inline}.navbox-item-label{float:left;position:relative}.card-editor{white-space:normal;padding-bottom:15px}pre,.TYPE-plain_text.d0-card-content,.SELF-Xhead.d0-card-content{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}.missing-view a{display:inline}.SELF-Xstat>.d0-card-content table{width:100%}.SELF-Xstat>.d0-card-content tr:nth-child(even){background:#eee}.d0-card-frame{text-align:left;font-weight:normal;font-style:normal}.ALL.related-view>.d0-card-frame>.d0-card-body{padding:0}.navbox-item-label{font-size:10px;width:50px;padding:3px 0 3px 5px}.ui-menu-item .glyphicon{float:left;font-size:10px;padding:3px 0 3px 0px}.closed-view.panel{margin:0;width:100%}.closed-content table,.closed-content tbody,.closed-content tr,.closed-content th,.closed-content td,.closed-content p,.closed-content h1,.closed-content h2,.closed-content h3,.closed-content h4,.closed-content h5,.closed-content h6,.closed-content ul,.closed-content li,.closed-content pre,.closed-content ol,.closed-content div,.closed-content span,.closed-content a,.closed-content blockquote,.closed-content img{font-size:1em;margin:0 6px 0 0;padding:0;border:0}.closed-content a{margin:0}.closed-content img{max-height:1em;width:auto}.labeled-view{padding:5px 0}.labeled-view label h1,.labeled-view .pointer-list,.labeled-view .pointer-item,.labeled-view .search-result-list,.labeled-view .search-result-item{font-size:1em}.labeled-view>.d0-card-content{padding-left:10px}.labeled-view label,a.missing-labeled{display:inline-block;min-width:30%;text-align:right}textarea,.content-editor>input[type=text],.content-editor>input[type=password],.name-editor input{width:97.5%}textarea{max-height:500px}.name-editor.known-name input{border:3px solid #c22}.name-messages{font-style:italic;background:#ffd}.template-editor-main{width:85%}.template-editor-left,.template-editor-right{width:5%;text-align:center;font-size:3em;line-height:2em;white-space:nowrap}.pointer-list-editor{margin:0px;padding:0px}.pointer-list-editor li{list-style:none;white-space:nowrap}.pointer-list-editor .input-group-btn .btn{border-bottom-width:1px}.pointer-list-editor .pointer-item-add{margin-top:10px}.pointer-list-editor .input-group-addon.handle{padding-left:1px;padding-right:1px}.pointer-list-editor .input-group-addon.handle .glyphicon-option-vertical.left{margin-right:-7px}.pointer-list-editor .input-group-addon.handle .glyphicon-option-vertical.right{margin-left:-7px}.new-account-link{text-align:center}.missing-view a{color:#999;font-variant:small-caps}.missing-view a:hover{color:#069;background:#ffc}.pointer-radio-list{list-style-type:none}div.pointer-list,div.search-result-list{list-style:none;padding:5px 0;margin:0}div.pointer-list .closed-view>.d0-card-frame,div.search-result-list .closed-view>.d0-card-frame{margin-bottom:0}div.pointer-list .pointer-item,div.search-result-list .search-result-item{margin:0}.search-result-item.item-link,.pointer-item.item-link,.search-result-item.item-name,.pointer-item.item-name{text-indent:-15px;padding-left:15px}.radio-option-description,.checkbox-option-description{margin-left:40px}ul.pointer{margin:0px;padding:0px}.history-slot{overflow:hidden;clear:both}.deleted-mark{color:#ff5050}.added-mark{color:#41ad41}.diff-deleted{text-decoration:line-through;color:#ff5050}.diff-deleted img{border:2px solid #ff5050}.diff-added{color:#41ad41}.diff-added img{margin:0px 4px 0px 4px;border:2px solid #41ad41}ul.action-list{list-style-type:none;padding-left:15px}ul.action-list li:before{font-family:'Material Icons';float:left;margin-top:4px;margin-left:-17px}ul.action-list li.update:before{content:"edit"}ul.action-list li.create:before{content:"add"}ul.action-list li.delete:before{content:"delete"}ul.action-list li.draft:before{content:"build"}.exception p{margin:15px}.errors-view{margin:10px;padding:10px;border:3px solid #966;background:#ffa;border-radius:8px;-moz-border-radius:8px;border:1px solid #777;border-bottom:2px solid #888;border-right:2px solid #888;color:#333}.card-notice{background:#fff;font-weight:bold;font-style:italic;text-align:center;margin:0 0 4px 0}#credit,.flash-notice{color:#333;font-size:1.1em;background:#fff;border:1px solid #888;margin-bottom:15px;padding:5px;text-align:center}.conflict-view{text-align:left;border:1px solid grey;padding:10px;margin-top:12px}.SELF-home-original.d0-card-content ul{list-style-type:none;margin:1em;padding:0}.SELF-home-original.d0-card-content li{padding:.8em;margin:0;background:#eee}.SELF-home-original.d0-card-content li:nth-child(even){background:#ddd}.SELF-home-original.d0-card-content aside{float:right;border:1px solid #999;background:white;width:33%;padding:1em;margin:36px 16px 2px 5px;overflow:auto;border-radius:18px;-moz-border-radius:18px;text-align:center}.SELF-home-original.d0-card-content aside h2{font-size:.9em;padding:0;margin:5px}.SELF-home-original.d0-card-content aside p{font-size:.8em}.SELF-wagneer_menu.d0-card-content>p{margin-left:6%;text-indent:-6%}.setting-rules,.set-rules{width:100%}.setting-rules th,.set-rules th{background:#aaa;color:#eee;padding:5px 0}.setting-rules th,.setting-rules td,.set-rules th,.set-rules td.rule-cell{text-align:left;padding:2px 5px}.set-rules th,.set-rules td.rule-cell{border-bottom:1px solid #eee}.setting-klass,.rule-setting{font-weight:bold}td.rule-setting{width:30%}.rule-set{color:#666;white-space:nowrap}.rule-type-field{max-width:70%;margin-right:5px}.closed-rule{height:30px}.closed-rule td{vertical-align:middle}.closed-rule .rule-content{width:350px}.rule-content-container{max-width:350px;overflow:hidden;text-overflow:ellipsis;line-height:inherit;background:inherit;white-space:nowrap}.rule-content-container .closed-content,.rule-content-container .closed-content .pointer-list,.rule-content-container .closed-content .search-list{margin:0}tr.missing-rule>td{background-color:#eee;border-bottom:1px solid #fff}.rule-setting{padding-top:4px}.open-rule>.rule-setting{width:28%;float:left}.open-rule .d0-card-body{clear:both}.open-rule .rule-instruction{float:right;text-align:left;max-width:68%}.edit-rule .set-editor ul,.set-list .set-editor ul{list-style-type:none}.edit-rule .set-editor .current-set-label,.set-list .set-editor .current-set-label{font-weight:bold}.edit-rule .edit-button-area,.set-list .edit-button-area{clear:both;padding-top:5px}.attention{border:3px solid red}.rule-delete-section{float:right}.show-rule .rule-set{margin-bottom:10px}.klass-row{background:#eee;border-top:1px solid #ddd}tr.rule-changeover td{border-top:1px solid #eee;padding-top:5px}td.rule-anchor{padding-left:30px}a.setting-link{font-style:italic;margin-left:2%;font-weight:normal;color:#000;white-space:nowrap}h2.set-label{padding-bottom:10px}.TYPE_PLUS_RIGHT-user-Xfollow .tab-pane{margin-top:15px}.perm-editor{margin-left:40px}.perm-section{margin-bottom:20px}.perm-section h5{margin:0 0 10px 0}.ui-menu-icons .ui-menu-item a{padding-left:0}.ui-icon{background-image:url(/assets/smoothness/ui-icons_454545_256x240.png)}.faint{color:#bbc}.VIEW-type{font-style:italic;font-size:.85em}.RIGHT-Xperformance_log.open-view{font-size:12px}.RIGHT-Xperformance_log.open-view .panel-group{margin-bottom:0}.RIGHT-Xperformance_log.open-view .panel-body{padding:0px 0px 0px 15px}.RIGHT-Xperformance_log.open-view .panel-title{font-size:14px}.ProseMirror{position:relative}.ProseMirror{white-space:pre-wrap}.ProseMirror ul,.ProseMirror ol{padding-left:30px;cursor:default}.ProseMirror blockquote{padding-left:1em;border-left:3px solid #eee;margin-left:0;margin-right:0}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative;pointer-events:none}.ProseMirror li>*{pointer-events:auto}.ProseMirror-nodeselection *::selection,.ProseMirror-widget *::selection{background:transparent}.ProseMirror-nodeselection *::-moz-selection,.ProseMirror-widget *::-moz-selection{background:transparent}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{content:"";position:absolute;left:-32px;right:-2px;top:-2px;bottom:-2px;border:2px solid #8cf;pointer-events:none}.ProseMirror-textblock-dropdown{min-width:3em}.ProseMirror-menu{margin:0 -4px;line-height:1}.ProseMirror-tooltip .ProseMirror-menu{width:-webkit-fit-content;width:fit-content;white-space:pre}.ProseMirror-menuitem{margin-right:3px;display:inline-block}.ProseMirror-menuseparator{border-right:1px solid #ddd;margin-right:3px}.ProseMirror-menu-dropdown,.ProseMirror-menu-dropdown-menu{font-size:90%;white-space:nowrap}.ProseMirror-menu-dropdown{vertical-align:1px;cursor:pointer}.ProseMirror-menu-dropdown-wrap{padding:1px 14px 1px 4px;display:inline-block;position:relative}.ProseMirror-menu-dropdown:after{content:"";border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid currentColor;opacity:.6;position:absolute;right:2px;top:calc(50% - 2px)}.ProseMirror-menu-dropdown-menu,.ProseMirror-menu-submenu{position:absolute;background:white;color:#666;border:1px solid #aaa;padding:2px}.ProseMirror-menu-dropdown-menu{z-index:15;min-width:6em}.ProseMirror-menu-dropdown-item{cursor:pointer;padding:2px 8px 2px 4px}.ProseMirror-menu-dropdown-item:hover{background:#f2f2f2}.ProseMirror-menu-submenu-wrap{position:relative;margin-right:-4px}.ProseMirror-menu-submenu-label:after{content:"";border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:4px solid currentColor;opacity:.6;position:absolute;right:4px;top:calc(50% - 4px)}.ProseMirror-menu-submenu{display:none;min-width:4em;left:100%;top:-3px}.ProseMirror-menu-active{background:#eee;border-radius:4px}.ProseMirror-menu-active{background:#eee;border-radius:4px}.ProseMirror-menu-disabled{opacity:.3}.ProseMirror-menu-submenu-wrap:hover .ProseMirror-menu-submenu,.ProseMirror-menu-submenu-wrap-active .ProseMirror-menu-submenu{display:block}.ProseMirror-menubar{border-top-left-radius:inherit;border-top-right-radius:inherit;position:relative;min-height:1em;color:#666;padding:1px 6px;top:0;left:0;right:0;border-bottom:1px solid silver;background:white;z-index:10;-moz-box-sizing:border-box;box-sizing:border-box;overflow:visible}.ProseMirror-icon{display:inline-block;line-height:.8;vertical-align:-2px;padding:2px 8px;cursor:pointer}.ProseMirror-icon svg{fill:currentColor;height:1em}.ProseMirror-icon span{vertical-align:text-top}.ProseMirror-example-setup-style hr{position:relative;height:6px;border:none}.ProseMirror-example-setup-style hr:after{content:"";position:absolute;left:10px;right:10px;top:2px;border-top:2px solid silver}.ProseMirror-example-setup-style img{cursor:default}.ProseMirror-example-setup-style table{border-collapse:collapse}.ProseMirror-example-setup-style td{vertical-align:top;border:1px solid #ddd;padding:3px 5px}.ProseMirror-prompt{background:white;padding:5px 10px 5px 15px;border:1px solid silver;position:fixed;border-radius:3px;z-index:11;box-shadow:-0.5px 2px 5px rgba(0,0,0,0.2)}.ProseMirror-prompt h5{margin:0;font-weight:normal;font-size:100%;color:#444}.ProseMirror-prompt input[type="text"],.ProseMirror-prompt textarea{background:#eee;border:none;outline:none}.ProseMirror-prompt input[type="text"]{padding:0 4px}.ProseMirror-prompt-close{position:absolute;left:2px;top:1px;color:#666;border:none;background:transparent;padding:0}.ProseMirror-prompt-close:after{content:"✕";font-size:12px}.ProseMirror-invalid{background:#ffc;border:1px solid #cc7;border-radius:4px;padding:5px 10px;position:absolute;min-width:10em}.ProseMirror-prompt-buttons{margin-top:5px;display:none}._prototype{display:none !important}._filter_container .input-group-btn .btn{height:100%}
10
+ */.d0-card-frame,.d0-card-body,.ALL{overflow:inherit;white-space:normal}.ui-loader,.card-notice,.new-current-revision-id,.editor .revision-navigation,.editor .autosave-alert,.edit_name-view .alert,.btn.renamer-updater,.confirm_update_all-view,.follow-updater,.admin-error-message,.labeled-view .card-menu-link{display:none}.d0-card-frame .d0-card-frame-title{display:inline-block;overflow:hidden}.d0-card-frame .d0-card-frame-title span.header-icon{margin:0px 5px}.d0-card-frame .toggler{display:inline-block;position:relative}.d0-card-frame .type-info{margin-right:10px}.card-subheader{width:100%}.d0-card-frame>.menu-slot>.card-menu{padding:0.75rem 0}.menu-slot{width:100%}.menu-slot span.menu-item-label{margin-left:5px}.menu-slot .card-menu{position:absolute;right:8px}.menu-slot .card-menu>.btn-group{z-index:1}.menu-slot .card-menu>.btn-group.show{z-index:2}.menu-slot .card-menu li{white-space:nowrap;text-align:left}.menu-slot .card-menu .dropdown-menu{right:-2px;top:18px;min-width:110px}.menu-slot .card-menu .dropdown-menu .dropdown-item{padding-left:0.8rem}.menu-slot .card-menu .dropdown-menu:before{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid white;position:absolute;top:-5px;right:2px}.menu-slot .horizontal-card-menu{z-index:100}.menu-slot .horizontal-card-menu li{height:30px}.menu-slot .horizontal-card-menu .btn{padding:6px 12px}.d0-card-frame-title{margin-right:3px}.dropdown-menu{z-index:1005}.navbar.toolbar{margin-bottom:0}.navbar .btn.btn-toolbar-control{padding:5px;border:none}.navbar-divide{margin-left:30px;border-left:1px solid}.card-subheader{height:30px;text-align:left;font-size:13px;padding:6px 15px 3px 15px}.card-subheader>.card-title.panel-title{font-size:13px}.closed-view{position:relative}.closed-view>.d0-card-frame{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:static;width:100%}.closed-view>.d0-card-frame>.d0-card-header{float:left}.closed-view .card-menu.btn-group{display:none}.closed-view .d0-card-frame{display:inline-block}.closed-content{margin-top:2px;white-space:nowrap;text-overflow:ellipsis}.closed-content table,.closed-content thead,.closed-content tbody,.closed-content tr,.closed-content th,.closed-content td,.closed-content p,.closed-content h1,.closed-content h2,.closed-content h3,.closed-content h4,.closed-content h5,.closed-content h6,.closed-content ul,.closed-content li,.closed-content pre,.closed-content ol,.closed-content div,.closed-content span,.closed-content a,.closed-content blockquote,.closed-content img,.closed-content label,.closed-content i{display:inline;white-space:nowrap;float:none}.closed-content br,.closed-content hr,.closed-content input,.closed-content textarea,.closed-content object,.closed-content :after,.closed-content :before{display:none}.labeled-view:hover .card-menu{display:inline-block}.change-view{clear:both}.change-view .last-update{float:right;text-align:right}.change-view .last-update a{white-space:nowrap}.fileupload-buttonbar .btn,.fileupload-buttonbar .toggle{margin-bottom:5px}.fileinput-button{position:relative;overflow:hidden;display:inline-block}.fileinput-button input{position:absolute;top:0;right:0;margin:0;opacity:0;-ms-filter:'alpha(opacity=0)';font-size:200px;direction:ltr;cursor:pointer}.template_editor-view>div{float:left}.template-editor-close{float:right}.template_link-view{display:inline}.navbox-item-label{float:left;position:relative}.card-editor{white-space:normal;padding-bottom:15px}pre,.TYPE-plain_text.d0-card-content,.SELF-Xhead.d0-card-content{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}.missing-view a{display:inline}.SELF-Xstat>.d0-card-content table{width:100%}.SELF-Xstat>.d0-card-content tr:nth-child(even){background:#eee}.d0-card-frame{text-align:left;font-weight:normal;font-style:normal}.ALL.related-view>.d0-card-frame>.d0-card-body{padding:0}.navbox-item-label{font-size:10px;width:50px;padding:3px 0 3px 5px}.ui-menu-item .glyphicon{float:left;font-size:10px;padding:3px 0 3px 0px}.closed-view.panel{margin:0;width:100%}.closed-content table,.closed-content tbody,.closed-content tr,.closed-content th,.closed-content td,.closed-content p,.closed-content h1,.closed-content h2,.closed-content h3,.closed-content h4,.closed-content h5,.closed-content h6,.closed-content ul,.closed-content li,.closed-content pre,.closed-content ol,.closed-content div,.closed-content span,.closed-content a,.closed-content blockquote,.closed-content img{font-size:1em;margin:0 6px 0 0;padding:0;border:0}.closed-content a{margin:0}.closed-content img{max-height:1em;width:auto}.labeled-view{padding:5px 0}.labeled-view label h1,.labeled-view .pointer-list,.labeled-view .pointer-item,.labeled-view .search-result-list,.labeled-view .search-result-item{font-size:1em}.labeled-view>.d0-card-content{padding-left:10px}.labeled-view label,a.missing-labeled{display:inline-block;min-width:30%;text-align:right}textarea,.content-editor>input[type=text],.content-editor>input[type=password],.name-editor input{width:97.5%}textarea{max-height:500px}.name-editor.known-name input{border:3px solid #c22}.name-messages{font-style:italic;background:#ffd}.template-editor-main{width:85%}.template-editor-left,.template-editor-right{width:5%;text-align:center;font-size:3em;line-height:2em;white-space:nowrap}.pointer-list-editor{margin:0px;padding:0px}.pointer-list-editor li{list-style:none;white-space:nowrap}.pointer-list-editor .input-group-btn .btn{border-bottom-width:1px}.pointer-list-editor .pointer-item-add{margin-top:10px}.pointer-list-editor .input-group-addon.handle{padding-left:1px;padding-right:1px}.pointer-list-editor .input-group-addon.handle .glyphicon-option-vertical.left{margin-right:-7px}.pointer-list-editor .input-group-addon.handle .glyphicon-option-vertical.right{margin-left:-7px}._filter-widget .input-group.sort-input-group,._filter-widget ._filter-container>.input-group{width:auto !important}._filter-widget select{min-width:30%;max-width:100%}.search-checkbox-item .checkbox-side{width:32px;padding:10px}.search-checkbox-item .item-view-side{max-width:550px}.new-account-link{text-align:center}.missing-view a{color:#999;font-variant:small-caps}.missing-view a:hover{color:#069;background:#ffc}.pointer-radio-list{list-style-type:none}div.pointer-list,div.search-result-list{list-style:none;padding:5px 0;margin:0}div.pointer-list .closed-view>.d0-card-frame,div.search-result-list .closed-view>.d0-card-frame{margin-bottom:0}div.pointer-list .pointer-item,div.search-result-list .search-result-item{margin:0}.search-result-item.item-link,.pointer-item.item-link,.search-result-item.item-name,.pointer-item.item-name{text-indent:-15px;padding-left:15px}.radio-option-description,.checkbox-option-description{margin-left:40px}ul.pointer{margin:0px;padding:0px}.history-slot{overflow:hidden;clear:both}.deleted-mark{color:#ff5050}.added-mark{color:#41ad41}.diff-deleted{text-decoration:line-through;color:#ff5050}.diff-deleted img{border:2px solid #ff5050}.diff-added{color:#41ad41}.diff-added img{margin:0px 4px 0px 4px;border:2px solid #41ad41}ul.action-list{list-style-type:none;padding-left:15px}ul.action-list li:before{font-family:'Material Icons';float:left;margin-top:4px;margin-left:-17px}ul.action-list li.update:before{content:"edit"}ul.action-list li.create:before{content:"add"}ul.action-list li.delete:before{content:"delete"}ul.action-list li.draft:before{content:"build"}.exception p{margin:15px}.errors-view{margin:10px;padding:10px;border:3px solid #966;background:#ffa;border-radius:8px;-moz-border-radius:8px;border:1px solid #777;border-bottom:2px solid #888;border-right:2px solid #888;color:#333}.card-notice{background:#fff;font-weight:bold;font-style:italic;text-align:center;margin:0 0 4px 0}#credit,.flash-notice{color:#333;font-size:1.1em;background:#fff;border:1px solid #888;margin-bottom:15px;padding:5px;text-align:center}.conflict-view{text-align:left;border:1px solid grey;padding:10px;margin-top:12px}.SELF-home-original.d0-card-content ul{list-style-type:none;margin:1em;padding:0}.SELF-home-original.d0-card-content li{padding:.8em;margin:0;background:#eee}.SELF-home-original.d0-card-content li:nth-child(even){background:#ddd}.SELF-home-original.d0-card-content aside{float:right;border:1px solid #999;background:white;width:33%;padding:1em;margin:36px 16px 2px 5px;overflow:auto;border-radius:18px;-moz-border-radius:18px;text-align:center}.SELF-home-original.d0-card-content aside h2{font-size:.9em;padding:0;margin:5px}.SELF-home-original.d0-card-content aside p{font-size:.8em}.SELF-wagneer_menu.d0-card-content>p{margin-left:6%;text-indent:-6%}.setting-rules,.set-rules{width:100%}.setting-rules th,.set-rules th{background:#aaa;color:#eee;padding:5px 0}.setting-rules th,.setting-rules td,.set-rules th,.set-rules td.rule-cell{text-align:left;padding:2px 5px}.set-rules th,.set-rules td.rule-cell{border-bottom:1px solid #eee}.setting-klass,.rule-setting{font-weight:bold}td.rule-setting{width:30%}.rule-set{color:#666;white-space:nowrap}.rule-type-field{max-width:70%;margin-right:5px}.closed-rule{height:30px}.closed-rule td{vertical-align:middle}.closed-rule .rule-content{width:350px}.rule-content-container{max-width:350px;overflow:hidden;text-overflow:ellipsis;line-height:inherit;background:inherit;white-space:nowrap}.rule-content-container .closed-content,.rule-content-container .closed-content .pointer-list,.rule-content-container .closed-content .search-list{margin:0}tr.missing-rule>td{background-color:#eee;border-bottom:1px solid #fff}.rule-setting{padding-top:4px}.open-rule>.rule-setting{width:28%;float:left}.open-rule .d0-card-body{clear:both}.open-rule .rule-instruction{float:right;text-align:left;max-width:68%}.edit-rule .set-editor ul,.set-list .set-editor ul{list-style-type:none}.edit-rule .set-editor .current-set-label,.set-list .set-editor .current-set-label{font-weight:bold}.edit-rule .edit-button-area,.set-list .edit-button-area{clear:both;padding-top:5px}.attention{border:3px solid red}.rule-delete-section{float:right}.show-rule .rule-set{margin-bottom:10px}.klass-row{background:#eee;border-top:1px solid #ddd}tr.rule-changeover td{border-top:1px solid #eee;padding-top:5px}td.rule-anchor{padding-left:30px}a.setting-link{font-style:italic;margin-left:2%;font-weight:normal;color:#000;white-space:nowrap}h2.set-label{padding-bottom:10px}.TYPE_PLUS_RIGHT-user-Xfollow .tab-pane{margin-top:15px}.perm-editor{margin-left:40px}.perm-section{margin-bottom:20px}.perm-section h5{margin:0 0 10px 0}.ui-menu-icons .ui-menu-item a{padding-left:0}.ui-icon{background-image:url(/assets/smoothness/ui-icons_454545_256x240.png)}.faint{color:#bbc}.VIEW-type{font-style:italic;font-size:.85em}.RIGHT-Xperformance_log.open-view{font-size:12px}.RIGHT-Xperformance_log.open-view .panel-group{margin-bottom:0}.RIGHT-Xperformance_log.open-view .panel-body{padding:0px 0px 0px 15px}.RIGHT-Xperformance_log.open-view .panel-title{font-size:14px}.ProseMirror{position:relative}.ProseMirror{white-space:pre-wrap}.ProseMirror ul,.ProseMirror ol{padding-left:30px;cursor:default}.ProseMirror blockquote{padding-left:1em;border-left:3px solid #eee;margin-left:0;margin-right:0}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative;pointer-events:none}.ProseMirror li>*{pointer-events:auto}.ProseMirror-nodeselection *::selection,.ProseMirror-widget *::selection{background:transparent}.ProseMirror-nodeselection *::-moz-selection,.ProseMirror-widget *::-moz-selection{background:transparent}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{content:"";position:absolute;left:-32px;right:-2px;top:-2px;bottom:-2px;border:2px solid #8cf;pointer-events:none}.ProseMirror-textblock-dropdown{min-width:3em}.ProseMirror-menu{margin:0 -4px;line-height:1}.ProseMirror-tooltip .ProseMirror-menu{width:-webkit-fit-content;width:fit-content;white-space:pre}.ProseMirror-menuitem{margin-right:3px;display:inline-block}.ProseMirror-menuseparator{border-right:1px solid #ddd;margin-right:3px}.ProseMirror-menu-dropdown,.ProseMirror-menu-dropdown-menu{font-size:90%;white-space:nowrap}.ProseMirror-menu-dropdown{vertical-align:1px;cursor:pointer}.ProseMirror-menu-dropdown-wrap{padding:1px 14px 1px 4px;display:inline-block;position:relative}.ProseMirror-menu-dropdown:after{content:"";border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid currentColor;opacity:.6;position:absolute;right:2px;top:calc(50% - 2px)}.ProseMirror-menu-dropdown-menu,.ProseMirror-menu-submenu{position:absolute;background:white;color:#666;border:1px solid #aaa;padding:2px}.ProseMirror-menu-dropdown-menu{z-index:15;min-width:6em}.ProseMirror-menu-dropdown-item{cursor:pointer;padding:2px 8px 2px 4px}.ProseMirror-menu-dropdown-item:hover{background:#f2f2f2}.ProseMirror-menu-submenu-wrap{position:relative;margin-right:-4px}.ProseMirror-menu-submenu-label:after{content:"";border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:4px solid currentColor;opacity:.6;position:absolute;right:4px;top:calc(50% - 4px)}.ProseMirror-menu-submenu{display:none;min-width:4em;left:100%;top:-3px}.ProseMirror-menu-active{background:#eee;border-radius:4px}.ProseMirror-menu-active{background:#eee;border-radius:4px}.ProseMirror-menu-disabled{opacity:.3}.ProseMirror-menu-submenu-wrap:hover .ProseMirror-menu-submenu,.ProseMirror-menu-submenu-wrap-active .ProseMirror-menu-submenu{display:block}.ProseMirror-menubar{border-top-left-radius:inherit;border-top-right-radius:inherit;position:relative;min-height:1em;color:#666;padding:1px 6px;top:0;left:0;right:0;border-bottom:1px solid silver;background:white;z-index:10;-moz-box-sizing:border-box;box-sizing:border-box;overflow:visible}.ProseMirror-icon{display:inline-block;line-height:.8;vertical-align:-2px;padding:2px 8px;cursor:pointer}.ProseMirror-icon svg{fill:currentColor;height:1em}.ProseMirror-icon span{vertical-align:text-top}.ProseMirror-example-setup-style hr{position:relative;height:6px;border:none}.ProseMirror-example-setup-style hr:after{content:"";position:absolute;left:10px;right:10px;top:2px;border-top:2px solid silver}.ProseMirror-example-setup-style img{cursor:default}.ProseMirror-example-setup-style table{border-collapse:collapse}.ProseMirror-example-setup-style td{vertical-align:top;border:1px solid #ddd;padding:3px 5px}.ProseMirror-prompt{background:white;padding:5px 10px 5px 15px;border:1px solid silver;position:fixed;border-radius:3px;z-index:11;box-shadow:-0.5px 2px 5px rgba(0,0,0,0.2)}.ProseMirror-prompt h5{margin:0;font-weight:normal;font-size:100%;color:#444}.ProseMirror-prompt input[type="text"],.ProseMirror-prompt textarea{background:#eee;border:none;outline:none}.ProseMirror-prompt input[type="text"]{padding:0 4px}.ProseMirror-prompt-close{position:absolute;left:2px;top:1px;color:#666;border:none;background:transparent;padding:0}.ProseMirror-prompt-close:after{content:"✕";font-size:12px}.ProseMirror-invalid{background:#ffc;border:1px solid #cc7;border-radius:4px;padding:5px 10px;position:absolute;min-width:10em}.ProseMirror-prompt-buttons{margin-top:5px;display:none}._prototype{display:none !important}._filter_container .input-group-btn .btn{height:100%}
11
11
 
12
12
  article,#primary{margin:0 1% 3em 1%;float:left;width:67%}aside,#secondary{margin:0 1% 3em 1%;float:right;width:28%}footer{clear:both;text-align:center;padding:1em}@media print{article,#primary{width:100%;float:none;margin:0}aside,#secondary,footer{display:none}}
13
13
 
@@ -171,12 +171,12 @@ $(window).ready ->
171
171
 
172
172
  $('body').on 'ajax:success', '.slotter', (event, data, c, d) ->
173
173
  unless event.slotSuccessful
174
- slot_top_pos = $(this).slot().offset().top
175
174
  $(this).slotSuccess data
176
175
  if $(this).hasClass "close-modal"
177
176
  $(this).closest('.modal').modal('hide')
178
177
  # should scroll to top after clicking on new page
179
178
  if $(this).hasClass "card-paging-link"
179
+ slot_top_pos = $(this).slot().offset().top
180
180
  $("body").scrollTop slot_top_pos
181
181
  event.slotSuccessful = true
182
182
 
@@ -47,10 +47,7 @@ $(window).ready ->
47
47
  $(this).closest('li').remove()
48
48
 
49
49
  newFilteredListContent = (el) ->
50
- oldContent = el.slot().find(".d0-card-content").val()
51
- newContent = decko.pointerContent selectedNames(el)
52
- return newContent if !oldContent
53
- oldContent + "\n" + newContent
50
+ decko.pointerContent prefilteredNames(el).concat(selectedNames el)
54
51
 
55
52
  addSelectedButtonUrl = (btn, content) ->
56
53
  view = btn.slot().data("slot")["view"]
@@ -99,10 +96,19 @@ selectedBin = (el) ->
99
96
  filterBox = (el) ->
100
97
  el.closest "._filter-items"
101
98
 
102
- savedIds = (el) ->
103
- filteredList = addSelectedButton($(el)).slot().find "._pointer-filtered-list"
104
- filteredList.children().map( -> $(this).data "cardId" ).toArray()
99
+ prefilteredIds = (el) ->
100
+ prefilteredData el, "cardId"
105
101
 
102
+ prefilteredNames = (el) ->
103
+ prefilteredData el, "cardName"
104
+
105
+ prefilteredData = (el, field) ->
106
+ btn = addSelectedButton el
107
+ selector = btn.data "itemSelector"
108
+ arrayFromField btn.slot().find(selector), field
109
+
110
+ # this button contains the data about the form that opened the filter-items interface.
111
+ # the itemSelector
106
112
  addSelectedButton = (el) ->
107
113
  filterBox(el).find("._add-selected")
108
114
 
@@ -116,11 +122,13 @@ selectedNames = (el) ->
116
122
  selectedData el, "cardName"
117
123
 
118
124
  selectedData = (el, field) ->
119
- slots = selectedBin(el).children()
120
- slots.map( -> $(this).data field ).toArray()
125
+ arrayFromField selectedBin(el).children(), field
126
+
127
+ arrayFromField = (rows, field) ->
128
+ rows.map( -> $(this).data field ).toArray()
121
129
 
122
130
  trackSelectedIds = (el) ->
123
- ids = savedIds(el).concat selectedIds(el)
131
+ ids = prefilteredIds(el).concat selectedIds(el)
124
132
  box = filterBox el
125
133
  box.find("._not-ids").val ids.toString()
126
134
 
@@ -54,7 +54,7 @@ format do
54
54
  end
55
55
 
56
56
  format :html do
57
- view :core do
57
+ view :core, cache: :never do
58
58
  with_paging do |paging_args|
59
59
  wrap_with :div, pointer_items(paging_args.extract!(:limit, :offset)),
60
60
  class: "pointer-list"
@@ -37,7 +37,9 @@ format :html do
37
37
  end
38
38
 
39
39
  view :filter_items, tags: :unknown_ok do
40
- haml :filter_items
40
+ wrap do
41
+ haml :filter_items
42
+ end
41
43
  end
42
44
 
43
45
  # currently actually used as a class
@@ -31,4 +31,5 @@
31
31
  = button_tag "Add Selected", class: "_add-selected slotter close-modal",
32
32
  disabled: true,
33
33
  href: select_href,
34
- data: { "slot-selector": ".#{params[:editor_id]}" }
34
+ data: { "slot-selector": ".#{params[:slot_selector]}",
35
+ "item-selector": ".#{params[:item_selector]}" }
@@ -16,11 +16,12 @@
16
16
  item: implicit_item_view,
17
17
  filter_card: filter_card.name,
18
18
  layout: :simple_modal,
19
- editor_id: editor_id,
19
+ slot_selector: editor_id,
20
+ item_selector: "_filtered-list-item",
20
21
  slot: { hide: :modal_footer },
21
22
  filter: { not_ids: card.item_ids.map(&:to_s).join(",") } }
22
23
  = render_modal_link title: "Add Item",
23
- link_opts: { class: "btn btn-sm btn-primary",
24
+ link_opts: { class: "btn btn-sm btn-primary _add-item-link",
24
25
  "data-target": "#modal-filtered-list",
25
26
  path: path_opts }
26
27
  = render_modal_slot modal_id: "filtered-list", dialog_class: "modal-lg"
@@ -1,6 +1,14 @@
1
1
  include_set Abstract::FilterHelper
2
2
 
3
3
  format :html do
4
+ view :filter_name_formgroup, cache: :never do
5
+ text_filter :name
6
+ end
7
+
8
+ def sort_options
9
+ {}
10
+ end
11
+
4
12
  def select_filter field, _label=nil, default=nil, options=nil
5
13
  options ||= filter_options field
6
14
  options.unshift(["--", ""]) unless default
@@ -1,4 +1,4 @@
1
- include_set Abstract::FilterFormgroups
1
+ include_set Abstract::FilterFormHelper
2
2
  include_set Abstract::Utility
3
3
 
4
4
  def filter_class
@@ -8,7 +8,12 @@ def search args={}
8
8
  query.run
9
9
  end
10
10
 
11
+ def cache_query?
12
+ true
13
+ end
14
+
11
15
  def fetch_query args={}
16
+ @query = nil unless cache_query?
12
17
  @query ||= {}
13
18
  @query[args.to_s] ||= query(args.clone) # cache query
14
19
  end
@@ -25,10 +30,12 @@ end
25
30
 
26
31
  # override this to define search
27
32
  def wql_hash
33
+ @wql_hash = nil unless cache_query?
28
34
  @wql_hash ||= wql_from_content.merge filter_and_sort_wql
29
35
  end
30
36
 
31
37
  def wql_from_content
38
+ @wql_from_content = nil unless cache_query?
32
39
  @wql_from_content ||= begin
33
40
  query = content
34
41
  query = query.is_a?(Hash) ? query : parse_json_query(query)