MediaWiki:Vector.css: Difference between revisions

From CoraTO Wiki - Official Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 59: Line 59:
   padding: var(--cora-vl-space-lg) 0;
   padding: var(--cora-vl-space-lg) 0;
   border-radius: var(--cora-vl-radius);
   border-radius: var(--cora-vl-radius);
  transform: translateX(-100%);
  transition: transform .3s ease;
  position: fixed;
  z-index: 1000;
  height: 100vh;
  width: 220px;
  overflow-y: auto;
  overflow-x: hidden;
}
}
/* Header top-right Menu */
/* Header top-right Menu */
Line 236: Line 244:
   SECTION 9: CONTENT SPACING [spacing, margins, desktop]
   SECTION 9: CONTENT SPACING [spacing, margins, desktop]
   ========================================================================== */
   ========================================================================== */
@media (min-width: 1025px) {
body.skin-vector-legacy #content,
  body.skin-vector-legacy #content,
body.skin-vector-legacy .mw-body {
  body.skin-vector-legacy .mw-body { margin-left: 220px; }
  margin-left: 0;
}
 
/* Show sidebar only when mobile-open class is present */
body.skin-vector-legacy #mw-panel.mobile-open {
  transform: translateX(0);
}
}


/* ==========================================================================
/* Add overlay when sidebar is open */
  SECTION 10: RESPONSIVENESS [responsive, media-queries, mobile]
body.sidebar-open::before {
  ========================================================================== */
   content: '';
@media (max-width: 1024px) {
  position: fixed;
   body.skin-vector-legacy #content,
  top: 0; left: 0; right: 0; bottom: 0;
   body.skin-vector-legacy .mw-body { margin-left: 190px; }
  background: rgba(0, 0, 0, 0.5);
   z-index: 999;
  opacity: 1;
  transition: opacity .3s ease;
}
}


Line 253: Line 269:
   ========================================================================== */
   ========================================================================== */
.mobile-hamburger-menu {
.mobile-hamburger-menu {
   display: none;
   display: flex;
   position: fixed;
   position: fixed;
   top: 20px;
   top: 20px;
Line 290: Line 306:


@media (max-width: 768px) {
@media (max-width: 768px) {
  /* Show hamburger menu on mobile */
  .mobile-hamburger-menu { display: flex; }
 
  /* Sidebar mobile behavior */
  body.skin-vector-legacy #mw-panel {
    transform: translateX(-100%);
    transition: transform .3s ease;
    position: fixed;
    z-index: 1000;
    height: 100vh;
    width: 220px;
    overflow-y: auto;
    overflow-x: hidden;
  }
  body.skin-vector-legacy #mw-panel.mobile-open { transform: translateX(0); }
  body.skin-vector-legacy #content,
  body.skin-vector-legacy .mw-body { margin-left: 0; }
 
  /* Add overlay when sidebar is open */
  body.sidebar-open::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 1;
    transition: opacity .3s ease;
  }


  /* Sidebar peek tab with image (Vector Legacy only) */
}
  body.skin-vector-legacy #p-logo { position: absolute; top: 12px; left: calc(100% + 12px); margin: 0; z-index: 1001; }
 
  body.skin-vector-legacy #p-logo a {
/* Sidebar peek tab with image (Vector Legacy only) */
    width: 56px; height: 56px; padding: 0; display: block;
body.skin-vector-legacy #p-logo {  
    border-radius: var(--cora-vl-radius-sm);
  position: absolute;  
    background-color: var(--cora-vl-bg-2);
  top: 12px;  
    background-repeat: no-repeat; background-position: center; background-size: contain;
  left: calc(100% + 12px);  
    border: 1px solid var(--cora-vl-border-2);
  margin: 0;  
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.22);
  z-index: 1001;  
  }
}
  /* When sidebar is opened, return the logo to the panel */
 
  body.skin-vector-legacy #mw-panel.mobile-open #p-logo {
