Rev 16395 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 16395 | Rev 16410 | ||
---|---|---|---|
Line 11... | Line 11... | ||
11 | display: grid; |
11 | display: grid; |
12 | grid-template-columns: auto auto; |
12 | grid-template-columns: auto auto; |
13 | } |
13 | } |
14 | .grid_container>span{ |
14 | .grid_container>span{ |
15 | padding: 2px; |
15 | padding: 2px; |
- | 16 | } |
|
- | 17 | .dropdown.wims_secondary_button:after{ |
|
- | 18 | border-color: #000 transparent transparent; |
|
- | 19 | top: 0; |
|
- | 20 | } |
|
- | 21 | ||
- | 22 | /** |
|
- | 23 | * Foundation for Sites |
|
- | 24 | * Dropdown button |
|
- | 25 | */ |
|
- | 26 | button.dropdown:after { |
|
- | 27 | display: block; |
|
- | 28 | width: 0; |
|
- | 29 | height: 0; |
|
- | 30 | border-style: solid; |
|
- | 31 | border-width: 0.4em; |
|
- | 32 | content: ''; |
|
- | 33 | border-bottom-width: 0; |
|
- | 34 | border-color: #fefefe transparent transparent; |
|
- | 35 | position: relative; |
|
- | 36 | top: 0.4em; |
|
- | 37 | display: inline-block; |
|
- | 38 | float: right; |
|
- | 39 | margin-left: 1em; |
|
16 | } |
40 | } |
17 | 41 | ||
18 | /** |
42 | /** |
19 | * Foundation for Sites |
43 | * Foundation for Sites |
20 | * Version 6.7.4 |
44 | * Version 6.7.4 |
Line 51... | Line 75... | ||
51 | !increase js_numberdropdownbutton_ |
75 | !increase js_numberdropdownbutton_ |
52 | !let keyid_=!line 1 of $wims_read_parm |
76 | !let keyid_=!line 1 of $wims_read_parm |
53 | !let keyname_=!line 2 of $wims_read_parm |
77 | !let keyname_=!line 2 of $wims_read_parm |
54 | !let nb_=!linecnt $wims_read_parm |
78 | !let nb_=!linecnt $wims_read_parm |
55 | 79 | ||
- | 80 | !! @See https://get.foundation/sites/docs/dropdown.html for data-options |
|
56 | <button class="wims_button wims_secondary_button small |
81 | <button class="wims_button wims_secondary_button small dropdown" type="button" |
- | 82 | data-toggle="dropdown$keyid_"> |
|
57 | $keyname_ |
83 | $keyname_ |
58 | </button> |
84 | </button> |
59 | <div class="dropdown-pane" id="dropdown$keyid_" |
85 | <div class="dropdown-pane" id="dropdown$keyid_" |
60 | data-dropdown data-auto-focus="true" |
86 | data-dropdown data-auto-focus="true" |
61 | data-position="bottom" data-alignment="right" |
87 | data-position="bottom" data-alignment="right" |
- | 88 | data-close-on-click="true" > |
|
62 | <div class="grid_container"> |
89 | <div class="grid_container"> |
63 | !for k_=3 to $nb_ |
90 | !for k_=3 to $nb_ |
64 | !let l_=!line $k_ of $wims_read_parm |
91 | !let l_=!line $k_ of $wims_read_parm |
65 | !let link_=!word 1 of $l_ |
92 | !let link_=!word 1 of $l_ |
66 | !let name_=!word 2 to -1 of $l_ |
93 | !let name_=!word 2 to -1 of $l_ |