style: format code with prettier
This commit is contained in:
1 parent
ff2e1dfb8b
commit
6369b2e3ae
1 file changed
+97
-32
@@ -17,7 +17,6 @@
|
|||||||
==/UserStyle== */
|
==/UserStyle== */
|
||||||
|
|
||||||
@-moz-document domain('live.com') {
|
@-moz-document domain('live.com') {
|
||||||
|
|
||||||
/* prettier-ignore */
|
/* prettier-ignore */
|
||||||
@catppuccin: {
|
@catppuccin: {
|
||||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||||
@@ -55,7 +54,9 @@
|
|||||||
@crust: @catppuccin[@@lookup][@crust];
|
@crust: @catppuccin[@@lookup][@crust];
|
||||||
@color: @catppuccin[@@lookup][@@accent];
|
@color: @catppuccin[@@lookup][@@accent];
|
||||||
|
|
||||||
.fui-FluentProvider2, .fui-FluentProvider86, .fui-FluentProvider102 {
|
.fui-FluentProvider2,
|
||||||
|
.fui-FluentProvider86,
|
||||||
|
.fui-FluentProvider102 {
|
||||||
--colorNeutralStroke1: @surface1;
|
--colorNeutralStroke1: @surface1;
|
||||||
--colorBrandForeground1: @color;
|
--colorBrandForeground1: @color;
|
||||||
--colorNeutralForeground1: @text;
|
--colorNeutralForeground1: @text;
|
||||||
@@ -92,20 +93,21 @@
|
|||||||
|
|
||||||
#RibbonContainer > div:nth-child(1) > div:nth-child(2) > div:nth-child(1),
|
#RibbonContainer > div:nth-child(1) > div:nth-child(2) > div:nth-child(1),
|
||||||
#RibbonContainer > div:nth-child(1) > div:nth-child(2) > div:nth-child(2),
|
#RibbonContainer > div:nth-child(1) > div:nth-child(2) > div:nth-child(2),
|
||||||
#RibbonTopBarContainer,
|
#RibbonTopBarContainer {
|
||||||
{
|
|
||||||
background-color: @base !important;
|
background-color: @base !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tablist > div:nth-child(1) {
|
#tablist > div:nth-child(1) {
|
||||||
> div > div:nth-child(1) > button:nth-child(1) {
|
> div > div:nth-child(1) > button:nth-child(1) {
|
||||||
color: @text !important;
|
color: @text !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#Home-tabpanel,
|
#Home-tabpanel,
|
||||||
#Home-tabpanel > div:nth-child(2),
|
#Home-tabpanel > div:nth-child(2),
|
||||||
#appLauncherTop, #appLauncherMainView, #ContextMenu-ContextMenu {
|
#appLauncherTop,
|
||||||
|
#appLauncherMainView,
|
||||||
|
#ContextMenu-ContextMenu {
|
||||||
background-color: @surface0 !important;
|
background-color: @surface0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -114,11 +116,13 @@
|
|||||||
color: @base;
|
color: @base;
|
||||||
}
|
}
|
||||||
|
|
||||||
#Floatie-FontPicker-Floatie > div:nth-child(1), #Floatie-FontSize-Floatie > div:nth-child(2) {
|
#Floatie-FontPicker-Floatie > div:nth-child(1),
|
||||||
|
#Floatie-FontSize-Floatie > div:nth-child(2) {
|
||||||
background-color: @base;
|
background-color: @base;
|
||||||
}
|
}
|
||||||
|
|
||||||
#Floatie-FontPicker-Floatie > div:nth-child(1) > input:nth-child(1), #Floatie-FontSize-Floatie-input {
|
#Floatie-FontPicker-Floatie > div:nth-child(1) > input:nth-child(1),
|
||||||
|
#Floatie-FontSize-Floatie-input {
|
||||||
color: @text;
|
color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -136,7 +140,8 @@
|
|||||||
|
|
||||||
#TellMe-Menu > div:nth-child(1) {
|
#TellMe-Menu > div:nth-child(1) {
|
||||||
background-color: @surface0 !important;
|
background-color: @surface0 !important;
|
||||||
> ul:nth-child(1) > li, ul:nth-child(1) > li:nth-child(2) {
|
> ul:nth-child(1) > li,
|
||||||
|
ul:nth-child(1) > li:nth-child(2) {
|
||||||
div:nth-child(1) > ul:nth-child(1) {
|
div:nth-child(1) > ul:nth-child(1) {
|
||||||
> li {
|
> li {
|
||||||
background-color: @surface0 !important;
|
background-color: @surface0 !important;
|
||||||
@@ -154,7 +159,8 @@
|
|||||||
._1acxHZf6WaSGxss7AMw7aZ.o365sx-neutral-lighter-hover-background:hover,
|
._1acxHZf6WaSGxss7AMw7aZ.o365sx-neutral-lighter-hover-background:hover,
|
||||||
._3eLVxYuaVkSqw02CcIH8ec.o365sx-neutral-dark-font.o365sx-neutral-lighter-hover-background:hover,
|
._3eLVxYuaVkSqw02CcIH8ec.o365sx-neutral-dark-font.o365sx-neutral-lighter-hover-background:hover,
|
||||||
.ribbon-bottom-bar-divider,
|
.ribbon-bottom-bar-divider,
|
||||||
.divider-745, .divider-766 {
|
.divider-745,
|
||||||
|
.divider-766 {
|
||||||
background-color: @surface1 !important;
|
background-color: @surface1 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -167,25 +173,44 @@
|
|||||||
border-color: @surface1 !important;
|
border-color: @surface1 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Paragraph, #TellMe-Menusection-0-title > div:nth-child(1) > span:nth-child(2), #TellMe-Menusection-1-title > div:nth-child(1) > span:nth-child(2) {
|
.Paragraph,
|
||||||
|
#TellMe-Menusection-0-title > div:nth-child(1) > span:nth-child(2),
|
||||||
|
#TellMe-Menusection-1-title > div:nth-child(1) > span:nth-child(2) {
|
||||||
color: @text !important;
|
color: @text !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.PageAdornmentHeaderLabelThemed, .PageAdornmentFooterLabelThemed {
|
.PageAdornmentHeaderLabelThemed,
|
||||||
|
.PageAdornmentFooterLabelThemed {
|
||||||
background-color: @base !important;
|
background-color: @base !important;
|
||||||
border-color: @text !important;
|
border-color: @text !important;
|
||||||
color: @subtext0;
|
color: @subtext0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[id="WACStatusBarContainer"] > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) {
|
[id="WACStatusBarContainer"]
|
||||||
div:nth-child(1), div:nth-child(3) {
|
> div:nth-child(1)
|
||||||
> button, div:nth-child(2) > div:nth-child(1) {
|
> div:nth-child(1)
|
||||||
|
> div:nth-child(1)
|
||||||
|
> div:nth-child(1)
|
||||||
|
> div:nth-child(1)
|
||||||
|
> div:nth-child(1)
|
||||||
|
> div:nth-child(1)
|
||||||
|
> div:nth-child(1)
|
||||||
|
> div:nth-child(1)
|
||||||
|
> div:nth-child(1) {
|
||||||
|
div:nth-child(1),
|
||||||
|
div:nth-child(3) {
|
||||||
|
> button,
|
||||||
|
div:nth-child(2) > div:nth-child(1) {
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: @surface1 !important;
|
background-color: @surface1 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
div:nth-child(3) > div:nth-child(2) > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) {
|
div:nth-child(3)
|
||||||
|
> div:nth-child(2)
|
||||||
|
> div:nth-child(1)
|
||||||
|
> div:nth-child(2)
|
||||||
|
> div:nth-child(1) {
|
||||||
> div:nth-child(1) > span:nth-child(1) {
|
> div:nth-child(1) > span:nth-child(1) {
|
||||||
background: @color !important;
|
background: @color !important;
|
||||||
}
|
}
|
||||||
@@ -207,7 +232,11 @@
|
|||||||
background: @surface0 !important;
|
background: @surface0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#documentTitle > span:nth-child(1) > div:nth-child(2) > i:nth-child(1) > svg:nth-child(1) {
|
#documentTitle
|
||||||
|
> span:nth-child(1)
|
||||||
|
> div:nth-child(2)
|
||||||
|
> i:nth-child(1)
|
||||||
|
> svg:nth-child(1) {
|
||||||
fill: @text;
|
fill: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -246,7 +275,6 @@
|
|||||||
> div:nth-child(1) > button:nth-child(1) {
|
> div:nth-child(1) > button:nth-child(1) {
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: @surface1;
|
background-color: @surface1;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
> a:nth-child(2) {
|
> a:nth-child(2) {
|
||||||
@@ -267,11 +295,22 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#WACStatusBarContainer > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) {
|
#WACStatusBarContainer
|
||||||
|
> div:nth-child(1)
|
||||||
|
> div:nth-child(1)
|
||||||
|
> div:nth-child(1)
|
||||||
|
> div:nth-child(1)
|
||||||
|
> div:nth-child(1)
|
||||||
|
> div:nth-child(1)
|
||||||
|
> div:nth-child(1) {
|
||||||
background-color: @surface0;
|
background-color: @surface0;
|
||||||
border-top: 1px solid @surface1;
|
border-top: 1px solid @surface1;
|
||||||
> div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) {
|
> div:nth-child(1)
|
||||||
> div:nth-child(1) > button, div:nth-child(3) > button {
|
> div:nth-child(1)
|
||||||
|
> div:nth-child(1)
|
||||||
|
> div:nth-child(1) {
|
||||||
|
> div:nth-child(1) > button,
|
||||||
|
div:nth-child(3) > button {
|
||||||
color: @subtext0 !important;
|
color: @subtext0 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -279,7 +318,8 @@
|
|||||||
|
|
||||||
[data-unique-id="TellMeControl"] {
|
[data-unique-id="TellMeControl"] {
|
||||||
background: @surface0 !important;
|
background: @surface0 !important;
|
||||||
> div:nth-child(2) > label:nth-child(1), [data-icon-name="Search"] {
|
> div:nth-child(2) > label:nth-child(1),
|
||||||
|
[data-icon-name="Search"] {
|
||||||
color: @subtext0 !important;
|
color: @subtext0 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -288,29 +328,51 @@
|
|||||||
background-color: @surface0 !important;
|
background-color: @surface0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#UploadDocumentFromHomeTab, #pageSection2CompoundButtonSectionProps > div:nth-child(2) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > button {
|
#UploadDocumentFromHomeTab,
|
||||||
|
#pageSection2CompoundButtonSectionProps
|
||||||
|
> div:nth-child(2)
|
||||||
|
> div:nth-child(1)
|
||||||
|
> div:nth-child(1)
|
||||||
|
> div:nth-child(1)
|
||||||
|
> button {
|
||||||
background-color: @surface0 !important;
|
background-color: @surface0 !important;
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: @surface1 !important;
|
background-color: @surface1 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#MultilineRibbon-RibbonModeToggleDropdown, #FarPeripheralControls-ModeSwitcherDropdown, #MultilineRibbon-RibbonModeToggleDropdownsection-0-title, #MultilineRibbon-RibbonModeToggleDropdownsection-1-title {
|
#MultilineRibbon-RibbonModeToggleDropdown,
|
||||||
|
#FarPeripheralControls-ModeSwitcherDropdown,
|
||||||
|
#MultilineRibbon-RibbonModeToggleDropdownsection-0-title,
|
||||||
|
#MultilineRibbon-RibbonModeToggleDropdownsection-1-title {
|
||||||
background-color: @surface0 !important;
|
background-color: @surface0 !important;
|
||||||
> div:nth-child(1) > span:nth-child(2) {
|
> div:nth-child(1) > span:nth-child(2) {
|
||||||
color: @text !important;
|
color: @text !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.PageAdornmentNumberLabel, .FileMenuButtonSecondaryText, #New, #Open, #Recent {
|
.PageAdornmentNumberLabel,
|
||||||
color: @subtext0 !important
|
.FileMenuButtonSecondaryText,
|
||||||
|
#New,
|
||||||
|
#Open,
|
||||||
|
#Recent {
|
||||||
|
color: @subtext0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#Clipboard_MLR-label, #Font_MLR-label, #Paragraph_MLR-label, #Styles-label, #Editing-label, #Dictation-label, #GetAddins-label, #Editor-label {
|
#Clipboard_MLR-label,
|
||||||
color: @subtext0 !important
|
#Font_MLR-label,
|
||||||
|
#Paragraph_MLR-label,
|
||||||
|
#Styles-label,
|
||||||
|
#Editing-label,
|
||||||
|
#Dictation-label,
|
||||||
|
#GetAddins-label,
|
||||||
|
#Editor-label {
|
||||||
|
color: @subtext0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
span.NormalTextRun, .FileMenuButtonPrimaryText, [class="NewDocumentTemplateLabel"] {
|
span.NormalTextRun,
|
||||||
|
.FileMenuButtonPrimaryText,
|
||||||
|
[class="NewDocumentTemplateLabel"] {
|
||||||
color: @text !important;
|
color: @text !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -318,7 +380,10 @@
|
|||||||
path.OfficeIconColors_m22 {
|
path.OfficeIconColors_m22 {
|
||||||
fill: @text;
|
fill: @text;
|
||||||
}
|
}
|
||||||
path.OfficeIconColors_m24, path.OfficeIconColors_m25, path.OfficeIconColors_m26, path.OfficeIconColors_m2262 {
|
path.OfficeIconColors_m24,
|
||||||
|
path.OfficeIconColors_m25,
|
||||||
|
path.OfficeIconColors_m26,
|
||||||
|
path.OfficeIconColors_m2262 {
|
||||||
fill: @color;
|
fill: @color;
|
||||||
}
|
}
|
||||||
path.OfficeIconColors_m27 {
|
path.OfficeIconColors_m27 {
|
||||||
@@ -330,7 +395,8 @@
|
|||||||
path.OfficeIconColors_m212 {
|
path.OfficeIconColors_m212 {
|
||||||
fill: @peach;
|
fill: @peach;
|
||||||
}
|
}
|
||||||
path.OfficeIconColors_m220, path.OfficeIconColors_m221 {
|
path.OfficeIconColors_m220,
|
||||||
|
path.OfficeIconColors_m221 {
|
||||||
fill: @mauve;
|
fill: @mauve;
|
||||||
}
|
}
|
||||||
path.OfficeIconColors_m213 {
|
path.OfficeIconColors_m213 {
|
||||||
@@ -352,7 +418,6 @@
|
|||||||
fill: @text;
|
fill: @text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.UxDarkMode {
|
.UxDarkMode {
|
||||||
|
|||||||
Reference in new issue
Block a user