Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Join the Playtest on Steam Now: SpiritVale

Module:GameInfo/styles.css: Difference between revisions

From SpiritVale Wiki
No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
Tags: Mobile edit Mobile web edit
Line 953: Line 953:


   /* ========================================================================
   /* ========================================================================
     MOBILE BRIGHTNESS OVERRIDE (Citizen + MobileFrontend friendly)
     MOBILE: NO TRANSPARENCY (SOLID COLORS ONLY)
     Goal:
     - Card slightly brighter than before
      - Card background lighter
    - ALL bubbles/panels standardized to the same solid surface
      - ALL bubbles/panels standardized + brighter
    - Dividers/gridlines solid + visible
      - Dividers/borders more visible
    - Tabs more visible
      - Tabs more visible
     ======================================================================== */
     ======================================================================== */


   /* 1) LIGHTEN THE CARD ITSELF (this is the biggest difference vs desktop) */
   /* Card background (solid) */
   .sv-skill-card,
   .sv-skill-card,
   .sv-gi-card {
   .sv-gi-card {
     background-color: #162a4e !important;
     background-color: #162a4e !important;
     background-image:
     background-image: none !important;
      radial-gradient(1100px 520px at 50% -20%, rgba(120,190,255,0.34), transparent 58%),
      linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05)),
      radial-gradient(900px 360px at 50% 0, rgba(255,255,255,0.10), transparent 58%),
      linear-gradient(180deg, #162a4e, #122444) !important;


     border-color: rgba(255,255,255,0.16) !important;
     border: 1px solid #3f587a !important;
     box-shadow: 0 16px 34px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06) !important;
     box-shadow: 0 16px 34px #000000 !important;


     color: rgba(245,250,255,0.95) !important;
     color: #f5faff !important;
   }
   }


   /* 2) STANDARD MOBILE SURFACE FOR ALL “BUBBLES” */
   /* Standard surface for EVERY box/bubble/panel */
   .sv-skill-level,
   .sv-skill-level,
   .sv-scaling-row,
   .sv-scaling-row,
Line 987: Line 982:
   .sv-disclose > summary,
   .sv-disclose > summary,
   .sv-disclose-btn,
   .sv-disclose-btn,
   .sv-meta-icon,
   .sv-meta-card,
   .sv-meta-card {
   .sv-meta-icon {
     background: rgba(255,255,255,0.30) !important;
     background: #3a5476 !important;     /* ONE standardized surface color */
     border-color: rgba(255,255,255,0.24) !important;
     border: 1px solid #556f92 !important; /* ONE standardized border color */
     box-shadow:
     box-shadow: none !important;
      inset 0 1px 0 rgba(255,255,255,0.14),
      0 10px 18px rgba(0,0,0,0.16) !important;
   }
   }


   /* 3) DIVIDERS / GRIDLINES (make separation obvious) */
   /* Dividers / gridlines (solid) */
   .sv-skill-meta,
   .sv-skill-meta,
   .sv-scaling-col + .sv-scaling-col,
   .sv-scaling-col + .sv-scaling-col,
Line 1,005: Line 998:
   .sv-core-cell,
   .sv-core-cell,
   .sv-scaling-col {
   .sv-scaling-col {
     border-color: rgba(255,255,255,0.18) !important;
     border-color: #506a8d !important;
   }
   }


   /* 4) TABS: more “button” by default + stronger selected */
   /* Tabs: visible by default + stronger selected */
   .sv-tab {
   .sv-tab {
     background: rgba(255,255,255,0.28) !important;
     background: #355170 !important;
     color: rgba(250,252,255,0.95) !important;
     color: #f8fbff !important;
   }
   }


   .sv-tab[aria-selected="true"] {
   .sv-tab[aria-selected="true"] {
     background: rgba(255,255,255,0.38) !important;
     background: #4a6a8e !important;
     color: rgba(255,255,255,0.99) !important;
     color: #ffffff !important;
     box-shadow: inset 0 1px 0 rgba(255,255,255,0.16) !important;
     box-shadow: none !important;
   }
   }


   /* 5) LABELS: a touch brighter so the “second line” reads */
   /* Secondary label tone (solid) */
   .sv-scaling-label,
   .sv-scaling-label,
   .sv-core-label,
   .sv-core-label,