body.skin-vector-legacy #p-logo a {
    position: relative; left: auto; top: auto;
  width: 56px;  
    margin: 0 var(--cora-vl-space-md) var(--cora-vl-space-lg);
  height: 56px;  
  }
  padding: 0;  
  body.skin-vector-legacy #mw-panel.mobile-open #p-logo a {
  display: block;
    width: auto; height: auto; padding: var(--cora-vl-space-md);
  border-radius: var(--cora-vl-radius-sm);
    background-size: contain;
  background-color: var(--cora-vl-bg-2);
  }
  background-repeat: no-repeat;  
  background-position: center;  
  background-size: contain;
  border: 1px solid var(--cora-vl-border-2);
  box-shadow: 0 8px 20px rgba(255, 107, 157, 0.22);
}
 
/* When sidebar is opened, return the logo to the panel */
body.skin-vector-legacy #mw-panel.mobile-open #p-logo {
  position: relative;  
  left: auto;  
  top: auto;
  margin: 0 var(--cora-vl-space-md) var(--cora-vl-space-lg);
}
 
body.skin-vector-legacy #mw-panel.mobile-open #p-logo a {
  width: auto;  
  height: auto;  
  padding: var(--cora-vl-space-md);
  background-size: contain;
}
}



Revision as of 04:46, 17 September 2025

/* ========================================
   CORA TO WIKI - VECTOR LEGACY SPECIFIC STYLES
   Styles specific to Vector Legacy 2010 skin
   ======================================== */

/* NAVIGATION MENU - TABLE OF CONTENTS
   ----------------------------------------
   SECTION 1: VARIABLES [search: variables, colors, spacing, css-vars]
   SECTION 2: SIDEBAR STYLES [search: sidebar, mw-panel, navigation]
   SECTION 3: LOGO AREA [search: logo, p-logo, wiki-logo]
   SECTION 4: PORTALS [search: portals, vector-menu-portal]
   SECTION 5: HEADINGS [search: headings, collapsible, vector-menu-heading]
   SECTION 6: INDICATORS [search: indicators, open-close, arrows]
   SECTION 7: LISTS & CONTENT [search: lists, collapsible-content, menu-items]
   SECTION 8: SCROLLBAR [search: scrollbar, webkit-scrollbar]
   SECTION 9: CONTENT SPACING [search: spacing, margins, desktop]
   SECTION 10: RESPONSIVENESS [search: responsive, media-queries, mobile]
   SECTION 11: MOBILE MENU [search: hamburger, mobile-menu, sidebar-mobile]
   SECTION 12: HEADER TABS [search: header, tabs, vector-tabs]
   SECTION 13: USER MENU [search: user-menu, personal-menu, account]
   ---------------------------------------- */

/* ==========================================================================
   SECTION 1: VARIABLES (UNIFIED) [variables, colors, spacing, css-vars]
   ========================================================================== */
:root {
  /* Sidebar */
  --cora-vl-primary: var(--primary-pink, #ff6b9d);
  --cora-vl-accent: var(--accent-pink, #ff8fb0);
  --cora-vl-bg: rgba(255,255,255,0.96);
  --cora-vl-bg-2: #fff0f7;
  --cora-vl-border: rgba(255, 107, 157, 0.25);
  --cora-vl-border-2: #f7d6e6;
  --cora-vl-shadow: 0 6px 20px rgba(255, 107, 157, 0.15);
  --cora-vl-radius: 14px;
  --cora-vl-radius-sm: 10px;
  --cora-vl-space-xs: 4px;
  --cora-vl-space-sm: 8px;
  --cora-vl-space-md: 12px;
  --cora-vl-space-lg: 18px;

  /* Header tabs */
  --cora-hd-radius: 10px;
  --cora-hd-shadow: 0 2px 8px rgba(0,0,0,0.05);
  --cora-hd-shadow-hover: 0 8px 30px rgba(255, 107, 157, 0.3);
  --cora-hd-border: rgba(255, 107, 157, 0.22);
  --cora-hd-grad: linear-gradient(135deg, #ff6b9d 0%, #ffc3e0 100%);
}

/* ==========================================================================
   SECTION 2: VECTOR LEGACY SIDEBAR STYLES [sidebar, mw-panel, navigation]
   ========================================================================== */


body.skin-vector-legacy #mw-panel {
  background: rgba(255, 255, 255, 0.8);
  border-right: 2px solid var(--cora-vl-border);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
  padding: var(--cora-vl-space-lg) 0;
  border-radius: var(--cora-vl-radius);
  transform: translateX(-100%);
  transition: transform .3s ease;
  position: fixed;
  z-index: 1000;
  height: 100vh;
  width: 220px;
  overflow-y: auto;
  overflow-x: hidden;
}
/* Header top-right Menu */
body.skin-vector-legacy 
#pt-userpage a,
#pt-mytalk a,
#pt-preferences a,
#pt-watchlist a,
#pt-mycontris a,
#pt-logout a {
  color: #ff73a9 !important;
  text-decoration: none !important;
  display: inline-block !important;
  padding: 10px !important;
  border-radius: 10px !important;
  border-left: 3px solid transparent !important;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, padding .2s ease !important;
}
body.skin-vector-legacy 
#pt-userpage a:hover,
#pt-mytalk a:hover,
#pt-preferences a:hover,
#pt-watchlist a:hover,
#pt-mycontris a:hover,
#pt-logout a:hover {

  color: #fff !important;
  background-color: var(--cora-vl-primary) !important;
  border-color: var(--cora-vl-primary) !important;
  padding: 7px 9px !important;
  border-radius: 10px !important;
  border-left: 3px solid transparent !important;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, padding .2s ease !important;
}

/* ==========================================================================
   SECTION 3: LOGO AREA [logo, p-logo, wiki-logo]
   ========================================================================== */
body.skin-vector-legacy #p-logo { margin: 0 var(--cora-vl-space-md) var(--cora-vl-space-lg); }
body.skin-vector-legacy #p-logo a {
  display: block;
  background-color: var(--cora-vl-bg-2);
  border: 1px solid var(--cora-vl-border-2);
  border-radius: var(--cora-vl-radius);
  padding: var(--cora-vl-space-md);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body.skin-vector-legacy #p-logo a:hover {
  transform: translateY(-2px);
  border-color: var(--cora-vl-primary);
  box-shadow: 0 8px 24px rgba(255, 107, 157, 0.18);
}

/* ==========================================================================
   SECTION 4: PORTALS [portals, vector-menu-portal]
   ========================================================================== */
body.skin-vector-legacy #mw-panel .vector-menu-portal,
body.skin-vector-legacy #mw-panel .portal {
  margin: 1px;
  border: 1px solid var(--cora-vl-border-2);
  border-radius: var(--cora-vl-radius);
  background: #fff;
  overflow: hidden;
}

/* ==========================================================================
   SECTION 5: HEADINGS [headings, collapsible, vector-menu-heading]
   ========================================================================== */
body.skin-vector-legacy #mw-panel .vector-menu-portal .vector-menu-heading,
body.skin-vector-legacy #mw-panel .portal h3 {
  margin: 0;
  padding: 10px 12px;
  font-size: 0.92em;
  font-weight: 700;
  letter-spacing: .3px;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--cora-vl-primary), var(--cora-vl-accent));
  border-bottom: 1px solid var(--cora-vl-border-2);
  text-shadow: 0 1px 2px rgb(0, 0, 0) !important;
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
}
body.skin-vector-legacy #mw-panel .vector-menu-portal .vector-menu-heading:hover,
body.skin-vector-legacy #mw-panel .portal h3:hover {
  background: linear-gradient(135deg, var(--cora-vl-accent), var(--cora-vl-primary));
  transform: translateY(-1px);
}

/* ==========================================================================
   SECTION 6: INDICATORS [indicators, open-close, arrows]
   ========================================================================== */
body.skin-vector-legacy #mw-panel .vector-menu-portal .vector-menu-heading::after,
body.skin-vector-legacy #mw-panel .portal h3::after {
  content: '▼';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  transition: transform 0.3s ease;
}
body.skin-vector-legacy #mw-panel .vector-menu-portal.collapsed .vector-menu-heading::after,
body.skin-vector-legacy #mw-panel .portal.collapsed h3::after {
  transform: translateY(-50%) rotate(-90deg);
}

/* ==========================================================================
   SECTION 7: LISTS & CONTENT [lists, collapsible-content, menu-items]
   ========================================================================== */
