-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to change the header and footer? #13
Comments
Hi, I see what you want to achieve. The For your more complex case, I would rather directly start at the I will make a more complete example later, but play with the pure lcars grid and the elbow class and its modifier. I recommend browsing the stylus sources for the options you have for each class, e.g. for the elbow. Hope this helps! |
Thank you alot! I did m job well apparently ;) The buttons and things are actually really easy shapes. But IMHO the core experience of LCARS is exactly the alignment. So you can do that with plain CSS as well, but this library is mainly intended to handle the edge cases and give you designs out of box. You should look at this btw if you haven't: http://www.lcars-terminal.de/tutorial/guideline.htm The basic math of the look and feel I found in an article, which unfortunately have been taken down, probably by JJ Abrams.... |
By the why, your work looks beautiful, love staring at the gif :) |
can you share the code of your example? I this I basically what I had in mind as example. |
Great link, thank you. I will read it all in detail. Pity about the other article :/ Glad you like the gif! I'm also staring at it, imagining all kinds of things that can be build with your libarary; RSS reader, e-mail client, wikipedia browser, google-translate interface, a music player ... :) I'm attaching my code. It's messy because I don't know what I'm doing so lots of inline styling. The fundamental rule of consistent alignment, as you say, has been broken here. I've coded this for a 1600px wide window, although 1280px should adapt well, with some parts left out. The archive contains your library, but only these files are unique: |
Thanks for breaking it down, @joernweissenborn! @tenleftfingers Dang, I was hoping for a purely html* solution. |
vGoldsmith, the PHP can be removed and change the file extension to html. Without the PHP, the two strings (small blue paragraph text up top) will need to be pasted in the Javascript section above for "txt1 =" and "txt2 =" I'm happy to do it for you, but since my file looks really terrible on anything that isn't 1280 or 1600 wide, it might not be much use to you anyway. |
@vGoldsmith what do mean with not pure css solution?
Please give me further detail about what you want to achieve.
TLF <[email protected]> schrieb am So., 18. Aug. 2019, 06:22:
… vGoldsmith, the PHP can be removed and change the file extension to html.
Without the PHP, the two strings (small blue paragraph text up top) will
need to be pasted in the Javascript section above for "txt1 =" and "txt2 ="
I'm happy to do it for you, but since my file looks really terrible on
anything that isn't 1280 or 1600 wide, it might not be much use to you
anyway.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#13?email_source=notifications&email_token=AARG7QMQBG6W3CNL6RAXZD3QFDE7PA5CNFSM4IL65NRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4QYGXY#issuecomment-522290015>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AARG7QKFZ6ACRRC7VWW33LTQFDE7PANCNFSM4IL65NRA>
.
|
I think I understand the layout a little better after reviewing tenleftfingers's project. @joernweissenborn thanks! This will be enough for me I believe but for the future I support #14 100% |
I've managed to change the header orientation using a scaleY(-1) transform.
![Untitled2 2019-08-15 15_44_53](https://user-images.githubusercontent.com/1757768/63102818-bb896a00-bf73-11e9-9b20-7cb26829323f.gif)
![pic](https://user-images.githubusercontent.com/1757768/63102975-11f6a880-bf74-11e9-8681-2f1a4db06123.png)
But really I'd like to be able to put a header in any place as a row. It seems to be 'stuck' to the top. The newer LCARS displays have the header and footer swapped (so their bars meet in the middle, like this screenshot below). How can I do this with CSS? It has a left column first, then a 'header', then footer and then another left column.
This is how the elements should be laid out in this case:
The text was updated successfully, but these errors were encountered: