Giter Site home page Giter Site logo

kristopolous / bootstra.386 Goto Github PK

View Code? Open in Web Editor NEW
6.6K 129.0 309.0 49.59 MB

A vintage 1980s DOS inspired Twitter Bootstrap theme

Home Page: https://bootstra386.com

License: Apache License 2.0

Shell 0.09% Makefile 0.13% CSS 4.67% JavaScript 25.26% HTML 52.17% Ruby 0.02% PowerShell 0.03% Less 4.72% SCSS 12.79% Pug 0.03% Python 0.08%
bootstrap-theme css msdos

bootstra.386's Introduction

Bootstrap/386 is a Twitter bootstrap v2/3/4/5(in progress) theme to make webpages look like they are from the gentler, less distracting time of the 1980s.

Download for your favorite bootstrap version with all the necessary JS and CSS to get started right away:

bootstrap.mp4

     ____  ____  ____  _____________________  ___    ____        __   _____ ____  _____
    / __ )/ __ \/ __ \/_  __/ ___/_  __/ __ \/   |  / __ \     _/_/  |__  /( __ )/ ___/
   / __  / / / / / / / / /  \__ \ / / / /_/ / /| | / /_/ /   _/_/     /_ </ __  / __ \ 
  / /_/ / /_/ / /_/ / / /  ___/ // / / _, _/ ___ |/ ____/  _/_/     ___/ / /_/ / /_/ / 
 /_____/\____/\____/ /_/  /____//_/ /_/ |_/_/  |_/_/      /_/      /____/\____/\____/  

      The Definitive All-in-one Graphical Tool-Kit for Micros and Terminals.  
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

  There's a lot of micros and a lot of        this future has arrived.
  graphics modes. Today there's CGA,          
  Hercules, MDA, and EGA. And that's only     Use primitives like buttons, "toolbars"
  on the IBM-PC.                              and various "widgets" that will control
                                              your application. We handle rendering
  What about Tandy, CDC, Honeywell,           these abstractions on screen for you.
  DEC, and Zenith? That's a different          
  problem. How about the portables on         Think of your software in terms of
  tomorrows' horizon? Plan to ignore the      Windows, Icons, Menus, and Pull-Downs.
  Compaq-1? Your customers won't.             Even a WIMP can do it (TM).
                                              
  Such incompatibilities shouldn't be         That's the new paradigm of full-screen
  your concern. You focus on making           interactive applications. Give your
  great microcomputer applications. We        customers the rich interface that are
  focus on making your application work       easy to use and also, easy to create.
  on tomorrow's computer.                     Give yourself that one-leg up on your
                                              competition. GUI is Good. GUI is God.
  It's called a "Graphical User Interface"    
  They've been in development for years       Just look at how beautiful
  at places like XEROX Parc in Palo Alto      your application can look with
  and Carnegie Mellon. And now, finally       BOOTSTRAP/386:

Configuration

Javascript settings are set via a global _386 object.

Animation

The loading animation can be configured through the following values:

  • fastLoad [bool] (default: false) - disable all animation.
  • onePass [bool] (default: false) - when set, this will disable the second flyby cursor
  • speedFactor [float] (default: 1.0) - This controls how fast the animation happens. Higher values mean faster animation.

Example:

_386 = { onePass: true, speedFactor: 1.25 };

Note: For the progressive animation to work you may need to set this stanza in your regular CSS: body { visibility: hidden }.

Accomodating users without javascript

During a 2018 April fools' prank, a user pointed out that this theme doesn't work without javascript. This is a valid concern, however it cannot be addressed without a user manually doing something since this is just a bootstrap theme.

Luckily, HTML5 permits noscript in the head section which means that style can be put in the noscript section. This means that putting this in the header would permit people without JS on to see the site:

<noscript>
  <style>
    body { 
       visibility: visible; 
    }
  </style>
</noscript>

Bugs and Stuff

Check out the contribution doc - it's easy, I swear.

Building yourself

These folders, and all versions, are proper forks of tagged releases of bootstrap. Because they represent very specific snapshots in time, there's no configuration json, buildbot updates or anything like that. If you want to patch updates to the dependencies and confirm the build of the old versions then please open a PR ... I ignore the automated ones that github sends me because it's not that kind of project.

For building, I have included README.md in each of the directories. Unlike the lazy chumps over at bootstrap industries, I actually support 4 versions, simultaneously. Now I do so very poorly, and with a proposterous time lag, but I supposedly do.

Contact

Also you can give me money, as little as $1/month ... Click on that heart sponsor thing at the top ... I'm a sponsorer as well!

See the wiki for more documentation.

Attributions

The font for v4/5 is by VileR, used under Creative Commons Share-Alike, which can be found at int10h.org.

bootstra.386's People

Contributors

0xflotus avatar dependabot[bot] avatar emailnitram avatar keichan34 avatar kkirsche avatar kristopolous avatar rtconner avatar tomer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bootstra.386's Issues

Bootstrap modal

The modal window in the example should not appear until triggered.

It should be possible to close the modal in the example with the x or close buttons.

Configurable load effect

It would be great if the load in animation was slightly quicker and that the second load in effect was absent.

Missing examples on getting-started.html

Override scrolling behavior to constrain location to character grid.