body.skin-vector-legacy #mw-panel .vector-menu-content ul,
body.skin-vector-legacy #mw-panel .portal .body ul {
  list-style: none;
  margin: 0;
  padding: var(--cora-vl-space-xs) 0;
}

body.skin-vector-legacy #mw-panel .vector-menu-content,
body.skin-vector-legacy #mw-panel .portal .body {
  max-height: none;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 1;
}

/* Collapsed state */
body.skin-vector-legacy #mw-panel .vector-menu-portal.collapsed .vector-menu-content,
body.skin-vector-legacy #mw-panel .portal.collapsed .body {
  max-height: 0 !important;
  opacity: 0;
  padding: 0;
}
body.skin-vector-legacy #mw-panel .vector-menu-portal.collapsed,
body.skin-vector-legacy #mw-panel .portal.collapsed { margin-bottom: var(--cora-vl-space-sm); }
body.skin-vector-legacy #mw-panel .vector-menu-portal.collapsed .vector-menu-heading,
body.skin-vector-legacy #mw-panel .portal.collapsed h3 {
  border-bottom: none;
  border-radius: var(--cora-vl-radius);
}

/* Items and links */
body.skin-vector-legacy #mw-panel .vector-menu-content li,
body.skin-vector-legacy #mw-panel .portal .body li { border-bottom: 1px solid #f3e2ea; }
body.skin-vector-legacy #mw-panel .vector-menu-content li:last-child,
body.skin-vector-legacy #mw-panel .portal .body li:last-child { border-bottom: 0; }

body.skin-vector-legacy #mw-panel .vector-menu-content a,
body.skin-vector-legacy #mw-panel .portal .body a {
  color: var(--cora-vl-primary);
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 10px;
  border-left: 3px solid transparent;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, padding .2s ease;
}
body.skin-vector-legacy #mw-panel .vector-menu-content a:hover,
body.skin-vector-legacy #mw-panel .portal .body a:hover {
  
  color: #fa4abf ;
  background: #fff5fb;
  border-left-color: var(--cora-vl-primary);
  padding-left: 18px;
}

/* ==========================================================================
   SECTION 8: SCROLLBAR [scrollbar, webkit-scrollbar]
   ========================================================================== */
body.skin-vector-legacy #mw-panel::-webkit-scrollbar { width: 6px; }
body.skin-vector-legacy #mw-panel::-webkit-scrollbar-track { background: #ffe6f0; }
body.skin-vector-legacy #mw-panel::-webkit-scrollbar-thumb { background: var(--cora-vl-accent); border-radius: 3px; }
body.skin-vector-legacy #mw-panel::-webkit-scrollbar-thumb:hover { background: var(--cora-vl-primary); }

/* ==========================================================================
   SECTION 9: CONTENT SPACING [spacing, margins, desktop]
   ========================================================================== */
body.skin-vector-legacy #content,
body.skin-vector-legacy .mw-body {
  margin-left: 0;
}

/* Show sidebar only when mobile-open class is present */
body.skin-vector-legacy #mw-panel.mobile-open {
  transform: translateX(0);
}

/* Add overlay when sidebar is open */
body.sidebar-open::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 1;
  transition: opacity .3s ease;
}

/* ==========================================================================
   SECTION 11: MOBILE MENU [hamburger, mobile-menu, sidebar-mobile]
   ========================================================================== */
.mobile-hamburger-menu {
  display: flex;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1002;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--cora-vl-primary), var(--cora-vl-accent));
  border: none;
  border-radius: var(--cora-vl-radius);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  box-shadow: var(--cora-vl-shadow);
  transition: transform .3s ease, box-shadow .3s ease;
  padding: 0;
}
.mobile-hamburger-menu:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 157, 0.3);
}
.mobile-hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}
.mobile-hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.mobile-hamburger-menu.active span:nth-child(2) { opacity: 0; }
.mobile-hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

@media (max-width: 768px) {

}

/* Sidebar peek tab with image (Vector Legacy only) */
body.skin-vector-legacy #p-logo { 
  position: absolute; 
  top: 12px; 
  left: calc(100% + 12px); 
  margin: 0; 
  z-index: 1001; 
}

