Template:CreateHub/styles.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* Row layout */ | ||
.creation-row { | .creation-row { | ||
display: flex; | display: flex; | ||
| Line 8: | Line 8: | ||
} | } | ||
/* | /* SAME SIZE for both input + button */ | ||
.creation-row .inputbox input | .creation-row .mw-inputbox-input, | ||
.creation-row | .creation-row .mw-inputbox-button { | ||
width: 260px !important; | width: 260px !important; | ||
height: | height: 40px !important; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
/* | /* TEXT INPUT (Startup / Investor Name) */ | ||
.creation-row .inputbox input | .creation-row .mw-inputbox-input { | ||
border: 1.5px solid #000 !important; | border: 1.5px solid #000 !important; | ||
border-radius: 2px; | border-radius: 2px !important; | ||
font-size: 0.95rem | background: #fff !important; | ||
font-size: 0.95rem !important; | |||
text-align: center; | text-align: center !important; /* center text */ | ||
font-style: italic; | font-style: italic !important; /* italic content */ | ||
} | } | ||
/* | /* Placeholder styling */ | ||
.creation-row .inputbox input | .creation-row .mw-inputbox-input::placeholder { | ||
text-align: center; | text-align: center; | ||
color: #777; | color: #777; | ||
| Line 35: | Line 34: | ||
} | } | ||
/* | /* SUBMIT BUTTON (Create … Page) */ | ||
.creation-row | .creation-row .mw-inputbox-button { | ||
border: 1.5px solid #000 !important; | |||
border-radius: 2px !important; | |||
background: transparent !important; | background: transparent !important; | ||
color: #000 !important; | color: #000 !important; | ||
font-weight: 600; | font-weight: 600 !important; | ||
font-size: 0.95rem; | font-size: 0.95rem !important; | ||
cursor: pointer; | cursor: pointer; | ||
text-align: center !important; | |||
line-height: 1.2; /* avoids weird vertical centering issues */ | |||
transition: | transition: | ||
| Line 52: | Line 54: | ||
/* Hover */ | /* Hover */ | ||
.creation-row | .creation-row .mw-inputbox-button:hover:not(:disabled) { | ||
background-color: #f2f2f2 !important; | background-color: #f2f2f2 !important; | ||
transform: translateY(-1px); | transform: translateY(-1px); | ||
| Line 58: | Line 60: | ||
/* Active */ | /* Active */ | ||
.creation-row | .creation-row .mw-inputbox-button:active:not(:disabled) { | ||
transform: translateY(0); | transform: translateY(0); | ||
} | } | ||
/* Disabled */ | /* Disabled state */ | ||
.creation-row | .creation-row .mw-inputbox-button:disabled { | ||
background-color: #f5f5f5 !important; | background-color: #f5f5f5 !important; | ||
border-color: #ccc !important; | border-color: #ccc !important; | ||