when choose custom view as 2 weeks or 3 weeks, hide weekend.
GCal No Weekend by semjei
Details
Authorsemjei
LicenseNo License
Categorygoogle calendar
Created
Updated
Size3.2 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 google calendar custom view without weekend
@version 20220518.21.18
@namespace userstyles.world/user/semjei
@description when choose custom view as 2 weeks or 3 weeks, hide weekend.
@author semjei
@license No License
==/UserStyle== */
@-moz-document domain("calendar.google.com") {
.K2fuAf[data-view-heading^=" 2 weeks"] .PhLhOd:nth-child(n+7),
.K2fuAf[data-view-heading^=" 3 weeks"] .PhLhOd:nth-child(n+7) {
display: none;
}
.K2fuAf[data-view-heading^=" 2 weeks"] .zYZlv:nth-child(n+6),
.K2fuAf[data-view-heading^=" 3 weeks"] .zYZlv:nth-child(n+6) {
display: none;
}
.K2fuAf[data-view-heading^=" 2 weeks"] .t8qpF:nth-child(n+6),
.K2fuAf[data-view-heading^=" 3 weeks"] .t8qpF:nth-child(n+6) {
display: none;
}
.K2fuAf[data-view-heading^=" 2 weeks"] .eADW5d:nth-child(n+6),
.K2fuAf[data-view-heading^=" 3 weeks"] .eADW5d:nth-child(n+6) {
display: none;
}
.K2fuAf[data-view-heading^=" 2 weeks"] .ifwtOb,
.K2fuAf[data-view-heading^=" 3 weeks"] .ifwtOb {
width: 20.0% !important;
}
.K2fuAf[data-view-heading^=" 2 weeks"] .ifwtOb[style*="width: 28.57%;"],
.K2fuAf[data-view-heading^=" 3 weeks"] .ifwtOb[style*="width: 28.57%;"] {
width: 40.0% !important;
}
.K2fuAf[data-view-heading^=" 2 weeks"] .ifwtOb[style*="width: 42.86%;"],
.K2fuAf[data-view-heading^=" 3 weeks"] .ifwtOb[style*="width: 42.86%;"] {
width: 60.0% !important;
}
.K2fuAf[data-view-heading^=" 2 weeks"] .ifwtOb[style*="width: 57.14%;"],
.K2fuAf[data-view-heading^=" 3 weeks"] .ifwtOb[style*="width: 57.14%;"] {
width: 80.0% !important;
}
.K2fuAf[data-view-heading^=" 2 weeks"] .ifwtOb[style*="width: 71.43%;"],
.K2fuAf[data-view-heading^=" 3 weeks"] .ifwtOb[style*="width: 71.43%;"] {
width: 100.0% !important;
}
.K2fuAf[data-view-heading^=" 2 weeks"] .eADW5d:nth-child(1) .ifwtOb,
.K2fuAf[data-view-heading^=" 3 weeks"] .eADW5d:nth-child(1) .ifwtOb {
left: 0% !important;
}
.K2fuAf[data-view-heading^=" 2 weeks"] .eADW5d:nth-child(2) .ifwtOb ,
.K2fuAf[data-view-heading^=" 3 weeks"] .eADW5d:nth-child(2) .ifwtOb {
left: 20% !important;
}
.K2fuAf[data-view-heading^=" 2 weeks"] .eADW5d:nth-child(3) .ifwtOb,
.K2fuAf[data-view-heading^=" 3 weeks"] .eADW5d:nth-child(3) .ifwtOb {
left: 40% !important;
}
.K2fuAf[data-view-heading^=" 2 weeks"] .eADW5d:nth-child(4) .ifwtOb,
.K2fuAf[data-view-heading^=" 3 weeks"] .eADW5d:nth-child(4) .ifwtOb {
left: 60% !important;
}
.K2fuAf[data-view-heading^=" 2 weeks"] .eADW5d:nth-child(5) .ifwtOb,
.K2fuAf[data-view-heading^=" 3 weeks"] .eADW5d:nth-child(5) .ifwtOb {
left: 80% !important;
}
@media /*not*/ print {
/*왼쪽 사이드바 배경*/
body {
background-color: #333;
}
/**/
.MSZkRb .r4nke {
color: #eee;
}
/* 서치피플 */
.fWMZdd {
color: #eee;
}
/* 카렌다 목록 */
.fWMZdd, .aIwHYe, .NI2kfb {
color: #eee;
}
/* 날짜칸 */
.PhLhOd, .t8qpF {
background-color: #333;
}
.wy3aMe, .dkNwF .yzYBvd {
color: #eee;
}
}
}