diff --git a/tailwind/custom/asgaros.css b/tailwind/custom/asgaros.css new file mode 100644 index 0000000..89ffe00 --- /dev/null +++ b/tailwind/custom/asgaros.css @@ -0,0 +1,147 @@ +#af-wrapper{ + color: white; +} + +#forum-header, +#statistics, +#af-wrapper #profile-navigation, +#af-wrapper #profile-content + { + display: none !important; +} + + +#af-wrapper input, +#af-wrapper .forum-poster, +#af-wrapper .topic-poster, +#af-wrapper .member-last-seen, +#af-wrapper .editor-element, +#af-wrapper .content-container, +#af-wrapper .forum-post-header, +#af-wrapper #statistics-body, +#af-wrapper .statistics-element, +#af-wrapper #statistics-online-users, +#af-wrapper .editor-row, +#af-wrapper .editor-row-subject, +#af-wrapper .signature, +#af-wrapper .post-element, +#af-wrapper .post-wrapper, +#af-wrapper .forum-subforums, +#af-wrapper .uploaded-file img, +#af-wrapper .action-panel-option, +#af-wrapper .topic-sticky .topic-poster, +#af-wrapper #profile-layer, +#af-wrapper #profile-layer .pages-and-menu:first-of-type, +#af-wrapper #profile-content, +#af-wrapper #profile-content .profile-row, +#af-wrapper .history-element, +#af-wrapper #memberslist-filter, +#af-wrapper .content-element, +#af-wrapper .ad-forum, +#af-wrapper .ad-topic, +#af-wrapper .spoiler, +#af-wrapper .spoiler .spoiler-body, +#af-wrapper .report-element, +#af-wrapper .report-source, +#af-wrapper .report-content, +#af-wrapper .report-actions, +#af-wrapper #profile-content .profile-section-header, +#af-wrapper #poll-options, +#af-wrapper #poll-panel, +#af-wrapper #poll-panel #poll-headline, +#af-wrapper #poll-results .poll-result-bar, +#af-wrapper .post-reactions-summary .reaction-names, +#af-wrapper .title-element, +#af-wrapper #usergroups-filter { + + border-color: var(--color-alliance) + +} + +#af-wrapper .main-title, +#af-wrapper .highlight-admin, #af-wrapper .highlight-admin a,#af-wrapper a{ + color: var(--color-alliance)!important; +} + +#af-wrapper .title-element, +#af-wrapper #forum-header, +#af-wrapper #profile-header .background-avatar, +#af-wrapper #profile-navigation, +#af-wrapper input[type="radio"]:checked::before, +#af-wrapper .post-element, +#af-wrapper .post-wrapper, +#af-wrapper .content-container, +#af-wrapper .editor-element, +#af-wrapper #profile-header .background-contrast { + backdrop-filter: blur(5px); + background: unset !important; +} + +#af-wrapper #profile-header{ + border-width: 1px; +} + +#af-wrapper .button-normal{ + background-color: var(--color-alliance); + color: black !important; + border-color:unset!important; + margin-left: 4px!important; + margin-right: 4px!important; +} + +#af-wrapper img.avatar{ + border-radius:15px; + border:3px solid var(--color-alliance)!important; +} + +#af-wrapper .user-online .avatar{ + box-shadow: unset!important; +} + +#af-wrapper .post-author img.avatar{ + width: 90px; + height: 90px; +} + +#af-wrapper .post-message{ + color:white; +} + +#af-wrapper .forum-post-header-container{ + @apply bg-glass; +} + +#af-wrapper a.highlight-admin, .asgarosforum-widget .highlight-admin{ + color: var(--color-alliance)!important; + &:hover{ + color: white!important; + } +} + +h2.widgettitle{ + font-size: 1.25rem; + text-align: center; +} + +div.mce-panel,div.mce-toolbar-grp{ + background: rgba(0,0,0,0)!important; +} + +div.mce-statusbar,div.mce-toolbar-grp{ + border-bottom: 1px solid var(--color-alliance)!important; + border-top: 1px solid var(--color-alliance)!important; + +} +div.mce-floatpanel{ + background:white!important; +} + +.wp-editor-container{ + border-color:var(--color-alliance)!important; +} + +.mce-ico{ + color:var(--color-alliance)!important; +} + + diff --git a/tailwind/tailwind.config.js b/tailwind/tailwind.config.js index ad3e078..3f11032 100644 --- a/tailwind/tailwind.config.js +++ b/tailwind/tailwind.config.js @@ -78,5 +78,8 @@ module.exports = { { pattern: /text-([a-zA-Z]+)$/, variants: ['hover', 'group-hover', 'has-\[\:checked\]'] }, { pattern: /shadow-([a-zA-Z]+)$/ }, { pattern: /border-([a-zA-Z]+)$/ }, + { pattern: /bg-([a-zA-Z]+)-500$/, variants: ['has-\[\:checked\]'] }, + { pattern: /text-([a-zA-Z]+)-500$/, variants: ['hover', 'group-hover', 'has-\[\:checked\]'] }, + { pattern: /border-([a-zA-Z]+)-500$/, variants: ['hover', 'group-hover', 'has-\[\:checked\]'] }, ] }; diff --git a/tailwind/tailwind.css b/tailwind/tailwind.css index 610087f..74c51c2 100644 --- a/tailwind/tailwind.css +++ b/tailwind/tailwind.css @@ -36,6 +36,9 @@ @import "tailwindcss/utilities"; @import "./custom/utilities.css"; + +@import "./custom/asgaros.css"; + :root { --wowp-gap: 1em; --color-deathknight: #C41E3A; @@ -52,6 +55,7 @@ --color-warlock: #8788EE; --color-warrior: #C69B6D; --color-deepblue: #000032; + --color-alliance: #f7941e; --color-background: var(--color-deepblue); --color-glass:color-mix(in lch, transparent 75%, var(--color-background) ); } @@ -239,3 +243,6 @@ article{ color: black; } } + + + diff --git a/theme/components/raid-signup.php b/theme/components/raid-signup.php index c11826c..95269de 100644 --- a/theme/components/raid-signup.php +++ b/theme/components/raid-signup.php @@ -8,96 +8,111 @@ $id = "raidSignup_" . uniqid(); global $user; $chars = []; -if(!empty($this->character->user->ID)){ - $chars = $this->character->user->characters()->where('raidchar',true)->get(); +if (!empty($this->character->user->ID)) { + $chars = $this->character->user->characters()->where('raidchar', true)->get(); } -if(empty($chars) || empty($chars->first())){ +if (empty($chars) || empty($chars->first())) { $chars = [$this->character]; } + ?>