Comments (2)
The same could be done with the bottom, however I see there is an issue with the BAR being too tall (it is covered up normally). If a reasonable way to reduce the height by 4.5 rem (the height of the bottom horizontal bar), then this would do:
diff --git a/lcars/css/lcars.css b/lcars/css/lcars.css
index 0ca6f24..f07b189 100644
--- a/lcars/css/lcars.css
+++ b/lcars/css/lcars.css
@@ -347,7 +347,7 @@ h6 {
margin-bottom: 0.25rem;
z-index: 1;
}
-.lcars-app-container #blackdrop {
+.lcars-app-container #header>#blackdrop {
position:absolute;
clear:both;
left:0;top:0;
@@ -356,13 +356,20 @@ h6 {
}
.lcars-app-container #footer {
position: fixed;
- background-color: #000;
+ background-color: #0000;
bottom: 0;
left: 0.5rem;
padding-bottom: 0.5rem;
width: calc(100% - 1rem);
z-index: 1;
}
+.lcars-app-container #footer>#blackdrop {
+ position:absolute;
+ clear:both;
+ left:0;bottom:0;
+ height:2.5rem; width:100%;
+ background-color:#000;
+}
.lcars-app-container #container {
margin-top: 0.25rem;
margin-left: 0.25rem;
diff --git a/lcars/index.html b/lcars/index.html
index d8ead7f..a5d8125 100644
--- a/lcars/index.html
+++ b/lcars/index.html
@@ -50,6 +50,8 @@
<!-- FOOTER ==================================================== -->
<div id="footer" class="lcars-row ">
+ <!-- BLACKDROP -->
+ <div id="blackdrop"></div>
<!-- ELBOW -->
<div class="lcars-elbow left-top lcars-tan-bg"></div>
<!-- BAR -->
from lcars.
When I came back to look at this issue I saw the row height was tall because of the elbow layout. Creating a mask where you can control the size is a good idea, because it separates the size of the blackdrop
from the size of the bar
, giving good control.
I'm trying to design a more generalized solution where the row continues to be the masking element. It's giving me a hard time with layout restrictions that aren't as easy as nesting divs.
from lcars.
Related Issues (20)
- lcars-title class should have character glyphs same height as parent bar element, visually HOT 7
- Automatic audio wireup selector makes omissions, demo/doc page example missing button class
- Gulpfile configured for older version HOT 1
- Simplify Audio section documentation
- Short filenames HOT 2
- Audio module bugs
- elements / buttons in thin/horizontal elbow-bars
- brackets to support text content HOT 5
- Questions about rows and columns HOT 3
- Input HOT 15
- Documentation request: How do I incorporate this project? HOT 20
- Need good default styling for html tables
- Rename `master` to `main` HOT 9
- Demo/doc left-hand side-bar navigation has too many buttons HOT 3
- Compiled CSS contains a few unnecessarily long floating point representations of irrational numbers
- Simple Red Alert effect
- Expand contributing section of readme
- Is it possible to have a tutorial to realize something like www.thelcars.com template? HOT 3
- Getting LCARS to work with React HOT 3
- Documentation - Areas for improvement
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lcars.