Skip to content

Commit

Permalink
2.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Aira-Sakuranomiya committed Aug 9, 2022
1 parent 06e6c8f commit 7fa421a
Show file tree
Hide file tree
Showing 10 changed files with 201 additions and 50 deletions.
4 changes: 2 additions & 2 deletions includes/TimelessTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ public function execute() {

//add banner [email protected]
$html .= Html::rawElement( 'div' , [ 'id' => 'siteBanner', 'class' => 'siteBanner' ],
Html::rawElement( 'div' , [ 'id' => 'topHeadingImage', 'class' => 'topHeadingImage', 'style' => 'background-image: url(/kawaii/banner/BG-2022031702.png);' ]).
Html::rawElement( 'div' , [ 'id' => 'topHeadingImage', 'class' => 'topHeadingImage', 'style' => 'background-image: url(/kawaii/banner/BG-20220705.png);' ]).
Html::rawElement( 'div' , [ 'id' => 'bannerItems', 'class' => 'bannerItems' ],
Html::rawElement( 'a', [ 'href' => '/' ],
Html::rawElement( 'img' , [ 'id' => 'topHeadingLogo', 'class' => 'topHeadingLogo', 'src' => '/kawaii/SeasonLogo-Spring.svg', 'style' => 'filter: drop-shadow(0 4px 5px #fb729980);' ]),
Html::rawElement( 'img' , [ 'id' => 'topHeadingLogo', 'class' => 'topHeadingLogo', 'src' => '/kawaii/SeasonLogo-SummerB2.svg', 'style' => 'filter: drop-shadow(0 4px 5px #4288d380);' ]),
),
).
'');
Expand Down
9 changes: 9 additions & 0 deletions resources/cssvariables.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,13 @@
--color-link-visited: var(--color-link-base);

--color-link-new: @link-red;

--brand-color: #fb7299;
--brand-background-light: #f1e7ea;
--brand-color-light: #f7b0c4;
--player-icon: #77828b;
--player-icon-hover: #52595e;
--player-hover-background: rgba(0, 0, 0, 0.05);

--border-color: #e2e2e2;
}
4 changes: 4 additions & 0 deletions resources/extensions/FlowThread.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
border-top: 1px solid rgba(0,0,0,0.11);
}

.comment-container > div:first-child {
border-top: 0;
}

