1
0
mirror of https://github.com/sakofchit/system.css.git synced 2026-05-05 06:01:22 +09:00
Commit Graph

84 Commits

Author SHA1 Message Date
Houssam Jelliti
876ff0f3eb feat(style.css): enhance single children menu bar items
This commit targets items that act as single children items within a menu bar list, and enhances the styling so that they look and behave as items with a menu dropdown associated with them.
It checks for the "aria-haspopup" attribute set to false and applies the styles.
As I read the code, I found that some CSS rules clash with other rules if I use color variables for states like hover and focus, or if I try to look for a common styles ruleset and I add a selector for it.

I believe what I added is not a good practice and does not follow a pattern because the code base became complicated to debug. In this case, I decided to inherit some styles and apply them to my selectors as I think it's a safe approach.

Fixes #26
2023-03-08 00:38:58 +01:00
sakofchit
e40c91daf9 version bump 2023-02-06 13:01:44 -05:00
sakofchit
a0abaa3bc5 fix fonts not showing up on safari 2023-02-06 13:01:15 -05:00
sakofchit
fae77b72cd Merge branch 'yukseltron-add-default-button' 2022-11-02 14:31:45 -04:00
sakofchit
fa639a5298 version bump 2022-11-02 14:31:23 -04:00
yukseltron
93accf2487 Update btn-default.svg, add example in docs 2022-11-01 14:50:07 -04:00
yukseltron
d1aa8f232d add new border-image for default button, replace old button.png with button.svg 2022-11-01 14:41:52 -04:00
Sakun
f33c0313e3 Merge pull request #21 from jodaAtGithub/main
Cleanup: delete and ignore temporary OS files (.DS_Store)
2022-10-31 18:34:19 -04:00
jodaAtGithub
cf9c11a888 Ignore .DS_Store files 2022-10-30 23:54:32 +01:00
jodaAtGithub
414973b740 Delete .DS_Store 2022-10-30 23:54:05 +01:00
jodaAtGithub
fbc523b03c Delete .DS_Store 2022-10-30 23:53:55 +01:00
jodaAtGithub
7c8db45ddd Delete .DS_Store 2022-10-30 23:53:46 +01:00
sakofchit
cd930b8e2e Merge branch 'Jisan-mia-sticky-sidebar' 2022-10-28 14:41:51 -04:00
sakofchit
cf159cae31 remove padding 2022-10-28 14:40:10 -04:00
Jisan-mia
3450967897 made the sidebar sticky 2022-10-28 17:43:46 +06:00
Sakun
071bd3c83b Merge pull request #19 from briangor/docs-patch
Add style to docs 'Show code'
2022-10-27 16:51:01 -04:00
sakofchit
979c70fc58 Merge branch 'yukseltron-color-vars' 2022-10-27 16:50:00 -04:00
sakofchit
94b3a84f0e version bump 2022-10-27 16:46:19 -04:00
briangor
da8e42372a Add styles to docs 'Show code' 2022-10-26 21:56:39 +03:00
yukseltron
566ad58b82 Add color tokens 2022-10-26 14:15:56 -04:00
Sakun
bf6f19b4a8 Merge pull request #17 from fahurox/spell-check
Few spelling correction
2022-10-19 13:52:51 -04:00
Faheem Muhammed
88b41b9035 Few spelling correction 2022-10-18 23:30:34 +05:30
Sakun
9589934d83 Merge pull request #15 from sakofchit/EHLOVader-add-focus-states
bump version
2022-10-03 15:02:58 -04:00
sakofchit
702cf1ad2f bump version 2022-10-03 15:02:20 -04:00
Sakun
7da1bba548 Merge pull request #14 from EHLOVader/add-focus-states
Add focus states
2022-10-03 15:01:33 -04:00
ehlovader
61d2345223 Add focus state to inputs based on text input
Per experience in Apple 6 emulator focus of inputs inverts the colors resulting in white on black, similar to hover state of the menus and selects.
2022-10-02 14:05:20 -04:00
ehlovader
1bb226f5f8 Add focus state to inputs based on text input
Per experience in Apple 6 emulator focus of inputs inverts the colors resulting in white on black, similar to hover state of the menus and selects.
2022-10-02 14:05:20 -04:00
Sakun
e76433781d Merge pull request #12 from sakofchit/fix-layout
fix docs layout
2022-09-02 15:56:57 -04:00
sakofchit
3d3633136b version bump 2022-09-02 15:51:28 -04:00
sakofchit
3fb7024d4a fix layout, make alert box white 2022-08-29 12:02:48 -04:00
Sakun
7f9ef586b2 Merge pull request #10 from sakofchit/dropdown
refactor dropdown, add select menu
2022-08-18 19:13:09 -04:00
sakofchit
bb4d29a075 refactor dropdown, add select menu 2022-08-18 19:07:48 -04:00
Sakun
fbb6a25ae0 Merge pull request #9 from permanar/fix-anchor-navigation-links
fix: Fixed "Contributing" Anchor Link Not Working
2022-08-16 15:08:07 -04:00
Richie Permana
1ded1c81a7 fix: Fixed "Contributing" Anchor Link Not Working 2022-08-16 13:40:01 +08:00
sakofchit
d6078180dc address safari issues with border image 2022-08-13 17:23:07 -04:00
Sakun
f333a996d6 Merge pull request #7 from patrickhlauke/patch-1
Tweak README example markup
2022-08-13 15:20:18 -04:00
Patrick H. Lauke
77049835fe Tweak README example markup 2022-08-13 19:52:31 +01:00
sakofchit
ebe052fa95 Merge branch 'patrickhlauke-patrickhlauke-a11y-improvements' 2022-08-13 10:55:18 -04:00
sakofchit
bbedf07e43 bump version 2022-08-13 10:54:54 -04:00
Patrick H. Lauke
d3d6cf7441 Merge branch 'main' into patrickhlauke-a11y-improvements 2022-08-13 00:14:11 +01:00
Patrick H. Lauke
abcc1c41dc Use <span> instead of src-less <img> for Apple icon 2022-08-13 00:03:01 +01:00
Patrick H. Lauke
1dc16a793e Sponsor 2022-08-13 00:00:48 +01:00
Patrick H. Lauke
cdb178e369 Add alt to Apple image 2022-08-12 23:55:04 +01:00
Patrick H. Lauke
c34763afcb Duplicate class 2022-08-12 23:54:27 +01:00
Patrick H. Lauke
aac95ca340 Add lang to demo page, uppercase DOCTYPE 2022-08-12 23:52:29 +01:00
Patrick H. Lauke
4135156e4a Correct broken/invalid demo page navigation 2022-08-12 23:51:51 +01:00
Patrick H. Lauke
20bdab64c4 Add proper label for find in modeless dialog, add padding to modeless top 2022-08-12 23:39:50 +01:00
Patrick H. Lauke
81ce8841e4 remove redundant .png files 2022-08-12 23:13:37 +01:00
Patrick H. Lauke
afd9f983a5 Tweak dropdown toggle styles
remove browser outline when it's focused
2022-08-12 23:08:44 +01:00
Patrick H. Lauke
3e97e8ac2d Clean up more icons, tweak styles
- correct the apple logo and the checkmark
- general cleanup for the radio svgs
2022-08-12 23:04:18 +01:00