Plugin Directory

Changeset 3463910


Ignore:
Timestamp:
02/18/2026 01:03:23 AM (3 weeks ago)
Author:
lbell
Message:

v1.3.0

Location:
hydrogen-directory/trunk
Files:
2 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • hydrogen-directory/trunk/blocks/directory/editor.css

    r3429812 r3463910  
    3434/* Style the preview content to look good in editor */
    3535.hydir-block-preview h2 {
    36   font-size: 1.3em;
    3736  margin: 0 0 12px 0;
    3837  padding-bottom: 8px;
     
    7170.hydir-block-preview .hydir-card-content h4 {
    7271  margin: 0 0 4px 0;
    73   font-size: 1em;
    7472}
    7573
    7674.hydir-block-preview .hydir-card-content h5 {
    7775  margin: 0 0 8px 0;
    78   font-size: 0.85em;
    79   color: #666;
    80   font-weight: normal;
    8176}
    8277
    8378.hydir-block-preview .hydir-card-content p {
    84   font-size: 0.9em;
    8579  margin: 0 0 8px 0;
    86   color: #444;
    8780}
    8881
     
    121114.hydir-block-preview .hydir-list-content h4 {
    122115  margin: 0 0 4px 0;
    123   font-size: 1em;
    124116}
    125117
    126118.hydir-block-preview .hydir-list-content p {
    127119  margin: 4px 0;
    128   font-size: 0.9em;
    129   color: #444;
    130120}
    131121
  • hydrogen-directory/trunk/hydrogen-directory.php

    r3429812 r3463910  
    44Plugin URI: https://github.com/lbell/hydrogen-directory
    55Description: The simplest, lightest way to manage and display a directory of anything.
    6 Version: 1.2.1
     6Version: 1.3.0
    77Author: LBell
    88Author URI: http://lorenbell.com
     
    2828if (! defined('ABSPATH')) exit;
    2929
    30 define('HYDIR_VER', "1.2.1");
     30define('HYDIR_VER', "1.3.0");
    3131define('HYDIR_DIR', plugin_dir_path(__FILE__)); // Trailing slash
    3232define('HYDIR_TEMPLATE_DIR', HYDIR_DIR . 'templates/');
  • hydrogen-directory/trunk/public/css/hydir.css

    r3429812 r3463910  
    22   Hydrogen Directory - Core Styles
    33   
    4    CSS Custom Properties for easy theme customization.
    5    Override these in your theme to customize the look.
     4   Structural layout styles only. Typography, font sizes, and colors are
     5   intentionally left to the user's theme.
    66   ========================================================================== */
    77
    88:root {
    9   /* Colors - inherit from theme when possible */
    10   --hydir-text-color: inherit;
    11   --hydir-text-muted: #6b7280;
    12   --hydir-link-color: inherit;
    13   --hydir-link-hover: inherit;
     9  /* Colors - structural only */
    1410  --hydir-border-color: rgba(0, 0, 0, 0.1);
    15   --hydir-bg-color: transparent;
    16 
    17   /* Typography */
    18   --hydir-font-family: inherit;
    19   --hydir-font-size-base: 1rem;
    20   --hydir-font-size-sm: 0.875rem;
    21   --hydir-font-size-lg: 1.125rem;
    22   --hydir-line-height: 1.6;
    2311
    2412  /* Spacing */
     
    6755}
    6856
    69 .prog-list-title {
    70   font-size: 1.3em;
    71   font-weight: 600;
    72 }
    73 
    7457.img-fluid {
    7558  max-width: 100%;
     
    8669
    8770.hydir-group h2 {
    88   font-size: 1.5em;
    89   font-weight: 600;
    9071  margin-bottom: var(--hydir-spacing-lg);
    9172  padding-bottom: var(--hydir-spacing-sm);
     
    166147  object-fit: cover;
    167148  border-radius: var(--hydir-radius-md);
    168   transition: transform var(--hydir-transition-base),
     149  transition:
     150    transform var(--hydir-transition-base),
    169151    box-shadow var(--hydir-transition-base);
    170152}
     
    182164.hydir-list-content h4.name {
    183165  margin: 0 0 var(--hydir-spacing-sm) 0;
    184   font-size: var(--hydir-font-size-lg);
    185   font-weight: 600;
    186   line-height: 1.3;
    187166}
    188167
    189168.hydir-list-content h4.name a {
    190   color: var(--hydir-link-color);
    191169  text-decoration: none;
    192170  transition: opacity var(--hydir-transition-fast);
     
    199177.hydir-list-content p {
    200178  margin: 0;
    201   line-height: var(--hydir-line-height);
    202   color: var(--hydir-text-color);
    203179}
    204180
     
    219195   Single Entry Content
    220196   ========================================================================== */
    221 
    222 .hydir-entry-content {
    223   line-height: var(--hydir-line-height);
    224 }
    225197
    226198.hydir-entry-content .hydir-single-img {
     
    254226  justify-content: center;
    255227  padding: var(--hydir-spacing-sm) var(--hydir-spacing-lg);
    256   font-family: var(--hydir-font-family);
    257   font-size: var(--hydir-font-size-sm);
    258   font-weight: 500;
    259   line-height: 1;
    260228  text-decoration: none;
    261229  border: 1px solid var(--hydir-border-color);
    262230  border-radius: var(--hydir-radius-sm);
    263231  background: transparent;
    264   color: var(--hydir-text-color);
    265232  cursor: pointer;
    266   transition: background-color var(--hydir-transition-fast),
     233  transition:
     234    background-color var(--hydir-transition-fast),
    267235    border-color var(--hydir-transition-fast),
    268236    transform var(--hydir-transition-fast);
     
    305273.hydir-entry-header .entry-title {
    306274  margin: 0 0 var(--hydir-spacing-sm) 0;
    307   font-size: 2.25rem;
    308   font-weight: 700;
    309   line-height: 1.2;
    310275}
    311276
    312277.hydir-single-position {
    313278  margin: 0;
    314   font-size: var(--hydir-font-size-lg);
    315   color: var(--hydir-text-muted);
    316   font-weight: 400;
    317279}
    318280
     
    333295  padding-top: var(--hydir-spacing-md);
    334296  border-top: 1px solid var(--hydir-border-color);
    335   font-size: var(--hydir-font-size-sm);
    336297}
    337298
     
    345306.hydir-single-main .nav-subtitle {
    346307  display: block;
    347   font-size: var(--hydir-font-size-sm);
    348   color: var(--hydir-text-muted);
    349   text-transform: uppercase;
    350   letter-spacing: 0.05em;
    351308  margin-bottom: var(--hydir-spacing-xs);
    352 }
    353 
    354 .hydir-single-main .nav-title {
    355   font-weight: 500;
    356 }
    357 
    358 /* ==========================================================================
    359    Position / Job Title Styling
    360    ========================================================================== */
    361 
    362 .hydir-position {
    363   color: var(--hydir-text-muted);
    364   font-weight: 400;
    365 }
    366 
    367 .hydir-position-separator {
    368   color: var(--hydir-text-muted);
    369309}
    370310
     
    376316  display: inline-block;
    377317  margin-right: var(--hydir-spacing-sm);
    378   color: var(--hydir-text-muted);
    379318}
    380319
     
    385324.hydir-list-description {
    386325  margin-top: var(--hydir-spacing-sm);
    387   line-height: var(--hydir-line-height);
    388326}
    389327
     
    448386  }
    449387
    450   .hydir-entry-header .entry-title {
    451     font-size: 1.75rem;
    452   }
    453 
    454388  .hydir-single-figure {
    455389    float: none;
     
    472406    --hydir-spacing-lg: 1rem;
    473407    --hydir-spacing-xl: 1.5rem;
    474   }
    475 
    476   .hydir-entry-header .entry-title {
    477     font-size: 1.5rem;
    478408  }
    479409
  • hydrogen-directory/trunk/public/css/list-card.css

    r3429803 r3463910  
    22   Hydrogen Directory - Card Styles
    33   
    4    Styles for the card-style directory entries.
    5    Uses CSS Custom Properties defined in hydir.css
     4   Structural card and list layout styles only. Typography and colors are
     5   intentionally left to the user's theme.
    66   ========================================================================== */
    77
    88:root {
    99  /* Card-specific variables */
    10   --hydir-card-bg: #ffffff;
    1110  --hydir-card-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    1211  --hydir-card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
     
    5958  flex-direction: column;
    6059  word-wrap: break-word;
    61   background-color: var(--hydir-card-bg);
    6260  background-clip: border-box;
    6361  border-radius: var(--hydir-radius-lg, 12px);
    6462  box-shadow: var(--hydir-card-shadow);
    6563  overflow: hidden;
    66   transition: transform var(--hydir-transition-base, 250ms ease),
     64  transition:
     65    transform var(--hydir-transition-base, 250ms ease),
    6766    box-shadow var(--hydir-transition-base, 250ms ease);
    6867}
     
    8483  border-radius: var(--hydir-radius-full, 50%);
    8584  object-fit: cover;
    86   border: 3px solid var(--hydir-card-bg);
    8785  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    88   transition: transform var(--hydir-transition-base, 250ms ease),
     86  transition:
     87    transform var(--hydir-transition-base, 250ms ease),
    8988    box-shadow var(--hydir-transition-base, 250ms ease);
    9089}
     
    116115.hydir-card-content h4.name {
    117116  margin: 0 0 var(--hydir-spacing-xs, 0.25rem) 0;
    118   font-size: 1.125rem;
    119   font-weight: 600;
    120   line-height: 1.3;
    121117}
    122118
    123119.hydir-card-content h4 a {
    124   color: var(--hydir-text-color, inherit);
    125120  text-decoration: none;
    126121  transition: opacity var(--hydir-transition-fast, 150ms ease);
     
    134129.hydir-card-content h5 {
    135130  margin: 0 0 var(--hydir-spacing-md, 1rem) 0;
    136   font-size: var(--hydir-font-size-sm, 0.875rem);
    137   font-weight: 400;
    138   color: var(--hydir-text-muted, #6b7280);
    139   line-height: 1.4;
    140131}
    141132
     
    144135.hydir-card-content > p {
    145136  margin: 0;
    146   font-size: var(--hydir-font-size-sm, 0.875rem);
    147   line-height: 1.6;
    148   color: var(--hydir-text-color, inherit);
    149137  display: -webkit-box;
    150138  -webkit-box-orient: vertical;
     
    166154.hydir-card-entry.hydir-card-full-content .hydir-card-content {
    167155  padding-bottom: var(--hydir-card-padding);
    168 }
    169 
    170 .hydir-card-programs {
    171   color: var(--hydir-link-color, inherit);
    172   font-size: var(--hydir-font-size-sm, 0.875rem);
    173156}
    174157
     
    200183  justify-content: center;
    201184  padding: 0.625rem 1rem;
    202   font-family: var(--hydir-font-family, inherit);
    203   font-size: var(--hydir-font-size-sm, 0.875rem);
    204   font-weight: 500;
    205   line-height: 1;
    206185  text-decoration: none;
    207186  border: 1px solid var(--hydir-border-color, rgba(0, 0, 0, 0.1));
    208187  border-radius: var(--hydir-radius-md, 8px);
    209188  background: transparent;
    210   color: var(--hydir-text-color, inherit);
    211189  cursor: pointer;
    212   transition: background-color var(--hydir-transition-fast, 150ms ease),
     190  transition:
     191    background-color var(--hydir-transition-fast, 150ms ease),
    213192    border-color var(--hydir-transition-fast, 150ms ease),
    214193    transform var(--hydir-transition-fast, 150ms ease);
     
    267246.hydir-list-content h4.name {
    268247  margin: 0;
    269   font-size: 1rem;
    270   font-weight: 600;
    271   line-height: 1.3;
    272248  display: flex;
    273249  flex-wrap: wrap;
     
    276252
    277253.hydir-list-content h4 a {
    278   color: var(--hydir-text-color, inherit);
    279254  text-decoration: none;
    280255  transition: opacity var(--hydir-transition-fast, 150ms ease);
     
    283258.hydir-list-content h4 a:hover {
    284259  opacity: 0.8;
    285 }
    286 
    287 .hydir-position-separator {
    288   color: var(--hydir-text-muted, #6b7280);
    289 }
    290 
    291 .hydir-position {
    292   color: var(--hydir-text-muted, #6b7280);
    293   font-weight: 400;
    294   font-size: var(--hydir-font-size-sm, 0.875rem);
    295260}
    296261
     
    300265  min-height: 0;
    301266  margin: var(--hydir-spacing-sm, 0.5rem) 0;
    302   font-size: var(--hydir-font-size-sm, 0.875rem);
    303   line-height: 1.5;
    304   color: var(--hydir-text-color, inherit);
    305267  overflow: hidden;
    306268  display: -webkit-box;
     
    323285  display: inline-block;
    324286  padding: 0.5rem 1rem;
    325   font-size: var(--hydir-font-size-sm, 0.875rem);
    326   font-weight: 500;
    327287  text-decoration: none;
    328288  border: 1px solid var(--hydir-border-color, rgba(0, 0, 0, 0.1));
    329289  border-radius: var(--hydir-radius-md, 8px);
    330290  background: transparent;
    331   color: var(--hydir-text-color, inherit);
    332291  cursor: pointer;
    333   transition: background-color var(--hydir-transition-fast, 150ms ease),
     292  transition:
     293    background-color var(--hydir-transition-fast, 150ms ease),
    334294    border-color var(--hydir-transition-fast, 150ms ease),
    335295    transform var(--hydir-transition-fast, 150ms ease);
     
    362322  }
    363323
    364   .hydir-card-content h4 {
    365     font-size: 1rem;
    366   }
    367 
    368324  .hydir-card-text,
    369325  .hydir-card-content > p {
     
    378334@media (prefers-color-scheme: dark) {
    379335  :root {
    380     --hydir-card-bg: #1f2937;
    381336    --hydir-card-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    382337    --hydir-card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.4);
  • hydrogen-directory/trunk/readme.txt

    r3429812 r3463910  
    55Requires at least: 3.0
    66Tested up to: 6.9
    7 Stable tag: 1.2.1
     7Stable tag: 1.3.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9797
    9898== Changelog ==
     99= 1.3.0 =
     100- Fix: Less opinionated css for better theming and to prevent conflicts with themes and other plugins
    99101
    100102= 1.2.1 =
Note: See TracChangeset for help on using the changeset viewer.