Observations while playing with edit.exe in dosbox:

  • Pageup/down scrolls by one page instantly.
  • Blinking underline cursor shows and controls active position in document area. (not menu, but does show up on active button.)
  • Moved by mouse with a click or arrow keys. (if on a menu, it disapears.)
  • If at the edge, arrowkeys scroll by one character. if at the bottom, downarrow key it scrolls by one line,
  • If a navigation key is held down, it moves by one page/character, then after a brief pause, (400 ms?) it repeats with a very short pause.

Now the blinking underline may be too much for now. (edit: and it may be better to have a LYNX style navigation for keyboard, so you move from link to link? but more complicated?)

At least, scrolling can be constrained to the character grid, but may have trouble in some browsers.

This project demonstrates disabling and controlling scrolling some:
http://naeka.github.io/jquery-scrollbar/
window.scrollTo(500,0);
http://help.dottoro.com/ljcjcwuo.php

Edit: changed title from: "Scroll behaviour: Not constrained to character grid, Not properly keyboard/swipe responsive." to "Override scrolling behavior to constrain location to character grid."

button not working on grey area above text

I think this has something to do with the drop shadow but on chrome, firefox, and ie buttons only work at or below where the text appears, not on the gray area of button above. it seems to have something to do with the shadow because clicking on the shadow does activate a click.

awesome project. thanks, kristopolous.

What about the cursor?

@kristopolous Can a cursor be added so that whenever the mouse moves the cursor is the old solid grey block? I think it can be achieved with canvas. What's your thinking?

[question] Movable dialogs?

Hey,

are there any plans to implement an movable dialog? It would be great if you will support this!

Regards,
Jan

[feature request] add rectangle jumping cursor

some demo-code for demonstration of idea:

w = 10;
h = 20;
b = document.getElementsByTagName('body')[0];
b.style.cursor = 'none'

d = document.createElement('div');
d.id = 'nicecursor';
b.appendChild(d);
a = document.getElementById('nicecursor');
a.style.position = 'absolute';
a.style.top = '10px';
a.style.left = '10px';
a.style.width = w+'px';
a.style.height = h+'px';
a.style.backgroundColor = 'white';
a.style.pointerEvents = 'none';

b.onmousemove = function(e){
    a.style.left = e.pageX - e.pageX % w   +'px';
    a.style.top = e.pageY - e.pageY % h +'px';

}

Collapsable Navbar needs a better button

Here is what I ended up settling on, but I don't know if this is in keeping with the spirit of DOS UI so I wanted to see if anyone had any better ideas before I try and submit a patch:

<div class="navbar-header">
  <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
    <span class="sr-only">Toggle navigation</span>
    ≡
  </button>
  <a class="navbar-brand" href="#">Project Name</a>
</div>

Also I added this CSS to eliminate the border:

.navbar-inverse .navbar-toggle {
  border: 0 none;
}

Ideas...

This is one very awesome bootstrap theme. In fact, I am very sure where to use it; as a stats page for my server. Since it provides a terminal to ssh into the server, that is pretty much a well-fitting theme.

Normally I work with Bootstrap 3. I am not sure how much the code has advanced in comparsion to the demo, but:

  • Progress bars still seem to be using a gradient color. Not sure but it looked that way.
  • Some of the buttons are glitched. Like the button with loading state looses its shadow and shrinks down, then back up when it changes back again.
  • The button sizes seem a bit odd. The small an dmini button are almost similar.
  • There are no distinct colours for Alert, Success, ...
  • The brand part of the navbars are not having a background image.
  • Primary navbar should be gray with black text, whilst inverse navbar should be black with white text.
  • Modals arent styled at all, currently.
  • Clicking a button makes it loose its shadow, therefore shrink and cause a flash o the interface.
  • List styles don't have any indicator. Suggestion: draw a block that looks similar to a bigger pixel.
  • In the search example, button and text field are not aligned. That will become problematic for my use case...
  • The add-on buttons arent fitting correctly
  • The dropdown buttons at the tabs example seem broken but I am not sure if they really are.
  • Make .well have a border and look like a tiny window, after all, that seems to be what they technically are. At least, a little box with a shadow.

If I knew proper LESS and how to work the bootstrap theme, i would immedialy sit down and work these errors out. This theme is too cool to be true! :)

Kind regards, Ingwie

Cannot build

Cloning the repo and running make does not work. I figured out that running npm update before make does the trick

load effect

I'm so dumb that I cannot understand, how works your "loading effect" and what files provides it, and how can I add it to my page... :( Please, help! Is there some docs for this or something useful?

Images not ASCII/ANSI. Switch video mode for fullscreen CGA/VGA rendering of images?

Possible libraries, or a combination/remake is needed:

So for BOOTSRTA.386, perhaps:

  • Get the rendered size of the image, constrained to character grid.
  • resize image to that character grid size.
  • render to ANSI.
  • Optional: clicking/keyboard selecting the image emulates switching video mode to a fullscreen high-res EGA/VGA mode. Any key or click returns to text mode view.
  • ANSI/EGA/VGA conversion may be too slow for some devices/browsers, so perhaps have/suggest a serverside conversion of images?

buttons not 'clickable'

Button text and foreground should be repositioned to the shadow position when clicked (CSS :focus) to simulate old fashioned click effect.

I'd also suggest using CSS3 transitions to make a smoother animation effect.

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.