card 1.93.4 → 1.93.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/config/initializers/01_core_extensions/match_data.rb +12 -0
- data/config/initializers/core_extensions.rb +1 -0
- data/db/migrate_core_cards/data/cards.yml +2 -2
- data/db/schema.rb +2 -2
- data/db/seed/new/card_actions.yml +1028 -1020
- data/db/seed/new/card_acts.yml +2 -2
- data/db/seed/new/card_references.yml +112 -91
- data/db/seed/new/cards.yml +1781 -1762
- data/db/seed/test/fixtures/card_actions.yml +2128 -2120
- data/db/seed/test/fixtures/card_acts.yml +438 -438
- data/db/seed/test/fixtures/card_changes.yml +66 -66
- data/db/seed/test/fixtures/card_references.yml +853 -832
- data/db/seed/test/fixtures/cards.yml +3075 -3056
- data/db/version.txt +1 -1
- data/lib/card/format/nest.rb +7 -0
- data/lib/card/query/run.rb +21 -17
- data/lib/card/tasks/card/file_card_creator/abstract_file_card.rb +1 -1
- data/mod/basic_formats/set/all/base.rb +4 -0
- data/mod/bootstrap/lib/stylesheets/style_bootstrap_cards.scss +11 -7
- data/mod/bootstrap/set/all/bootstrap/form.rb +1 -1
- data/mod/carrierwave/set/abstract/attachment/storage_type.rb +4 -0
- data/mod/carrierwave/set/all/file_utils.rb +11 -2
- data/mod/machines/file/all_script_machine_output/file.js +16 -6
- data/mod/machines/file/all_style_machine_output/file.css +2 -2
- data/mod/machines/lib/stylesheets/style_cards.scss +12 -1
- data/mod/pointer/set/abstract/01_paging.rb +11 -1
- data/mod/standard/set/all/rich_html/content.rb +15 -5
- data/mod/standard/set/all/rich_html/form_elements.rb +1 -0
- data/mod/standard/set/all/rich_html/menu.rb +2 -0
- data/mod/standard/set/all/rich_html/toolbar.rb +11 -14
- data/mod/standard/set/rstar/rules_editor.rb +4 -3
- data/mod/standard/set/self/rules_toolbar_button.rb +1 -1
- data/mod/standard/set/type/session.rb +4 -0
- data/mod/tinymce_editor/lib/javascript/script_tinymce_config.js.coffee +1 -0
- metadata +5 -4
data/db/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
20170908114452
|
data/lib/card/format/nest.rb
CHANGED
@@ -6,6 +6,13 @@ class Card
|
|
6
6
|
include Subformat
|
7
7
|
include Mode
|
8
8
|
|
9
|
+
# @param cardish card mark
|
10
|
+
# @param options [Hash]
|
11
|
+
# @option options [Symbol] view
|
12
|
+
# @option options [Symbol, Array<Symbol>] :hide hide optional subviews
|
13
|
+
# @option options [Symbol, Array<Symbol>] :show show optional subviews
|
14
|
+
# @option options [String] :title
|
15
|
+
# @param override ??
|
9
16
|
def nest cardish, options={}, override=true, &block
|
10
17
|
return "" if nest_invisible?
|
11
18
|
nested_card = fetch_nested_card cardish, options
|
data/lib/card/query/run.rb
CHANGED
@@ -51,28 +51,13 @@ class Card
|
|
51
51
|
record
|
52
52
|
end
|
53
53
|
|
54
|
-
def simple_result? retrn
|
55
|
-
retrn == "count"
|
56
|
-
end
|
57
|
-
|
58
54
|
def name_result record, pattern
|
59
55
|
process_name record["name"], pattern
|
60
56
|
end
|
61
57
|
|
62
|
-
def process_name name, pattern
|
63
|
-
name = pattern.to_name.absolute(name) if pattern =~ /_\w+/
|
64
|
-
return name unless alter_results?
|
65
|
-
name_parts = [statement[:prepend], name, statement[:append]].compact
|
66
|
-
Card::Name[name_parts]
|
67
|
-
end
|
68
|
-
|
69
|
-
def alter_results?
|
70
|
-
statement[:prepend] || statement[:append]
|
71
|
-
end
|
72
|
-
|
73
58
|
def card_result record, _field
|
74
59
|
if alter_results?
|
75
|
-
Card.fetch
|
60
|
+
Card.fetch alter_result(record["name"]), new: {}
|
76
61
|
else
|
77
62
|
fetch_or_instantiate record
|
78
63
|
end
|
@@ -93,6 +78,25 @@ class Card
|
|
93
78
|
# puts "sql = #{sql}"
|
94
79
|
ActiveRecord::Base.connection.select_all(sql)
|
95
80
|
end
|
81
|
+
|
82
|
+
def process_name name, pattern
|
83
|
+
name = pattern.to_name.absolute(name) if pattern =~ /_\w+/
|
84
|
+
return name unless alter_results?
|
85
|
+
alter_result name
|
86
|
+
end
|
87
|
+
|
88
|
+
def alter_result name
|
89
|
+
name_parts = [statement[:prepend], name, statement[:append]].compact
|
90
|
+
Card::Name[name_parts]
|
91
|
+
end
|
92
|
+
|
93
|
+
def simple_result? retrn
|
94
|
+
retrn == "count"
|
95
|
+
end
|
96
|
+
|
97
|
+
def alter_results?
|
98
|
+
statement[:prepend] || statement[:append]
|
99
|
+
end
|
96
100
|
end
|
97
101
|
end
|
98
|
-
end
|
102
|
+
end
|
@@ -136,17 +136,21 @@ body.mceContentBody {
|
|
136
136
|
/*---------- Card menu ------------*/
|
137
137
|
|
138
138
|
@include media-breakpoint-up(xs) {
|
139
|
-
.card-slot > .d0-card-frame
|
140
|
-
.
|
141
|
-
|
142
|
-
|
143
|
-
|
139
|
+
.card-slot > .d0-card-frame, .card-slot {
|
140
|
+
> .menu-slot > .vertical-card-menu._show-on-hover {
|
141
|
+
.btn-group.slotter {
|
142
|
+
display: none;
|
143
|
+
&.open {
|
144
|
+
display: inline-block;
|
145
|
+
}
|
144
146
|
}
|
145
147
|
}
|
146
148
|
}
|
147
149
|
|
148
|
-
.card-slot:hover > .d0-card-frame
|
149
|
-
|
150
|
+
.card-slot:hover > .d0-card-frame, .card-slot:hover {
|
151
|
+
> .menu-slot > .vertical-card-menu._show-on-hover .btn-group.slotter {
|
152
|
+
display: inline-block;
|
153
|
+
}
|
150
154
|
}
|
151
155
|
}
|
152
156
|
|
@@ -5,11 +5,20 @@ module ClassMethods
|
|
5
5
|
end
|
6
6
|
|
7
7
|
def delete_tmp_files_of_cached_uploads
|
8
|
+
cards_with_disposable_attachments do |card, action|
|
9
|
+
card.delete_files_for_action action
|
10
|
+
action.delete
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def cards_with_disposable_attachments
|
8
15
|
draft_actions_with_attachment.each do |action|
|
9
16
|
# we don't want to delete uploads in progress
|
10
17
|
next unless old_enough?(action.created_at) && (card = action.card)
|
11
|
-
|
12
|
-
|
18
|
+
# we can't delete attachments we don't have write access to
|
19
|
+
next if card.read_only?
|
20
|
+
|
21
|
+
yield card, action
|
13
22
|
end
|
14
23
|
end
|
15
24
|
|
@@ -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, containerClass, detectMobileBrowser, doubleSidebar, filterAndSort, filterCategorySelected, hideFilterInputField, initCaptcha, navbox_results, navbox_select, navboxize, removeCategoryOption, reqIndex, showFilterInputField, sidebarToggle, singleSidebar, snakeCase, toggleButton, warn, wrapDeckoLayout, wrapSidebarToggle;
|
9
|
+
var addCaptcha, addCategoryOption, containerClass, detectMobileBrowser, doubleSidebar, filterAndSort, filterCategorySelected, hideFilterInputField, initCaptcha, navbox_results, navbox_select, navboxize, removeCategoryOption, reqIndex, setFilterInputWidth, showFilterInputField, sidebarToggle, singleSidebar, snakeCase, toggleButton, warn, wrapDeckoLayout, wrapSidebarToggle;
|
10
10
|
|
11
11
|
window.decko || (window.decko = {});
|
12
12
|
|
@@ -543,13 +543,19 @@ return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeTyp
|
|
543
543
|
};
|
544
544
|
|
545
545
|
showFilterInputField = function(category, widget) {
|
546
|
-
var $
|
547
|
-
|
548
|
-
$(widget.find(
|
549
|
-
$
|
546
|
+
var $inputField, selector;
|
547
|
+
selector = "._filter-input-field-prototypes > ._filter-input-field." + category + " > .input-group";
|
548
|
+
$inputField = $(widget.find(selector)[0]);
|
549
|
+
$(widget.find("._add-filter-dropdown")).before($inputField);
|
550
|
+
setFilterInputWidth($inputField);
|
551
|
+
decko.initAutoCardPlete($inputField.find('input'));
|
552
|
+
return $inputField.find("input, select").focus();
|
553
|
+
};
|
554
|
+
|
555
|
+
setFilterInputWidth = function($inputField) {
|
556
|
+
return $inputField.find('select:not([multiple])').select2({
|
550
557
|
dropdownAutoWidth: "true"
|
551
558
|
});
|
552
|
-
return $searchInputField.find("input, select").focus();
|
553
559
|
};
|
554
560
|
|
555
561
|
hideFilterInputField = function(input) {
|
@@ -816,6 +822,9 @@ return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeTyp
|
|
816
822
|
}
|
817
823
|
return $.rails.handleRemote($(this));
|
818
824
|
});
|
825
|
+
$('body').on('click', '._clickable.slotter', function(event) {
|
826
|
+
return $.rails.handleRemote($(this));
|
827
|
+
});
|
819
828
|
$('body').on('ajax:beforeSend', '.slotter', function(event, xhr, opt) {
|
820
829
|
var args, data, iframeUploadFilter, input, widget;
|
821
830
|
if (opt.skip_before_send) {
|
@@ -18681,6 +18690,7 @@ $.extend( proto, {
|
|
18681
18690
|
$.extend(conf, user_conf, hard_conf);
|
18682
18691
|
tinyMCE.baseURL = '/assets/tinymce';
|
18683
18692
|
tinyMCE.suffix = '.min';
|
18693
|
+
tinyMCE.remove("#" + el_id);
|
18684
18694
|
return tinyMCE.init(conf);
|
18685
18695
|
}
|
18686
18696
|
});
|
@@ -7,14 +7,14 @@
|
|
7
7
|
/*!
|
8
8
|
* Wagn: 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%}.menu-slot{width:100%}.menu-slot span.menu-item-label{margin-left:5px}.menu-slot .card-menu{position:absolute;right:8px;padding:0.75rem 0}.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}.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
|
|
14
14
|
/*!
|
15
15
|
* Wagn: http://wagn.org
|
16
16
|
* Copyright 2015 Grass Commons and other contributors; Licensed GPL
|
17
|
-
*/header a{font-size:1.3em}@media print{header{display:none}}.card-menu a{color:inherit}label,.navbox-item-label{color:#666666}table{border-collapse:collapse}th{color:#666666;font-weight:normal;font-style:italic}td,th{vertical-align:top;padding:0px}a:link,a:visited{text-decoration:none}a:hover,a:focus{text-decoration:underline}form{margin:0px;padding:0px}.link-muted{color:#e7e7e7}.link-muted:hover{color:inherit}#sign-in input#login_field,#sign-in input#password,#forgot-password input#email{width:50%}#forgot-password{margin-top:40px}body.mceContentBody{margin:4px}.row.row-offcanvas>aside,.row.row-offcanvas article{margin:0}@media screen and (max-width: 767px){.row-offcanvas{position:relative;-webkit-transition:all 0.25s ease-out;-moz-transition:all 0.25s ease-out;transition:all 0.25s ease-out}.sidebar-offcanvas-right{right:-41.6%}.sidebar-offcanvas-left{left:-41.6%}.row-offcanvas.right-active{right:41.6%}.row-offcanvas.left-active{left:41.6%}.sidebar-offcanvas{position:absolute !important;top:0 !important;width:41.6% !important}}.offcanvas-toggle{font-size:10px !important;padding:5px !important;margin-bottom:15px !important}.card-slot>.d0-card-frame>.menu-slot>.vertical-card-menu._show-on-hover .btn-group.slotter{display:none}.card-slot>.d0-card-frame>.menu-slot>.vertical-card-menu._show-on-hover .btn-group.slotter.open{display:inline-block}.card-slot:hover>.d0-card-frame>.menu-slot>.vertical-card-menu._show-on-hover .btn-group.slotter{display:inline-block}.change-view{padding:5px 0px;border-bottom:1px dotted #999999}.change-view .change-card{font-weight:bold}.change-view .last-update{color:#666666}.titled-view>.d0-card-header{font-size:1.3em;margin:3px 0}.table-of-contents{background:#eeeeee;-moz-border-radius:10px;border-radius:10px;padding:4px;margin:5px 20px 20px 20px}.table-of-contents h5{margin:0 0 0 40px}.table-of-contents ol{list-style-type:upper-roman}.table-of-contents ol ol{list-style-type:upper-alpha;padding-left:25px}.TYPE-toggle.d0-card-content{font-style:italic}.TYPE-image.d0-card-content img,.TYPE-image .d0-card-body img{max-width:100%}.search-keyword{font-style:italic}.search-count{float:right;color:#666666}.invite-links{padding:10px;margin-top:10px;background:#eeeeee;text-align:center}.invite-links a{font-weight:bold;margin:0 20px}.comment-box{padding:8px;margin:0px}.comment-box input{padding:0px}.comment-box textarea{margin-bottom:5px}.w-comment-author{font-style:italic;margin-left:10px}.SELF-Xlogo.content_panel-view,.SELF-Xcredit.content_panel-view{text-align:center;background:#fff}.SELF-Xlogo.content_panel-view img,.SELF-Xcredit.content_panel-view img{max-width:100%}.SELF-Xlogo.content_panel-view a,.SELF-Xcredit.content_panel-view a{color:#186886}.closed-content{font-size:1em !important;padding:10px}.search-no-results:after{content:'0 results'}.closed-content .search-no-results:after{content:''}.modal-menu .close{font-size:16px;margin-left:10px}.alert-info p:last-child{margin-bottom:0}.toolbar-close{font-size:20px !important;font-weight:bolder !important}.toggler>i.material-icons{color:#000;font-size:15px;font-weight:bolder !important;border:2px solid #000;border-radius:3px;margin-right:3px}.material-icons{vertical-align:sub;font-size:medium}.material-icons.md-18{font-size:18px}.material-icons.md-24{font-size:24px}.material-icons.md-36{font-size:36px}.material-icons.md-48{font-size:48px}.material-icons.md-dark{color:rgba(0,0,0,0.54)}.material-icons.md-dark.md-inactive{color:rgba(0,0,0,0.26)}.material-icons.md-light{color:white}.material-icons.md-light.md-inactive{color:rgba(255,255,255,0.3)}.border-all{border-width:1px;border-style:solid}
|
17
|
+
*/header a{font-size:1.3em}@media print{header{display:none}}.card-menu a{color:inherit}label,.navbox-item-label{color:#666666}table{border-collapse:collapse}th{color:#666666;font-weight:normal;font-style:italic}td,th{vertical-align:top;padding:0px}a:link,a:visited{text-decoration:none}a:hover,a:focus{text-decoration:underline}form{margin:0px;padding:0px}.link-muted{color:#e7e7e7}.link-muted:hover{color:inherit}#sign-in input#login_field,#sign-in input#password,#forgot-password input#email{width:50%}#forgot-password{margin-top:40px}body.mceContentBody{margin:4px}.row.row-offcanvas>aside,.row.row-offcanvas article{margin:0}@media screen and (max-width: 767px){.row-offcanvas{position:relative;-webkit-transition:all 0.25s ease-out;-moz-transition:all 0.25s ease-out;transition:all 0.25s ease-out}.sidebar-offcanvas-right{right:-41.6%}.sidebar-offcanvas-left{left:-41.6%}.row-offcanvas.right-active{right:41.6%}.row-offcanvas.left-active{left:41.6%}.sidebar-offcanvas{position:absolute !important;top:0 !important;width:41.6% !important}}.offcanvas-toggle{font-size:10px !important;padding:5px !important;margin-bottom:15px !important}.card-slot>.d0-card-frame>.menu-slot>.vertical-card-menu._show-on-hover .btn-group.slotter,.card-slot>.menu-slot>.vertical-card-menu._show-on-hover .btn-group.slotter{display:none}.card-slot>.d0-card-frame>.menu-slot>.vertical-card-menu._show-on-hover .btn-group.slotter.open,.card-slot>.menu-slot>.vertical-card-menu._show-on-hover .btn-group.slotter.open{display:inline-block}.card-slot:hover>.d0-card-frame>.menu-slot>.vertical-card-menu._show-on-hover .btn-group.slotter,.card-slot:hover>.menu-slot>.vertical-card-menu._show-on-hover .btn-group.slotter{display:inline-block}.change-view{padding:5px 0px;border-bottom:1px dotted #999999}.change-view .change-card{font-weight:bold}.change-view .last-update{color:#666666}.titled-view>.d0-card-header{font-size:1.3em;margin:3px 0}.table-of-contents{background:#eeeeee;-moz-border-radius:10px;border-radius:10px;padding:4px;margin:5px 20px 20px 20px}.table-of-contents h5{margin:0 0 0 40px}.table-of-contents ol{list-style-type:upper-roman}.table-of-contents ol ol{list-style-type:upper-alpha;padding-left:25px}.TYPE-toggle.d0-card-content{font-style:italic}.TYPE-image.d0-card-content img,.TYPE-image .d0-card-body img{max-width:100%}.search-keyword{font-style:italic}.search-count{float:right;color:#666666}.invite-links{padding:10px;margin-top:10px;background:#eeeeee;text-align:center}.invite-links a{font-weight:bold;margin:0 20px}.comment-box{padding:8px;margin:0px}.comment-box input{padding:0px}.comment-box textarea{margin-bottom:5px}.w-comment-author{font-style:italic;margin-left:10px}.SELF-Xlogo.content_panel-view,.SELF-Xcredit.content_panel-view{text-align:center;background:#fff}.SELF-Xlogo.content_panel-view img,.SELF-Xcredit.content_panel-view img{max-width:100%}.SELF-Xlogo.content_panel-view a,.SELF-Xcredit.content_panel-view a{color:#186886}.closed-content{font-size:1em !important;padding:10px}.search-no-results:after{content:'0 results'}.closed-content .search-no-results:after{content:''}.modal-menu .close{font-size:16px;margin-left:10px}.alert-info p:last-child{margin-bottom:0}.toolbar-close{font-size:20px !important;font-weight:bolder !important}.toggler>i.material-icons{color:#000;font-size:15px;font-weight:bolder !important;border:2px solid #000;border-radius:3px;margin-right:3px}.material-icons{vertical-align:sub;font-size:medium}.material-icons.md-18{font-size:18px}.material-icons.md-24{font-size:24px}.material-icons.md-36{font-size:36px}.material-icons.md-48{font-size:48px}.material-icons.md-dark{color:rgba(0,0,0,0.54)}.material-icons.md-dark.md-inactive{color:rgba(0,0,0,0.26)}.material-icons.md-light{color:white}.material-icons.md-light.md-inactive{color:rgba(255,255,255,0.3)}.border-all{border-width:1px;border-style:solid}
|
18
18
|
|
19
19
|
/*!
|
20
20
|
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
|
@@ -69,6 +69,10 @@ Choosing (b) will mean your CSS will not be affected by automated updates.
|
|
69
69
|
width: 100%;
|
70
70
|
}
|
71
71
|
|
72
|
+
.d0-card-frame > .menu-slot > .card-menu {
|
73
|
+
padding: 0.75rem 0;
|
74
|
+
}
|
75
|
+
|
72
76
|
.menu-slot {
|
73
77
|
width: 100%;
|
74
78
|
//position: relative;
|
@@ -80,7 +84,14 @@ Choosing (b) will mean your CSS will not be affected by automated updates.
|
|
80
84
|
.card-menu {
|
81
85
|
position: absolute;
|
82
86
|
right: 8px;
|
83
|
-
|
87
|
+
> .btn-group {
|
88
|
+
z-index: 1;
|
89
|
+
|
90
|
+
&.show {
|
91
|
+
z-index: 2;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
84
95
|
li {
|
85
96
|
white-space: nowrap;
|
86
97
|
text-align: left;
|
@@ -20,7 +20,9 @@ end
|
|
20
20
|
|
21
21
|
format :html do
|
22
22
|
def with_paging path_args={}
|
23
|
-
|
23
|
+
with_paging_path_args path_args do
|
24
|
+
output [yield(@paging_path_args), _render_paging]
|
25
|
+
end
|
24
26
|
end
|
25
27
|
|
26
28
|
view :paging, cache: :never do
|
@@ -58,6 +60,14 @@ format :html do
|
|
58
60
|
link_to raw(text), options
|
59
61
|
end
|
60
62
|
|
63
|
+
def with_paging_path_args args
|
64
|
+
tmp = @paging_path_args
|
65
|
+
@paging_path_args = paging_path_args args
|
66
|
+
yield
|
67
|
+
ensure
|
68
|
+
@paging_path_args = tmp
|
69
|
+
end
|
70
|
+
|
61
71
|
def paging_path_args local_args={}
|
62
72
|
@paging_path_args ||= {}
|
63
73
|
@paging_path_args.reverse_merge!(
|
@@ -66,19 +66,29 @@ format :html do
|
|
66
66
|
end
|
67
67
|
|
68
68
|
view :labeled do
|
69
|
-
class_up "d0-card-body", "
|
69
|
+
class_up "d0-card-body", "labeled-content"
|
70
70
|
@content_body = true
|
71
71
|
wrap do
|
72
72
|
[
|
73
73
|
_render_menu,
|
74
|
-
|
75
|
-
wrap_body do
|
76
|
-
_render_closed_content
|
77
|
-
end
|
74
|
+
labeled_row
|
78
75
|
]
|
79
76
|
end
|
80
77
|
end
|
81
78
|
|
79
|
+
def labeled_row
|
80
|
+
haml do
|
81
|
+
<<-HAML.strip_heredoc
|
82
|
+
.row
|
83
|
+
.col-4.text-right
|
84
|
+
.label
|
85
|
+
= _render_title
|
86
|
+
.col
|
87
|
+
= wrap_body { _render_labeled_content }
|
88
|
+
HAML
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
82
92
|
view :title do
|
83
93
|
title = fancy_title super()
|
84
94
|
if show_view? :title_link, :hide
|
@@ -45,6 +45,7 @@ format :html do
|
|
45
45
|
def cancel_button args={}
|
46
46
|
text = args.delete(:text) || "Cancel"
|
47
47
|
args[:type] ||= "button"
|
48
|
+
args[:situation] ||= "outline-secondary"
|
48
49
|
add_class args, (args[:href] ? "slotter" : "redirecter")
|
49
50
|
args[:href] ||= Card.path_setting("/*previous")
|
50
51
|
button_tag text, args
|
@@ -77,6 +77,7 @@ format :html do
|
|
77
77
|
end
|
78
78
|
|
79
79
|
def menu_follow_link opts
|
80
|
+
add_class opts, "dropdown-item"
|
80
81
|
_render_follow_link(icon: true, link_opts: opts)
|
81
82
|
end
|
82
83
|
|
@@ -105,6 +106,7 @@ format :html do
|
|
105
106
|
def menu_item text, icon, opts={}
|
106
107
|
link_text = "#{material_icon(icon)}<span class='menu-item-label'>#{text}</span>"
|
107
108
|
# add_class opts, "dropdown-item"
|
109
|
+
add_class opts, "dropdown-item"
|
108
110
|
smart_link_to link_text.html_safe, opts
|
109
111
|
end
|
110
112
|
|
@@ -69,16 +69,14 @@ format :html do
|
|
69
69
|
end
|
70
70
|
|
71
71
|
def toolbar_simple_buttons
|
72
|
-
|
73
|
-
_render :toolbar_buttons
|
74
|
-
end
|
72
|
+
_render :toolbar_buttons
|
75
73
|
end
|
76
74
|
|
77
75
|
def toolbar_right_buttons
|
78
76
|
wrap_with :div do
|
79
77
|
[
|
80
|
-
|
81
|
-
|
78
|
+
toolbar_simple_buttons,
|
79
|
+
expanded_close_link
|
82
80
|
]
|
83
81
|
end
|
84
82
|
end
|
@@ -92,7 +90,7 @@ format :html do
|
|
92
90
|
when :follow, :editors, :history then "activity"
|
93
91
|
when :edit_rules, :edit_nest_rules then "rules"
|
94
92
|
when :edit, :edit_name, :edit_type,
|
95
|
-
|
93
|
+
:edit_structure, :edit_nests then "edit"
|
96
94
|
when :related then active_related_toolbar_button
|
97
95
|
end
|
98
96
|
end
|
@@ -145,7 +143,7 @@ format :html do
|
|
145
143
|
toolbar_split_button "account", related: :account, icon: :account_box do
|
146
144
|
%i[account roles created edited follow].each_with_object({}) do |item, hash|
|
147
145
|
label = item == :account ? tr(:details) : tr(item)
|
148
|
-
args = { class: "dropdown-item"}
|
146
|
+
args = { class: "dropdown-item" }
|
149
147
|
args[:path] = { related: { view: :edit } } if item == :account
|
150
148
|
hash[item] = link_to_related item, label, args
|
151
149
|
end
|
@@ -154,7 +152,7 @@ format :html do
|
|
154
152
|
|
155
153
|
def toolbar_button_card name
|
156
154
|
button_codename = "#{name}_toolbar_button".to_sym
|
157
|
-
return "" unless button_card = Card[button_codename]
|
155
|
+
return "" unless (button_card = Card[button_codename])
|
158
156
|
with_nest_mode :normal do
|
159
157
|
nest button_card, view: :core
|
160
158
|
end
|
@@ -187,11 +185,10 @@ format :html do
|
|
187
185
|
end
|
188
186
|
|
189
187
|
view :toolbar_buttons, cache: :never do
|
190
|
-
related_button = _render(:related_button).html_safe
|
191
188
|
wrap_with(:div, class: "btn-group btn-group-sm") do
|
192
189
|
[
|
193
190
|
_render(:delete_button,
|
194
|
-
|
191
|
+
optional: (card.ok?(:delete) ? :show : :hide)),
|
195
192
|
_render(:refresh_button),
|
196
193
|
_render(:related_button)
|
197
194
|
]
|
@@ -199,7 +196,8 @@ format :html do
|
|
199
196
|
end
|
200
197
|
|
201
198
|
view :related_button do
|
202
|
-
dropdown_button "", icon: :explore, class: "related",
|
199
|
+
dropdown_button "", icon: :explore, class: "related",
|
200
|
+
extra_css_class: "d-none d-md-inline" do
|
203
201
|
[
|
204
202
|
["children", :baby_formula, "*children"],
|
205
203
|
# ["mates", "bed", "*mates"],
|
@@ -208,8 +206,7 @@ format :html do
|
|
208
206
|
["references in", :log_in, "*referred_to_by"]
|
209
207
|
].map do |title, icon, tag|
|
210
208
|
menu_item " #{title}", icon, related: tag,
|
211
|
-
path: { slot: { show: :toolbar,
|
212
|
-
hide: :menu } }
|
209
|
+
path: { slot: { show: :toolbar, hide: :menu } }
|
213
210
|
end
|
214
211
|
end
|
215
212
|
end
|
@@ -226,7 +223,7 @@ format :html do
|
|
226
223
|
success = main? ? "REDIRECT: *previous" : "TEXT: #{card.name} deleted"
|
227
224
|
toolbar_button "delete", :trash,
|
228
225
|
path: { action: :delete, success: success },
|
229
|
-
class: "slotter", remote: true,
|
226
|
+
class: "slotter", remote: true, 'data-confirm': confirm
|
230
227
|
end
|
231
228
|
|
232
229
|
def toolbar_button text, symbol, opts={}
|
@@ -232,9 +232,10 @@ format :html do
|
|
232
232
|
end
|
233
233
|
|
234
234
|
def rule_set_selection
|
235
|
-
wrap_with :div, class: "
|
236
|
-
|
237
|
-
|
235
|
+
wrap_with :div, class: "set-list container-fluid" do
|
236
|
+
wrap_with :div, class: "row" do
|
237
|
+
[rule_set_formgroup, related_set_formgroup]
|
238
|
+
end
|
238
239
|
end
|
239
240
|
end
|
240
241
|
|