1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-22 06:57:53 +00:00
Files
matomo/plugins/Morpheus/stylesheets/ui/_navs.less
Ben Burgess 8cc4191dec Improve "What's new" feature visibility with remind me later option (#21271)
* Show the what's new changes as a popup, show badge count for new changes on menu bar, improve tests

* Added 'remind me later' and 'do not show these changes again' functionality

* Add missing use for FakeChangesModel

* Add missing FakeChangesModel mock class

* Update UI test screenshots

* Don't show the 'what's new' popup on the site no data view

* Update button text

* Improve changes test fixture, add missing new field to schema, add UI test for popup

* Additional null checks to fix vue build error

* built vue files

* Bump stuck tests

* Bump stuck tests

* Remove new user table field from API tests, increase UI screenshot test timeout for what's new popup

* Update API test results, further increase UI screenshot test timeout for what's new popup

* Increase popup test timeout further

* Adjust popup UI screenshot test timeout

* Different approach for popup UI screenshot test timeout

* Minor code improvements

* Improve test reliability

* Improve test reliability

* Code improvements and tidies, updated migration version to 5.0.0-rc4

* Tweak test timeout

* Update UI test screenshot

* Update plugins/CoreAdminHome/tests/UI/WhatIsNew_spec.js

Co-authored-by: Stefan Giehl <stefan@matomo.org>

* improve UI tests

* combine duplicate UI tests

* avoid queries in fake model

* fix tests

* revert some changes

* fix ui tests

---------

Co-authored-by: bx80 <bx80@users.noreply.github.com>
Co-authored-by: sgiehl <stefan@matomo.org>
2023-09-28 11:08:56 +02:00

92 خطوط
1.4 KiB
Plaintext

// Most of this is Bootstrap code and can be removed when switching to Bootstrap
.nav {
margin-bottom: 20px;
padding-left: 0; // Override default ul/ol
list-style: none;
> li {
position: relative;
display: block;
> a {
position: relative;
display: block;
padding: 11px 70px;
text-decoration: none;
}
}
}
// .clearfix
.nav::before,
.nav::after {
display: table;
content: " ";
}
.nav::after {
clear: both;
}
.nav-pills {
> li {
float: left;
border: 1px solid @color-silver-l85;
border-left: 0;
&:first-child {
border-radius: 3px 0 0 3px;
border: 1px solid @color-silver-l85;
}
&:last-child {
border-radius: 0 3px 3px 0;
}
> a {
color: @theme-color-link;
background-color: @color-silver-l95;
&:hover,
&:focus {
background-color: @color-silver-l85;
}
}
&.active > a {
color: @theme-color-text;
background-color: @theme-color-background-base;
cursor: default;
}
}
}
nav .sidenav-trigger {
margin: 0;
}
.sidenav {
li {
> a {
text-decoration: none;
}
> div > a {
text-decoration: none;
color: rgba(0,0,0,.87);
display: block;
font-size: 14px;
font-weight: 500;
height: 48px;
line-height: 48px;
padding: 0 32px;
> .badge-menu-item {
top: 6px;
right: 20px;
left: unset;
}
}
}
}