Skip to content

Commit

Permalink
Tweak versions,logos
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh committed Dec 13, 2023
1 parent 6faec10 commit 27f6932
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
9 changes: 3 additions & 6 deletions resources/css/theme_light.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
.sf-minitoolbar {
background-color: #3439BC;
}

.sf-toolbarreset {
background-color: #EEF1F3;
box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
color: #212529;
}

.sf-toolbarreset .hide-button {
background: #3439BC;
.sf-toolbarreset .hide-button, .sf-toolbarreset .hide-button:hover {
background: #EEF1F3;
}

.sf-toolbar-block .sf-toolbar-value {
Expand Down Expand Up @@ -137,4 +134,4 @@ div.sf-toolbar .sf-toolbar-block .sf-toolbar-info-piece a {

.sf-error-toolbar .sf-toolbarreset a {
color: #3439bc;
}
}
16 changes: 9 additions & 7 deletions resources/views/collectors/config.blade.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
@component('telescope-toolbar::item', ['name' => 'ajax', 'additional_classes' => 'sf-toolbar-block-right'])
@component('telescope-toolbar::item', ['name' => 'ajax1'])

@slot('icon')

<span class="sf-toolbar-label">
@ttIcon('laravel')
</span>
<span class="sf-toolbar-value">{{ app()->version() }}</span>
@ttIcon('laravel')

<span class="sf-toolbar-value">{{ explode('.', app()->version())[0] }}</span>

@endslot

Expand All @@ -26,9 +25,12 @@
<b>PHP version</b>
<span>{{ phpversion() }}</span>
</div>

<div class="sf-toolbar-info-piece sf-toolbar-info-php">
<b>Laravel version</b>
<span>{{ app()->version() }}</span>
</div>
</div>
</div>

@endslot
@endcomponent
@endcomponent
4 changes: 2 additions & 2 deletions resources/views/toolbar.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!-- START of Laravel Telescope Toolbar -->
<div id="sfMiniToolbar-{{ $token }}" class="sf-minitoolbar" data-no-turbolink data-turbo="false">
<button type="button" title="Show Telescope toolbar" tabindex="-1" id="sfToolbarMiniToggler-{{ $token }}" accesskey="D" aria-expanded="false" aria-controls="sfToolbarMainContent-{{ $token }}">
@ttIcon('telescope')
@ttIcon('laravel')
</button>
</div>
<div id="sfToolbarClearer-{{ $token }}" class="sf-toolbar-clearer"></div>
Expand All @@ -25,7 +25,7 @@
@include("telescope-toolbar::collectors.config")

<button class="hide-button" type="button" id="sfToolbarHideButton-{{ $token }}" title="Close Toolbar" tabindex="-1" accesskey="D" aria-expanded="true" aria-controls="sfToolbarMainContent-{{ $token }}">
@ttIcon('telescope')
@ttIcon('close')
</button>
</div>
<!-- END of Laravel Telescope Toolbar -->

0 comments on commit 27f6932

Please sign in to comment.