Skip to content

Commit 9ec8af9

Browse files
committed
Update styling
1 parent b508552 commit 9ec8af9

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

Diff for: resources/views/index.blade.php

+9-13
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,20 @@
2121
font-weight: 500;
2222
}
2323
24-
.nowrap {
25-
white-space: nowrap;
26-
}
27-
2824
.text-indigo {
29-
color: #6610f2;
25+
color: var(--bs-indigo);
3026
}
3127
3228
.text-orange {
33-
color: #fd7e14;
29+
color: var(--bs-orange);
3430
}
3531
36-
.bg-green {
37-
background-color: #28a745;
32+
.bg-teal {
33+
background-color: var(--bs-teal);
3834
}
3935
4036
.bg-orange {
41-
background-color: #fd7e14;
37+
background-color: var(--bs-orange);
4238
}
4339
</style>
4440
</head>
@@ -87,7 +83,7 @@
8783
</div>
8884

8985
<div class="table-responsive" x-show="loaded" x-cloak>
90-
<table class="table table-sm">
86+
<table class="table table-sm table-hover">
9187
<thead>
9288
<tr class="table-dark">
9389
<th x-show="columns.method">Method</th>
@@ -109,12 +105,12 @@
109105
<td x-show="columns.method" style="width: 120px">
110106
<template x-for="method in route.method">
111107
<span>
112-
<span class="badge" x-bind:class="getMethodColor(method)" x-text="method"></span>
108+
<span class="badge py-1" x-bind:class="getMethodColor(method)" x-text="method"></span>
113109
</span>
114110
</template>
115111
</td>
116112
<td class="font-monospace" x-show="columns.uri || columns.name">
117-
<div class="fw-medium nowrap" x-html="stylizeUri(route.domain, route.uri)" x-show="columns.uri"></div>
113+
<div class="fw-medium text-nowrap" x-html="stylizeUri(route.domain, route.uri)" x-show="columns.uri"></div>
118114
<div x-text="route.name" x-show="columns.name"></div>
119115
</td>
120116
<td class="font-monospace" x-show="columns.action || columns.middleware">
@@ -214,7 +210,7 @@
214210
215211
getMethodColor: function (method) {
216212
return 'bg-' + ({
217-
get: 'green',
213+
get: 'teal',
218214
head: 'secondary',
219215
options: 'info',
220216
post: 'primary',

0 commit comments

Comments
 (0)