|
94 | 94 | <h2 class="mb-4 card-header"><i class="bi bi-pen"> Button Editor</i></h2> |
95 | 95 | <div class="card-body p-0 p-md-3"> |
96 | 96 |
|
97 | | - <br><br><a class="btn btn-primary" href="{{ url('/studio/links') }}">⬅ Back</a> |
| 97 | + <a class="btn btn-primary" href="{{ url('/studio/links') }}"><i class="bi bi-arrow-left-short"></i> Back</a><br><br> |
98 | 98 |
|
99 | 99 | <h2>Custom Button</h2><br> |
100 | 100 |
|
|
149 | 149 |
|
150 | 150 | <section id="preview"> |
151 | 151 | @if($buttonId == 1) |
152 | | - <center><div id="sample" style="--delay: 1s; border-radius:8px !important; max-width: 400px; width: 80%; class="button-entrance"><div class="button-demo button hvr-grow hvr-icon-wobble-vertical"><img class="icon hvr-icon" src="{{ asset('\/assets/linkstack/icons\/') . 'custom' }}.svg">{{ $title }}</div></div></center> |
| 152 | + <center><div id="sample" style="border-radius: 8px !important; max-width: 350px; height: 48px; display: flex; align-items: center; justify-content: center;font-size: 18px;" class="button-demo button"><img class="icon hvr-icon" src="{{ asset('\/assets/linkstack/icons\/') . 'custom' }}.svg">{{ $title }}</div></center> |
153 | 153 | @else |
154 | | - <center><div id="sample" style="--delay: 1s; border-radius:8px !important; max-width: 400px; width: 80%; class="button-entrance"><div class="button-demo button hvr-grow hvr-icon-wobble-vertical"><img class="wicon hvr-icon" src="@if(file_exists(base_path("assets/favicon/icons/").localIcon($id))){{url('assets/favicon/icons/'.localIcon($id))}}@else{{getFavIcon($id)}}@endif">{{ $title }}</div></div></center> |
| 154 | + <center><div id="sample" style="border-radius: 8px !important; max-width: 350px; height: 48px; display: flex; align-items: center; justify-content: center;font-size: 18px;" class="button-demo button"><img class="wicon hvr-icon" src="@if(file_exists(base_path("assets/favicon/icons/").localIcon($id))){{url('assets/favicon/icons/'.localIcon($id))}}@else{{getFavIcon($id)}}@endif">{{ $title }}</div></center> |
155 | 155 | @endif |
156 | 156 |
|
157 | 157 | </section> |
|
171 | 171 | </div> |
172 | 172 | </div> |
173 | 173 | </details> |
174 | | - <br><button id="code" class="mt-3 ml-3 btn btn-info">Submit</button><br> |
| 174 | + <br><button id="code" class="btn btn-primary">Save</button><br> |
175 | 175 | </form> |
176 | 176 |
|
177 | 177 | <form action="{{ route('editCSS', $id) }}" method="post"> |
|
181 | 181 | NULL |
182 | 182 | </textarea> |
183 | 183 | </div> |
184 | | - <button type="submit" class="mt-3 ml-3 btn btn-info">Reset to default</button> |
| 184 | + <button type="submit" class="btn btn-danger">Reset to default</button> |
185 | 185 | </form> |
186 | 186 |
|
187 | 187 | <br><br><div id="result" style="left: 1%; position: relative; background-color:#2c2d3a; border-radius: 25px; min-width:300px; max-width:950px; height:300px; box-shadow: 0 10px 20px -10px rgba(0,0,0, 0.6);"> |
|
223 | 223 | <p>If the short code is a brand icon, it is important to include a 'fab' before the short code part. Again, The 'fa-...' formatting still applies here. For example, 'fab fa-github'</p> |
224 | 224 | <p>To apply color to your icons, you can simply write out the color name or just write the HEX value before the icon, followed by a ';'. Here it is important to put the color before the icon short code and the color code must be ended with a semicolon.<br> |
225 | 225 | You can find a list of available colors <a href="https://www.w3schools.com/cssref/css_colors.asp" target="_blank">here</a>.</p> |
226 | | - <br><table class="table table-bordered"> |
| 226 | + <br> |
| 227 | + <div class="table-responsive"> |
| 228 | + <table class="table table-striped"> |
227 | 229 | <thead> |
228 | 230 | <tr> |
229 | 231 | <th scope="col">Style</th> |
|
259 | 261 | </tr> |
260 | 262 | </tbody> |
261 | 263 | </table> |
| 264 | + </div> |
262 | 265 | </details> |
263 | 266 |
|
264 | | - <div class="row"> |
265 | | - <button type="submit" class="mt-3 ml-3 btn btn-info">Update icon</button> |
266 | | - <button class="mt-3 ml-3 btn btn-info"><a href="https://fontawesome.com/search?m=free" target="_blank">See all icons</a></button> |
267 | | - </div> |
| 267 | + <br> |
| 268 | + <button type="submit" class="btn btn-primary">Update icon</button> |
| 269 | + <a class="btn btn-primary" href="https://fontawesome.com/search?m=free" target="_blank">See all icons</a> |
| 270 | + |
268 | 271 | </form><br><br><br><br> |
269 | 272 | @endif |
270 | 273 |
|
271 | 274 | </div> |
272 | 275 |
|
273 | | - <a class="btn btn-primary" href="{{ url('/studio/links') }}">⬅ Back</a> |
| 276 | + <a class="btn btn-primary" href="{{ url('/studio/links') }}"><i class="bi bi-arrow-left-short"></i> Back</a> |
274 | 277 |
|
275 | 278 | </div> |
276 | 279 | </section> |
|
0 commit comments