|
13 | 13 | <!--Nav-->
|
14 | 14 | <nav class="bg-gray-800 pt-2 md:pt-1 pb-1 px-1 mt-0 h-auto w-full">
|
15 | 15 | <div class="flex flex-wrap items-center">
|
16 |
| - <div class="flex flex-shrink justify-center md:justify-start text-white"> |
| 16 | + <div class="flex shrink justify-center md:justify-start text-white"> |
17 | 17 | <a class="flex items-center mb-1 md:mt-2 md:mb-2" href="../../examples/index.html">
|
18 | 18 | <img src="static/img/logo_white.svg" alt="logo" class="h-11 ml-3 mr-2">
|
19 | 19 | <span class="h-11 ml-2 py-1 text-2xl md:text-3xl">bpmn-visualization</span>
|
|
22 | 22 | </div>
|
23 | 23 | </nav>
|
24 | 24 | <!-- Page section -->
|
25 |
| - <div class="flex flex-col md:flex-row flex-grow"> |
| 25 | + <div class="flex flex-col md:flex-row grow"> |
26 | 26 | <!-- Control Panel -->
|
27 | 27 | <div class="bg-gray-800 shadow-xl w-full md:w-48">
|
28 | 28 | <ul class="flex flex-row md:flex-col py-0 px-1 md:px-2 md:mr-3">
|
29 | 29 | <li>
|
30 | 30 | <div class="select-none pt-1 pb-0.5 md:pb-5 md:pt-0 pl-1 border-b-2 border-gray-800">
|
31 |
| - <div class="bg-gradient-to-b from-red-200 to-red-100 border-b-4 border-red-600 rounded-lg shadow-xl hover:border-red-900"> |
| 31 | + <div class="bg-linear-to-b from-red-200 to-red-100 border-b-4 border-red-600 rounded-lg shadow-xl hover:border-red-900"> |
32 | 32 | <div class="cursor-pointer text-red-500 hover:text-red-900">
|
33 | 33 | <div class="text-center">
|
34 | 34 | <input type="file" id="bpmn-file" name="file" class="hidden"/>
|
|
47 | 47 | <div class="py-1 md:py-3 pl-1 text-white md:border-b-2 md:border-red-500">
|
48 | 48 | <div class="block no-underline md:pb-3 md:border-b-2 md:border-blue-600">
|
49 | 49 | <label class="flex justify-evenly md:block">Fit type:
|
50 |
| - <select name="fitTypes" id="fitType-selected" class="w-1/2 md:w-full pl-1 md:pl-0 text-blue-900"> |
| 50 | + <select name="fitTypes" id="fitType-selected" class="w-1/2 md:w-full pl-1 md:pl-0 text-blue-900 bg-white"> |
51 | 51 | <option value="None">None</option>
|
52 | 52 | <option value="HorizontalVertical">Horizontal-Vertical</option>
|
53 | 53 | <option value="Horizontal">Horizontal</option>
|
|
58 | 58 | </div>
|
59 | 59 | <div class="block no-underline mt-2 md:mt-3">
|
60 | 60 | <label for="fit-margin" class="flex justify-around">Fit margin:
|
61 |
| - <input type="number" id="fit-margin" class="w-1/3 pl-1 text-red-900 md:ml-auto" min="0" max="100" value="50" maxlength="3" oninput="validity.valid||(value='');"> |
| 61 | + <input type="number" id="fit-margin" class="w-1/3 pl-1 text-red-900 bg-white md:ml-auto" min="0" max="100" value="50" maxlength="3" oninput="validity.valid||(value='');"> |
62 | 62 | </label>
|
63 | 63 | </div>
|
64 | 64 | </div>
|
|
76 | 76 | </div>
|
77 | 77 | <div class="py-1 md:py-3 pl-1 text-white md:border-b-2 md:border-b-fuchsia-400">
|
78 | 78 | <label class="flex md:block">Theme:
|
79 |
| - <select name="themes" id="theme-selected" class="w-1/2 md:w-full pl-1 md:pl-0 ml-2 md:ml-0 text-blue-900"> |
| 79 | + <select name="themes" id="theme-selected" class="w-1/2 md:w-full pl-1 md:pl-0 ml-2 md:ml-0 text-blue-900 bg-white"> |
80 | 80 | <option value="default" selected>Default</option>
|
81 | 81 | <option value="dark">Dark</option>
|
82 | 82 | <option value="brown">Brown</option>
|
|
90 | 90 |
|
91 | 91 | <!-- Main section -->
|
92 | 92 | <div class="flex flex-1 flex-col bg-gray-100 md:rounded-tl-2xl md:rounded-bl-2xl mt-2 md:mt-0">
|
93 |
| - <div class="flex-grow mt-2 p-6 flex flex-col"> |
| 93 | + <div class="grow mt-2 p-6 flex flex-col"> |
94 | 94 | <!-- BPMN container space -->
|
95 | 95 | <!-- relative position is required by bpmn-container and the generated drop-container element to make its absolute position work -->
|
96 |
| - <div class="flex-grow bg-white border-transparent rounded-lg shadow-xl relative"> |
| 96 | + <div class="grow bg-white border-transparent rounded-lg shadow-xl relative"> |
97 | 97 | <!-- set absolute and no inset, as mxGraph needs absolute dimension to make the fit work and to fit the whole parent container -->
|
98 | 98 | <div id="bpmn-container" class="overflow-hidden absolute inset-0">
|
99 | 99 | </div>
|
|
0 commit comments