Giter Club home page Giter Club logo

Comments (2)

jrwarwick avatar jrwarwick commented on August 11, 2024

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.

xenziffen avatar xenziffen commented on August 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.