修正订单数据二级菜单同级视觉 (#20)
This commit is contained in:
parent
f3f55bbc11
commit
4ea2c03beb
2
public/css/app.css
vendored
2
public/css/app.css
vendored
File diff suppressed because one or more lines are too long
20
resources/assets/sass/app.css
vendored
20
resources/assets/sass/app.css
vendored
@ -421,11 +421,6 @@ body {
|
||||
background-color: var(--vip-content-accent) !important;
|
||||
}
|
||||
|
||||
.finance-theme-sidebar .menu__submenu li::before,
|
||||
.finance-theme-sidebar .menu__submenu details.relative::before {
|
||||
background-color: rgba(242, 231, 197, 0.24);
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
@ -480,21 +475,6 @@ body {
|
||||
@apply w-0 p-0 opacity-0;
|
||||
}
|
||||
|
||||
.menu__submenu li::before {
|
||||
@apply h-full absolute bg-gray-200 ltr:-left-4 rtl:-right-4;
|
||||
content: '';
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
.menu__submenu details.relative:before {
|
||||
@apply h-full absolute bg-gray-200 ltr:-left-4 rtl:-right-4;
|
||||
content: '';
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
.menu__submenu li:last-child::before {
|
||||
height: 20px;
|
||||
}
|
||||
/* menu */
|
||||
|
||||
/* element-ui */
|
||||
|
||||
24
tests/Unit/View/SidebarNavigationDesignTest.php
Normal file
24
tests/Unit/View/SidebarNavigationDesignTest.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Unit\View;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class SidebarNavigationDesignTest extends TestCase
|
||||
{
|
||||
public function test_secondary_navigation_uses_one_active_indicator_without_tree_connectors(): void
|
||||
{
|
||||
$root = dirname(__DIR__, 3);
|
||||
$source = file_get_contents($root . '/resources/assets/sass/app.css');
|
||||
$compiled = file_get_contents($root . '/public/css/app.css');
|
||||
|
||||
$this->assertIsString($source);
|
||||
$this->assertIsString($compiled);
|
||||
$this->assertStringContainsString('.menu-active-indicator', $source);
|
||||
$this->assertStringContainsString('.menu-active-indicator', $compiled);
|
||||
$this->assertStringNotContainsString('.menu__submenu li::before', $source);
|
||||
$this->assertStringNotContainsString('.menu__submenu details.relative:before', $source);
|
||||
$this->assertStringNotContainsString('.menu__submenu li:before', $compiled);
|
||||
$this->assertStringNotContainsString('.menu__submenu details.relative:before', $compiled);
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user