body.skin-vector-legacy #p-logo a {
  width: 56px; 
  height: 56px; 
  padding: 0; 
  display: block;
  border-radius: var(--cora-vl-radius-sm);
  background-color: var(--cora-vl-bg-2);
  background-repeat: no-repeat; 
  background-position: center; 
  background-size: contain;
  border: 1px solid var(--cora-vl-border-2);
  box-shadow: 0 8px 20px rgba(255, 107, 157, 0.22);
}

/* When sidebar is opened, return the logo to the panel */
body.skin-vector-legacy #mw-panel.mobile-open #p-logo {
  position: relative; 
  left: auto; 
  top: auto;
  margin: 0 var(--cora-vl-space-md) var(--cora-vl-space-lg);
}

body.skin-vector-legacy #mw-panel.mobile-open #p-logo a {
  width: auto; 
  height: auto; 
  padding: var(--cora-vl-space-md);
  background-size: contain;
}

/* High contrast fallback */
@media (prefers-contrast: more) {
  body.skin-vector-legacy #mw-panel .vector-menu-content a:hover { text-decoration: underline; }
}

/* ==========================================================================
   SECTION 12: HEADER TABS [header, tabs, vector-tabs]
   ========================================================================== */
#p-views{
 background: #fff !important;
}
#searchInput,
Input::placeholder{
color: var(--primary-pink) !important;
}

/* Base styling for all buttons */
#ca-view a,
#ca-viewsource a,
#ca-ve-edit a,
#ca-edit a,
#ca-history a,
#p-cactions .vector-menu-heading ,
#ca-delete a,
#ca-move a,
#ca-protect a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 12px !important;
  margin: 4px 6px 0 0 !important;
  border-radius: var(--cora-hd-radius) !important;
  background: rgba(255,255,255,0.92) !important;
  color: var(--primary-pink, #ff6b9d) !important;
  border: 2px solid transparent !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: var(--cora-hd-shadow) !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease !important;
}

/* Hide text while keeping link clickable */
#ca-watch a,
#ca-unwatch a {
  font-size: 0;        /* esconde o texto sem sumir com o botão */
  width: 24px;         /* largura do botão */
  height: 24px;        /* altura do botão */
  padding: 0;          /* remove padding extra */
  border-radius: 50%;  /* deixa redondo  */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* Empty Star Icon */
#ca-watch a {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background-image: url("https://mewsie.world/CoraTOWiki/images/2/28/EmptyPinkStar.png");
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: var(--cora-hd-radius) !important;
}

/* Full Star Icon  */
#ca-unwatch a {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background-image: url("https://mewsie.world/CoraTOWiki/images/c/cc/FullPinkStar.png");
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: var(--cora-hd-radius) !important;
}

/* Hover */
#ca-view a:hover,
#ca-viewsource a:hover,
#ca-edit a:hover,
#ca-history a:hover,
#ca-watch a:hover,
#ca-unwatch a:hover,
#p-cactions .vector-menu-heading:hover,
#ca-delete a:hover,
#ca-move a:hover,
#ca-protect a:hover {
  transform: translateY(-2px) !important;
  color: var(--dark-pink, #d63384) !important;
  border-color: var(--cora-hd-border) !important;
  box-shadow: var(--cora-hd-shadow-hover) !important;
}


/* Active button styling (e.g. current tab) */
#ca-view.selected a,
#ca-viewsource.selected a,
#ca-edit.selected a,
#ca-ve-edit.selected a,
#ca-history.selected a,
#ca-watch.selected a,
#ca-unwatch.selected a,
#ca-more.selected a {
  background: var(--cora-hd-grad) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: var(--cora-hd-shadow-hover) !important;
}

/* Remove mw Buttons */
#pt-anontalk,
#pt-anoncontribs,
#ca-talk,
#ca-nstab-main,
#ca-nstab-mediawiki {
  display: none !important;
}

/* Remove mw header LI background and border */
#ca-talk,
#ca-nstab-main,
#ca-nstab-mediawiki,
#ca-view,
#ca-viewsource,
#ca-edit,
#ca-ve-edit,
#ca-history,
#ca-watch,
#ca-unwatch,
#ca-more {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 4px !important; /* espaço entre os botões */
  box-shadow: none !important;
}