.comment-avatar {
img {
border-radius: 3em;
Expand Down
4 changes: 2 additions & 2 deletions resources/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

149 changes: 121 additions & 28 deletions resources/screen-common.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ body {
.box;
background: @background;
padding: 1em @content-padding 3em;
box-shadow: 0 4px 7px 1px rgba( 193, 159, 168, 0.2 );
box-shadow: none;
}

@keyframes slide-in-parent {
Expand All @@ -49,6 +49,8 @@ body {
#mw-content-wrapper{
margin-top: 0.95em;
animation: slide-in-parent cubic-bezier(0.1,0.9,0.2,1) 0.6s 0.3s backwards;
box-shadow: 0 4px 7px 1px rgba( 193, 159, 168, 0.2 );
z-index: 1;
}

#bodyContent {
Expand Down Expand Up @@ -137,7 +139,7 @@ body {
background: #f1f2f3;
position: relative;
border: solid 1px transparent;
transition: background-color .3s;
//transition: background-color .3s;
margin-left: .5em;
margin-right: .5em;
border-radius: 8px;
Expand Down Expand Up @@ -174,6 +176,7 @@ body {
/* @noflip */
background-position: center 40%;
box-shadow: none;
font-size: inherit;
}

.suggestions {
Expand Down Expand Up @@ -493,20 +496,29 @@ a.mw-selflink {
}

.mw-editsection {
padding: 25px 5px 0 5px;
//padding: 25px 5px 0 5px;
padding: 0;
float: right;
//background-image: url(images/material-icons/edit_black_24dp.svg);
//background-repeat: no-repeat;
//background-position: left bottom;

a {
padding: 6px 12px;
margin-right: 0;
font-size: 15px;
color: @tools-color;
border-radius: 3em;
transition: all .2s;
.ca-icon-only();
.ca-icon-material( 'edit' );
padding: 0;
margin: 0;
display: inline-flex;
justify-content: center;
align-items: center;
align-content: center;
width: 40px;
height: 40px;
border-radius: 50%;

&:hover {
background: @hover;
Expand Down Expand Up @@ -1012,20 +1024,32 @@ body :not( :checked ) > .toctogglespan:after {
}

/* OOUI */
#mw-wrapper .oo-ui-dropdownWidget-handle .oo-ui-labelElement-label, #mw-wrapper .oo-ui-decoratedOptionWidget .oo-ui-labelElement-label {
line-height: 1.6em;
}
#mw-wrapper {
.oo-ui-dropdownWidget-handle .oo-ui-labelElement-label, #mw-wrapper .oo-ui-decoratedOptionWidget .oo-ui-labelElement-label {
line-height: 1.6em;
}

#mw-wrapper .oo-ui-buttonElement.oo-ui-labelElement > input.oo-ui-buttonElement-button, #mw-wrapper .oo-ui-buttonElement.oo-ui-labelElement > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
line-height: 1.6em;
}
.oo-ui-buttonElement.oo-ui-labelElement > input.oo-ui-buttonElement-button, #mw-wrapper .oo-ui-buttonElement.oo-ui-labelElement > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
line-height: 1.6em;
}

#mw-wrapper .oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not(.oo-ui-labelElement) > .oo-ui-buttonElement-button {
border: none;
}
.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not(.oo-ui-labelElement) > .oo-ui-buttonElement-button {
border: none;
}

#mw-wrapper .oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
.backdropfx()
.oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
.backdropfx()
}

.oo-ui-processDialog .oo-ui-actionWidget.oo-ui-iconElement > .oo-ui-buttonElement-button {
border-color: transparent !important;
box-shadow: none;
transform: none;
}

.oo-ui-processDialog-content .oo-ui-window-head, .oo-ui-processDialog-content .oo-ui-window-foot {
outline: 0;
}
}

/*SlideIn Animation*/
Expand Down Expand Up @@ -1069,6 +1093,43 @@ body :not( :checked ) > .toctogglespan:after {
}
}

@keyframes move-in-down {
0% {
opacity: 0;
-webkit-transform: translate(0, -5em);
transform: translate(0, -5em);
}

100% {
opacity: 1;
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
}

@keyframes float-in-up {
0% {
opacity: 0;
-webkit-transform: translate(0, 3em);
transform: translate(0, 3em);
pointer-events: none;
}

99% {
opacity: 1;
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
pointer-events: none;
}

100% {
opacity: 1;
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
pointer-events: auto;
}
}

@keyframes scale-in {
0% {
transform: scale(0);
Expand Down Expand Up @@ -1099,10 +1160,22 @@ body :not( :checked ) > .toctogglespan:after {
}
}

.move-in-up {
animation: move-in-up cubic-bezier(0.22, 0.58, 0.12, 0.98) 0.4s backwards;
}

.move-in-down {
animation: move-in-down cubic-bezier(0.22, 0.58, 0.12, 0.98) 0.4s backwards;
}

.oo-ui-floatableElement-floatable {
animation: float-in-up cubic-bezier(0.22, 0.58, 0.12, 0.98) 0.4s backwards !important;
}

.suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus {
display: block;
-webkit-animation: move-in-left cubic-bezier(0.22, 0.58, 0.12, 0.98) 0.4s backwards;
animation: move-in-left cubic-bezier(0.22, 0.58, 0.12, 0.98) 0.4s backwards;
animation: move-in-left cubic-bezier(0.22, 0.58, 0.12, 0.98) 0.4s backwards;
}

.mw-body {
Expand Down Expand Up @@ -1373,7 +1446,7 @@ ul#pagehistory {
}

/* Fonts Fix */
.diff-editfont-monospace .diff-addedline, .diff-editfont-monospace .diff-deletedline, .diff-editfont-monospace .diff-context, .mw-body .wikiEditor-ui .ace_editor, .ace_search_field, td.mw-enhanced-rc, .mw-enhanced-rc-time a {
.diff-editfont-monospace .diff-addedline, .diff-editfont-monospace .diff-deletedline, .diff-editfont-monospace .diff-context, .mw-body .wikiEditor-ui .ace_editor, .ace_search_field, td.mw-enhanced-rc, .mw-enhanced-rc-time a, .mw-enhanced-rc-time {
font-family: @fonts-mono;
}

Expand Down Expand Up @@ -1448,7 +1521,7 @@ ul#pagehistory {
opacity: 0;
border-bottom: 2px solid @blue;
transform: translate(-50%) scaleX(0);
transition: transform .5s cubic-bezier(0.1,0.9,0.2,1);
transition: transform .8s cubic-bezier(0.1,0.9,0.2,1);
}
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected .oo-ui-labelElement-label:after {
transform: translate(-50%) scaleX(1);
Expand Down Expand Up @@ -1569,15 +1642,15 @@ input#wpUploadFile {
}

#wpUploadFile::file-selector-button {
display: none !important;
display: none !important;
}

#wpUploadFile::-webkit-file-upload-button {
display: none !important;
display: none !important;
}

