bogas04 / SikhJS

👳 🚀 Gurbani Progressive Web Application
https://bogas04.github.io/SikhJS
MIT License
26 stars 16 forks source link

Add submenu to SGGS MenuItem #42

Closed bogas04 closed 7 years ago

bogas04 commented 8 years ago

Submenu should have items like

bogas04 commented 8 years ago

Raag Angs can use following CSS to be closer to an actual Saroop.

raagAngs = [1, ...];
let className = ['gurbani-text', 'gurbani-text raag-ang'][raagAngs.includes(ang) ? 1 : 0]
...
<div style={{ textAlign: 'left', padding: 20 }} className={className}>{angContent}</div>
.gurbani-text.raag-ang > div:nth-child(1) {
  font-size: 2em !important;
  display: block !important;
  text-align: center !important;
}
.gurbani-text.raag-ang > div:nth-child(2) {
  display: block !important;
  text-align: center !important;
  font-size: 1.25em !important;
}
.gurbani-text.raag-ang {
  background-color: #452f5a; /* Can be random as well */
  color: white;
}
bogas04 commented 8 years ago

We'll have to make assumptions for Sehaj Paath.

Since 2nd point is still confusing, we can push the release to v0.9.0

@ravjot28 any idea as to how you would want Sehaj Paath UI ?

bogas04 commented 7 years ago

Closing as we took easier approach on Sehaj Paath for now.