| r1439 vs r1440 | ||
|---|---|---|
| ... | ... | |
| 2 | 2 | {{{#!style |
| 3 | 3 | .mine-safe {width:30px;height:30px;background:no-repeat linear-gradient(#0f0, #fff)50% 50%/75% 75%, conic-gradient(from 45deg, #bbb 90deg, #999 0, #888 180deg, #ddd 0, #ddd 270deg, #fff 0);color:#000;font-weight:bold} |
| 4 | 4 | |
| 5 | .mine- | |
| 5 | .mine-red {width:30px;height:30px;padding-bottom: -15px;background:no-repeat linear-gradient(#f00, #fff)50% 50%/75% 75%, conic-gradient(from 45deg, #bbb 90deg, #999 0, #888 180deg, #ddd 0, #ddd 270deg, #fff 0);color:#000;font-weight:bold} | |
| 6 | 6 | |
| 7 | .mine- | |
| 7 | .mine-cyan {width:30px;height:30px;background:no-repeat linear-gradient(#0ff, #fff)50% 50%/75% 75%, conic-gradient(from 45deg, #bbb 90deg, #999 0, #888 180deg, #ddd 0, #ddd 270deg, #fff 0)} | |
| 8 | 8 | |
| 9 | .mine-mode {width:30px;height:30px;background:no-repeat linear-gradient(#0ff, #fff)50% 50%/75% 75%, conic-gradient(from 45deg, #bbb 90deg, #999 0, #888 180deg, #ddd 0, #ddd 270deg, #fff 0)} | |
| 10 | ||
| 9 | 11 | .mine-num {width:30px;height:30px;display:table;background:#fff;color:#000;font-weight:bold} |
| 10 | 12 | |
| 11 | 13 | .mine-over {width:30px;height:30px;background:no-repeat linear-gradient(#00f, #fff)50% 50%/75% 75%, conic-gradient(from 45deg, #bbb 90deg, #999 0, #888 180deg, #ddd 0, #ddd 270deg, #fff 0);color:#000;font-weight:bold} |
| ... | ... | |
| 14 | 16 | |
| 15 | 17 | .mine-trans {width:30px;height:30px;display:table;background:transparent} |
| 16 | 18 | |
| 17 | .mine-style {vertical-align:middle} | |
| 18 | ||
| 19 | 19 | .mine-enable {width:30px;height:30px;display:table;background:radial-gradient(farthest-corner, #fff 10%, #0e0 50%, #050 90%, #050 0)} |
| 20 | 20 | |
| 21 | 21 | .mine-mrg {width:30px;height:30px;margin-top: -30px} |
| ... | ... | |
| 58 | 58 | {{{#!if ++cell |
| 59 | 59 | }}}}}}}}}}}} |
| 60 | 60 | |
| 61 | ||
| 61 | {{{#!wiki class="mode@index@ mine-cyan mine-hide" onclick="remove-class,mode-flag@index@,mine-hide" | |
| 62 | }}}{{{#!wiki class="cell@index@ cell" onclick="remove-class,mode@index@,mine-cyan;remove-class,cell@index@,cell" | |
| 62 | 63 | {{{#!if mine[index] == 0 |
| 63 | 64 | {{{#!wiki class="mine@index@ mine-safe" onclick="add-class,mine@index@,mine-num;remove-class,mineh@index@,mine-hide" |
| 64 | 65 | {{{#!wiki class="mineh@index@ mine-hide" |
| ... | ... | |
| 67 | 68 | {{{#!wiki class="miner@index@ mine-num" onclick="add-class,mine,mine-trans;add-class,miner@index@,mine-red;remove-class,mineh,mine-hide" |
| 68 | 69 | {{{#!wiki class="mine mine-over" |
| 69 | 70 | {{{#!wiki class="mineh mine-hide" |
| 70 | ●}}}}}}}}}}}} || | |
| 71 | ●}}}}}}}}}}}}}}}{{{#!wiki class="mode-flag@index@ mine-flag-icon mine-hide" onclick="add-class,mode-flag@index@,mine-hide" | |
| 72 | }}} || | |
| 71 | 73 | |
| 72 | 74 | ||<nopad> {{{#!wiki class="mine-enable" |
| 73 | {{{#!wiki class="dig mine- | |
| 75 | {{{#!wiki class="dig mine-mode" onclick="add-class,flag,mine-mode;remove-class,dig,mine-mode;add-class;add-class,mine-cyan,mine-hide;remove-class,cell,mine-hide" | |
| 74 | 76 | {{{#!wiki class="start mine-enable" |
| 75 | 77 | }}}}}}}}} || |
| 76 | 78 | |
| 77 | 79 | ||<nopad> {{{#!wiki class="mine-enable" |
| 78 | {{{#!wiki class="flag mine- | |
| 80 | {{{#!wiki class="flag mine-mode" onclick="add-class,dig,mine-mode;remove-class,flag,mine-mode;remove-class,start,mine-enable;remove-class,mine-cyan,mine-hide;add-class,cell,mine-hide" | |
| 79 | 81 | 🚩}}}}}} || |
| 80 | 82 | |
| 81 | 83 | |
| 84 | {{{#!if ++index | |
| 85 | }}} | |
| 86 | ||
| 87 | @index@ | |
| 88 | ||
| 89 | ||<nopad> {{{#!wiki class="mine-red" | |
| 90 | {{{#!wiki class="mode@index@ mine-cyan mine-hide" onclick="remove-class,mode-flag@index@,mine-hide" | |
| 91 | }}}}}}{{{#!wiki class="mode-flag@index@ mine-flag-icon mine-hide" onclick="add-class,mode-flag@index@,mine-hide" | |
| 92 | }}} || | |
| 93 | ||
| 94 | ||
| 95 | ||
| 96 | ||
| 97 | ||
| 98 | ||
| 99 | ||
| 100 | ---- | |
| 101 | ################################################### | |
| 102 | ---- | |
| 103 | ||
| 104 | ||
| 105 | ||
| 106 | ||
| 107 | ||
| 108 | ||
| 109 | ||
| 110 | ||
| 111 | ||
| 112 | ||
| 82 | 113 | {{{ |
| 83 | 114 | |
| 84 | 115 | {{{ |
| ... | ... | |
| 95 | 126 | }}} |
| 96 | 127 | |
| 97 | 128 | |
| 98 | ||
| 99 | ||
| 100 | ||
| 101 | ||
| 102 | ||
| 103 | 129 | {{{ |
| 104 | 130 | {{{#!wiki class="mine@index@ mine-test-red" onclick="add-class,mine-flag-icon,mine-test-hide;add-class,mine@index@,mine-num;remove-class,mineh@index@,mine-hide;add-class,mineh@index@,mine-test-cyan,mine-num" |
| 105 | 131 | }}}{{{#!wiki class="mineh@index@ mine-test-cyan mine-hide" onclick="toggle-class,mine-flag-icon,mine-hide" |
| ... | ... |