Closed
Bug 1148659
Opened 9 years ago
Closed 9 years ago
Update CSS to match component styles
Categories
(Firefox OS Graveyard :: Gaia::Bugzilla Lite, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.2 S9 (3apr)
People
(Reporter: daleharvey, Assigned: daleharvey)
References
Details
(Whiteboard: [systemsfe])
Attachments
(1 file)
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
Hey Michael, I heard you were developing one of the lightsaber applications and had done a good job on copying across the shared/component styling. For Bugzilla Lite I dont want to use components until I can get them working in a cross browser way, http://v1.bzlite.com/create/ works on the web / in chrome and I want it to stay that way. I need to fix up the styling to be consistent however, got a pointer to the app you have been building, or and approaches to how to get the consistent styling? Cheers
Flags: needinfo?(mhenretty)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → dale
Comment 2•9 years ago
|
||
The application I have been building is the Hacker Marketplace [1], and it actually does use gaia web components. So I haven't been copying the styles, but just using and improving what's there. As such it only works with features like web components and fat arrow syntax enabled :/ It sounds like you need the style guide for web components. Amy Lee has that, so I'm ni? her here to get that attached. Also, you probably know this but you can see all the web components in action here [2]. That is a little out of date with recent updates to gaia WC, but we should be updating that soon. Feel free to ni? again if you have more questions from me. Otherwise I'll let Amy upload the style guide. 1.) https://github.com/fxos/directory 2.) http://gaia-components.github.io/gaia-components/
Flags: needinfo?(mhenretty) → needinfo?(amlee)
Comment 3•9 years ago
|
||
(In reply to Michael Henretty [:mhenretty] from comment #2) > The application I have been building is the Hacker Marketplace [1], and it > actually does use gaia web components. So I haven't been copying the styles, > but just using and improving what's there. As such it only works with > features like web components and fat arrow syntax enabled :/ > > It sounds like you need the style guide for web components. Amy Lee has > that, so I'm ni? her here to get that attached. > > Also, you probably know this but you can see all the web components in > action here [2]. That is a little out of date with recent updates to gaia > WC, but we should be updating that soon. > > Feel free to ni? again if you have more questions from me. Otherwise I'll > let Amy upload the style guide. > > 1.) https://github.com/fxos/directory > 2.) http://gaia-components.github.io/gaia-components/ Hi, There isn't an official style guide for the web components. I have a photoshop file of the components that are being used. I'll update the spec with style specifications. In the meantime, I think you can use the current spec as a reference to spacing elements. The rem measurements are in CSS pixels so for the Flame device it would be rems x1.5. Let me know if you have any questions.
Flags: needinfo?(amlee)
Comment 4•9 years ago
|
||
An FYI, the header component is standard across the OS so you can reference the style of any current header.
Comment 5•9 years ago
|
||
Hi Dale, I've updated the visual spec to include component styles/measurements to help with CSS styling. Let me know if you have any questions. Updated spec is attached to the meta bug: https://bug1134701.bugzilla.mozilla.org/attachment.cgi?id=8586260
Assignee | ||
Comment 6•9 years ago
|
||
Attachment #8587463 -
Flags: review?(drs)
Comment 7•9 years ago
|
||
Comment on attachment 8587463 [details] [review] https://github.com/mozilla-b2g/bzlite/pull/3 Looks good, but my review wasn't super thorough here since it's almost all CSS changes. It's a bit unfortunate that we couldn't at least re-use some of the terminology from WC, like CSS var naming.
Attachment #8587463 -
Flags: review?(drs) → review+
Assignee | ||
Comment 8•9 years ago
|
||
Cheers, As mentioned on IRC, avoiding new features that will give cross browser issues for now Landed in: https://github.com/mozilla-b2g/bzlite/commit/aa8a17c926bf4a4b500ee812792bf2e1fb430053
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Whiteboard: [systemsfe]
Target Milestone: --- → 2.2 S9 (3apr)
You need to log in
before you can comment on or make changes to this bug.
Description
•