Line 1,026: Line 1,019:
   .sv-tip-pop-title,
   .sv-tip-pop-title,
   .sv-disclose-pop-title {
   .sv-disclose-pop-title {
     color: rgba(255,255,255,0.78) !important;
     color: #e6eef8 !important;
   }
   }


   /* 6) LEVEL SLIDER: brighten the track and ticks (your screenshot shows this too dark) */
   /* Slider: brighten everything (solid) */
   .sv-level-range--custom {
   .sv-level-range--custom {
     background: transparent !important;
     background: none !important;
     border: 0 !important;
     border: 0 !important;
   }
   }


   .sv-level-track {
   .sv-level-track {
     border: 1px solid rgba(255,255,255,0.22) !important;
     border: 1px solid #6b86aa !important;
     background:
     background: #4a6a8e !important; /* solid track */
      linear-gradient(180deg, rgba(255,255,255,0.38), rgba(255,255,255,0.26)),
      repeating-linear-gradient(
        to right,
        transparent 0,
        transparent 10.8%,
        rgba(255,255,255,0.68) 10.8%,
        rgba(255,255,255,0.68) 11.11%
      ) !important;
   }
   }


   .sv-level-fill {
   .sv-level-fill {
     background: linear-gradient(90deg, rgba(190,235,255,0.55), rgba(255,255,255,0.22)) !important;
     background: #8fd3ff !important; /* solid fill */
  }
 
  .sv-level-thumb {
    background: #ffffff !important;
    border: 1px solid #0a0f18 !important;
    box-shadow: none !important;
  }
 
  .sv-level-ticklabels {
    color: #eaf2fb !important;
   }
   }


   /* 7) Keep your existing mobile layout rules (unchanged structure) */
   /* ------------------------------------------------------------------------
    KEEP YOUR EXISTING MOBILE LAYOUT RULES (structure)
    ------------------------------------------------------------------------ */
 
   .sv-skill-head { grid-template-columns: 68px 1fr; gap: 10px; }
   .sv-skill-head { grid-template-columns: 68px 1fr; gap: 10px; }
   .sv-skill-icon { width: 68px; height: 68px; border-radius: 12px; }
   .sv-skill-icon { width: 68px; height: 68px; border-radius: 12px; }
   .sv-skill-title { font-size: 18px; }
   .sv-skill-title { font-size: 18px; }
   .sv-skill-desc { font-size: 15px; line-height: 1.28; }
   .sv-skill-desc { font-size: 15px; line-height: 1.28; }
Line 1,093: Line 1,092:
     grid-column: 1;
     grid-column: 1;
     grid-row: 1;
     grid-row: 1;
     border-right: 1px solid rgba(255,255,255,0.18);
     border-right: 1px solid #506a8d;
   }
   }


Line 1,099: Line 1,098:
     grid-column: 1;
     grid-column: 1;
     grid-row: 2;
     grid-row: 2;
     border-top: 1px solid rgba(255,255,255,0.18);
     border-top: 1px solid #506a8d;
     border-right: 1px solid rgba(255,255,255,0.18);
     border-right: 1px solid #506a8d;
   }
   }


Line 1,112: Line 1,111:


   .sv-core-grid { grid-template-columns: repeat(3, 1fr); }
   .sv-core-grid { grid-template-columns: repeat(3, 1fr); }
   .sv-core-cell { border-left: 0; border-top: 1px solid rgba(255,255,255,0.18); }
 
   .sv-core-cell { border-left: 0; border-top: 1px solid #506a8d; }
   .sv-core-cell:nth-child(-n+3) { border-top: 0; }
   .sv-core-cell:nth-child(-n+3) { border-top: 0; }
   .sv-core-cell:nth-child(3n+2),
   .sv-core-cell:nth-child(3n+2),
   .sv-core-cell:nth-child(3n+3) { border-left: 1px solid rgba(255,255,255,0.18); }
   .sv-core-cell:nth-child(3n+3) { border-left: 1px solid #506a8d; }


   .sv-tabs-list { grid-template-columns: repeat(2, 1fr); }
   .sv-tabs-list { grid-template-columns: repeat(2, 1fr); }
   .sv-tab { padding: 9px 6px; }
   .sv-tab { padding: 9px 6px; }
   .sv-tab + .sv-tab { border-left: 1px solid rgba(255,255,255,0.18); }
   .sv-tab + .sv-tab { border-left: 1px solid #506a8d; }
   .sv-tab:nth-child(2n+1) { border-left: 0; }
   .sv-tab:nth-child(2n+1) { border-left: 0; }
   .sv-tab:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.18); }
   .sv-tab:nth-child(n+3) { border-top: 1px solid #506a8d; }


   .sv-kw-grid { grid-template-columns: repeat(2, 1fr); }
   .sv-kw-grid { grid-template-columns: repeat(2, 1fr); }
   .sv-tab-pills { grid-template-columns: repeat(2, 1fr); }
   .sv-tab-pills { grid-template-columns: repeat(2, 1fr); }
   .sv-pill { font-size: 14px; }
   .sv-pill { font-size: 14px; }
Line 1,134: Line 1,136:
   .sv-level-ticklabels { max-width: 100%; }
   .sv-level-ticklabels { max-width: 100%; }
}
}


/* --------------------------------------------------------------------------
/* --------------------------------------------------------------------------