----------------------
/* Container style */
body.skin-vector-legacy #p-personal {
  position: relative;
  max-width: 220px;
  font-family: sans-serif;
  background: var(--cora-vl-bg);
  border: 1px solid var(--cora-vl-border);
  border-radius: var(--cora-vl-radius);
  box-shadow: var(--cora-vl-shadow);
  padding: 10px;
}

/* User Menu Collapsible Styles */
body.skin-vector-legacy .user-menu-container {
  position: fixed;
  top: 120px;
  right: 0;
  background: transparent;
  z-index: 1000;
  overflow: visible;
  display: flex;
  flex-direction: row;
}

/* ==========================================================================
   SECTION 13: USER MENU [user-menu, personal-menu, account]
   ========================================================================== */
body.skin-vector-legacy .user-menu-header {
   display: flex;
  align-items: center;
  padding: 6px 12px ;
  top: 2;               
  right: 0; 
  position: fixed;
  color: var(--cora-vl-primary);
  background: #fff;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s ease;
  border-radius: var(--cora-vl-radius) 0 0 var(--cora-vl-radius);
  white-space: nowrap;
  font-weight: bold;
  height: auto;
  writing-mode: horizontal-tb;
  box-shadow: var(--cora-vl-shadow);
  border: 1px solid var(--cora-vl-border);
  flex-direction: row;
}

body.skin-vector-legacy .user-menu-header:hover {
  background: #ffebf5;
}

body.skin-vector-legacy .user-menu-header::after {
  content: "";
  display: inline-block; 
  width: 25px;           
  height: 25px;          
  font-weight: bold;
  background-image: url("https://mewsie.world/CoraTOWiki/images/9/97/LeftArrow.png");
  background-size: contain;  
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

body.skin-vector-legacy .user-menu-container.expanded .user-menu-header::after {
  transform: rotate(180deg);
}

body.skin-vector-legacy .user-menu-content {
  position: absolute;
  top: 0;
  right: 100%;
  background: var(--cora-vl-bg);
  border: 1px solid var(--cora-vl-border);
  border-radius: var(--cora-vl-radius);
  box-shadow: var(--cora-vl-shadow);
  padding: 10px;
  width: 0;
  overflow: hidden;
  opacity: 0;
  transition: width 0.4s ease, opacity 0.3s ease;
  display: flex;
  flex-direction: column;
}

body.skin-vector-legacy .user-menu-container.expanded .user-menu-content {
  width: 180px;
  opacity: 1;
}

body.skin-vector-legacy .user-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.skin-vector-legacy .user-menu-list li {
  margin: 5px 0;
  white-space: nowrap;
  border-bottom: 1px solid #f3e2ea;
}

body.skin-vector-legacy .user-menu-list li:last-child {
  border-bottom: none;
}

body.skin-vector-legacy .user-menu-list a {
  display: block;
  color: var(--cora-vl-primary);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: var(--cora-vl-radius-sm);
  border-left: 3px solid transparent;
  transition: background 0.3s ease, padding-left 0.3s ease, color 0.3s ease;
}

body.skin-vector-legacy .user-menu-list a:hover {
  background: #fff5fb;
  color: #fa4abf;
  padding-left: 18px;
  border-left-color: var(--cora-vl-primary);
}

/* Adjust the position of menu items in the vertical menu */
body.skin-vector-legacy .user-menu-content li {
  margin: 5px 0;
  white-space: nowrap;
}

/* Item styles */
body.skin-vector-legacy #p-personal li {
  margin: 4px 0;
  border-bottom: 1px solid #f3e2ea;
}

body.skin-vector-legacy #p-personal li:last-child {
  border-bottom: none;
}

/* Link styles */
body.skin-vector-legacy #p-personal a {
  display: block;
  color: var(--cora-vl-primary);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--cora-vl-radius-sm);
  border-left: 3px solid transparent;
  transition: background 0.3s ease, padding-left 0.3s ease, color 0.3s ease;
}

body.skin-vector-legacy #p-personal a:hover {
  background: #fff5fb;
  color: #fa4abf;
  padding-left: 18px;
  border-left-color: var(--cora-vl-primary);
}