A new userstyle
Modern Gmail by zhukaiqiang1
Details
Authorzhukaiqiang1
LicenseNo License
Categoryhttps://mail.google.com/mail/u/0/?tab=rm&ogbl#
Created
Updated
Size3.8 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name mail.google.com/mail/u/0/ - 2024年5月
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Me
==/UserStyle== */
@-moz-document url-prefix("https://mail.google.com/mail/u/0/?tab=rm&ogbl#") {
.WR .z0>.L3 {
border-radius: 8px;
height: 40px;
padding: 0 16px;
}
.z0>.L3 {
background-color: #fff;
box-shadow:rgba(0, 0, 0, 0.04) 0px 1px 2px 0px, rgba(0, 0, 0, 0.04) 0px 2px 4px 0px;
border: 0.5px solid rgb(206, 206, 206);
}
.z0>.L3:hover {
background-color: rgb(247, 247, 247);
box-shadow:rgba(0, 0, 0, 0.04) 0px 1px 2px 0px, rgba(0, 0, 0, 0.04) 0px 2px 4px 0px;
}
.WR .z0>.L3::before, .WR.anZ .z0>.L3::before{
background-size: 20px
}
.WR .z0>.L3::before {
min-width: 40px;
}
/* 发邮件按钮 */
.TK .TO.nZ:active, .TK .TO.ol:active, .TK .TO.nZ, .TK .TO.ol, .byl .TK .nZ.aBP, .byl .TK .nZ.aS3, .byl .TK .nZ.aS4, .byl .TK .nZ.aS5, .byl .TK .nZ.aS6, .VDSZAf.H5o3mc{
background-color: #e1e1e1;
}
.J-M{
box-shadow: rgba(0, 0, 0, 0.067) 0px 3px 8px ;
border-radius: 8px;
border: 0.5px solid rgb(216, 216, 216);
}
.J-N{
margin: 0 6px;
border-radius: 4px;
}
/* 下拉菜单 */
}
.z0{
flex-direction: column;
align-items: stretch;
padding: 8px;
}
.WR .z0{
margin: 0px;
height: fit-content;
}
/* 发邮件组 */
.Xr .V3, .aam{
padding: 8px;
}
.TK .TO, .n6 .ah9, .CL{
border-radius: 8px;;
}
/* 项目组 */
.zA{
border-radius: 8px;
box-shadow: none;
margin-bottom: 1px;
}
.Cp{
padding: 6px;
}
.zA:hover{
box-shadow: none;
background-color: #f0f0f0;
}
.yO{
background-color: transparent;
}
.aps{
background-color: #f0f0f0;
}
/* 邮件列表 */
/* Nu tf aZ6::-webkit-scrollbar {
width: initial;
}
Nu tf aZ6::-webkit-scrollbar-thumb {
background: initial;
border-radius: initial;
} */
/* .Tm::-webkit-scrollbar, .Nr>.aZ6::-webkit-scrollbar, .S4>.aZ6::-webkit-scrollbar, .bv9 .aZ6::-webkit-scrollbar {
background-color: initial;
} */
/* .Tm::-webkit-scrollbar, .Nr>.aZ6::-webkit-scrollbar, .S4>.aZ6::-webkit-scrollbar, .bv9 .aZ6::-webkit-scrollbar {
background-color: initial;
} */
.Tm::-webkit-scrollbar, .aZ6::-webkit-scrollbar, .aiL::-webkit-scrollbar, .dOsDob::-webkit-scrollbar, .J-M::-webkit-scrollbar {
width: initial;
height: initial;
}
.Tm::-webkit-scrollbar-button, .aZ6::-webkit-scrollbar-button, .aiL::-webkit-scrollbar-button, .dOsDob::-webkit-scrollbar-button, .J-M::-webkit-scrollbar-button {
width: initial;
height: initial;
display: initial;
}
.Tm::-webkit-scrollbar-corner, .aZ6::-webkit-scrollbar-corner, .aiL::-webkit-scrollbar-corner, .dOsDob::-webkit-scrollbar-corner, .J-M::-webkit-scrollbar-corner {
background-color: initial;
}
.Tm::-webkit-scrollbar-thumb, .aZ6::-webkit-scrollbar-thumb {
background-color: initial;
-webkit-box-shadow: initial;
}
.Nm .Nt{
border: none;
}
.Wg{
box-shadow: none;
}
.amD::before, .adg::before, .asa::before{
border-radius: 8px;
}
.J-Z-I::before, .J-Z-M-I::before, .J-JN-M-I::before{
border-radius: 8px;
}
.qi.J-JN-M-I::before{
border-radius: 8px;
}
.acX>.L3::before{
border-radius: 8px;
}
.pYTkkf-JX-I{
border-radius: 8px;
}
.bHC-Q, .bHC-Q::before, .bHC-Q::after{
border-radius: 8px;
}
/* 按钮圆角 */
.bhZ:not(.bym) .TK .TO, .bhZ:not(.bym) .n6 .ah9, .bhZ:not(.bym) .CL {
-webkit-border-radius: 16px;
border-radius: 8px;
margin-left: 8px;
width: 40px;
}
.WR.bhZ:not(.bym) .z0>.L3 {
height: 40px;
min-width: 40px;
width: 40px;
border-radius: 8px;
margin-left:8px
}
.WR .z0>.L3::before {
min-width: 36px;
}
/* 收起侧栏按钮 */
.TN{
margin-bottom: 1px;
height: 40px;
}
.bhZ:not(.bym) .TN {
padding: 0 10px;
}
.gb_Ra:not(.gb_Sa) .gb_hd .gb_Ic {
margin-left: 8px;
/* logo */