#wpUploadFile::-ms-browse {
display: none !important;
display: none !important;
}

/* Hide Links */
Expand Down Expand Up @@ -1625,18 +1698,17 @@ input#wpUploadFile {
margin-top: 3px;
opacity: 0.51;
}
.mw-collapsible-arrow.mw-collapsible-toggle-collapsed:hover:active, .mw-collapsible-arrow.mw-collapsible-toggle-expanded:active {
transform: rotate(90deg) translateX(3px);
}
.mw-collapsible-arrow.mw-collapsible-toggle-collapsed:hover {
transform: rotate(90deg);
opacity: 1;
.mw-collapsible-arrow.mw-collapsible-toggle-collapsed:active {
transform: translateY(3px);
}
.mw-collapsible-arrow.mw-collapsible-toggle-expanded {
transform: rotate(90deg);
margin-top: 3px;
opacity: 1;
}
.mw-collapsible-arrow.mw-collapsible-toggle-expanded:active {
transform: rotate(90deg) translateX(3px);
}
#mw-wrapper .mw-editfooter-toggler {
background-position: 18px center;
padding-left: 38px;
Expand Down Expand Up @@ -1705,3 +1777,24 @@ select {
#headerUpload {
display: none;
}

textarea {
font-family: @fonts;
}

/*Video.js Player*/

/*Remove the not aligned handle*/
/*.video-js .vjs-play-progress:before, .vjs-slider-vertical .vjs-volume-level:before {
content: none !important;
}*/

.video-js .vjs-control-bar button {
box-shadow: none !important;
border: 0 !important;
border-radius: 0 !important;
transform: none !important;
&:active {
background-color: var(--player-hover-background);
}
}
10 changes: 10 additions & 0 deletions resources/screen-desktop-mid.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#mw-content-block {
clear: both;
background-color: white;
}

#p-logo-text {
Expand All @@ -23,6 +24,10 @@
overflow: hidden;
}

#mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk {
box-shadow: none;
}

#mw-related-navigation > div.sidebar-chunk:first-child {
margin-top: 0;
}
Expand All @@ -31,6 +36,7 @@
float: right;
margin-left: -@column-left-size;
width: 100%;
box-shadow: none;
}

#mw-content,
Expand All @@ -55,3 +61,7 @@
#user-tools {
min-width: 12em;
}

#mw-content-container {
background-color: @background;
}
6 changes: 5 additions & 1 deletion resources/screen-desktop-small.less
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,8 @@ body {

#simpleSearch {
margin: 0 auto;
}
}

#mw-content-wrapper {
box-shadow: none;
}
Loading

0 comments on commit 7fa421a

Please sign in to comment.