Giter Club home page Giter Club logo

beauter's Introduction

Beauter

A simple framework for faster and beautiful responsive sites
Visit Beauter »


Join the chat at https://gitter.im/outboxcraft/beauter Open Source Love MIT Licence Build status Build Status Codacy Badge Dependencies Status Bower version npm (scoped)

Why it's awesome

Beauter provides a minimal range of beautiful elements and styles in pure vanilla CSS which makes it easier to start with a cleaner and faster development. It's Mobile First, responsive across various devices with a very small footprint, 6kb gzipped!, which makes it faster. Hope you like it! ♥

Quick Start

You can get Beauter by many ways

Use direct CDN links to add the Style Sheet to your web page

<link rel="stylesheet" type="text/css" href="https://rawgit.com/outboxcraft/beauter/master/beauter.min.css">

And the js file NEW

<script src="https://rawgit.com/outboxcraft/beauter/master/beauter.min.js"></script>

Or add the files manually using the download.

And its all set!

To learn more, please checkout beauter documentation.

Contributing

Beauter has just started and needs a lot of changes to become perfect. You can make Beauter more beautiful by contributing. Please follow these recommendations. You can also share Beauter with your friends or on social sites to make more people aware of it. This will help a lot.

Creator

Beauter is designed with ♥ by Shubham Ramdeo.

License

Copyright 2016-present, Shubham Ramdeo. Code released under the MIT License. Docs released under Creative Commons.

beauter's People

Contributors

gitter-badger avatar ramdeoshubham avatar vyasnavneet 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

beauter's Issues

<pre><code> seems to strip out things

Probably a noob question but I I don't quite understand why certain parts of my code blocks are left out.

Especially everything in between < >

StartServers 4 MinSpareServers 20 MaxSpareServers 40 MaxClients 200 MaxRequestsPerChild 4500

Shows as:

StartServers 4
MinSpareServers 20
MaxSpareServers 40
MaxClients 200
MaxRequestsPerChild 4500

Any idea why that is the case?

Kind regards
screenshot 8

Edit
I am sorry this does not belong here. Found the answer, have to use < and > to do < and > inside html

topnav dropdown problem

Short Description

topnav dropdown menu in wrong position

Platform

Version of Beauter: latest
Browser. Firefox 63, Microsoft Explorer, Microsoft Edge

Image

beauter_dropdown

Cards inside grid (col m4) - not behaving as expected (unorganized)

I am not sure if this will make a whole lot of sense, but when I use bootstrap I would generate blog posts as cards in PHP and then use a grid width like col-sm-4 to create 3 cards next to each other and if I have 9 blog posts it would be 3 rows of 3 cards.

However trying to do that with beauter, the CSS just does not behave so well.

Example code:

  <div class="row">
    <div class="col m12">
      <h2>Lastest Articles</h2>
    </div>
    <?php
    // get the latest articles - limit it to 20
    $stmt = $pdo->prepare('SELECT * FROM posts ORDER BY id DESC LIMIT 20');
    $stmt->execute();
    $articles = $stmt->fetchAll();
    foreach($articles as $article){
    echo '
    <div class="col m4">
      <div class="card">
        <a href="/blog/'.$article['url'].'">
          <img src="../img/blog/'.$article['feature_image'].'" class="_width100">
        </a>
        <div class="-content _alignCenter mt-3">
          <p><strong>'.$article['title'].'</strong></p>
          <p class="_alignLeft">'.$article['intro'].'</p>
          <a class="button _small _teal" href="/blog/'.$article['url'].'">Read Article</a>
        </div>
      </div>
    </div>
    '; 
    }
    ?>
  </div>

Result:

2020-08-23_19-51-31
2020-08-23_19-52-13

If there are just 3 blog posts it works, but when there is more the layout gets messed up - I know this is not the intended use, but most of what I do is dynamic content so I won't know the end count of items beforehand, I need the CSS to be smart and know that we mean to keep it 3 in a row and start a new stack when we have more than 3 posts.

I hope this makes sense?

Error/Typos in Docs

There are some mistakes in the docs on the website, is the website on github, then I can fix it.

Invisible characters

Short Description

Invisible characters in input field. Maybe white characters in white input field.

Platform

Beauter 3
Firefox 61.01, dark theme. Ubuntu 18.04 LTS

Grid no mention of offset option ?

Hi,

1st great work on this, simple, clean and looks super.
I noticed that in the docs there is no mention about offsets but there are some hidden in the css:
@media (min-width: 550px) { .off-1 { margin-left:8.33% }

Works ok in desktop mode (ex: class="col d12") but there seems to be no offset for mobile ?

Chris

Add text essage into snackbar

Could you modify the showsnackbar method to pass in parameter the text of the snackbar ?

showsnackbar( ID, "my new text" )

The Model Modal

I have successfully configured the modal example from your docs and it llooks good.

When I go to ad a second modal — myModal2 let us say — the button that triggers it triggers the first modal instead. The two modals are obaModal and myModal2 ... It looks like this in Pug ...

		button#myBtn2 Abra-me Sésamo

		// The Modal
		#myModal2.modalbox-modal
			// Modal content
			.modalbox-modal-content(style='width: 500px')
				span#modalbox-close2.-close ✖
				h2._alignCenter
					i.fa.fa-gears.fa-lg
					| &nbsp; Engenho Novo LLC
				h4._alignCenter We Grok the Web Worldwide 
				p
					| Lorem ipsum dolor sit amet et cetera fake Latin
				button.right Fechar

		script.
			// Get the modal
			var modal = document.getElementById('myModal2');
			// Get the button that opens the modal
			var btn = document.getElementById("myBtn2");
			// Get the <span> element that closes the modal
			var span = document.getElementById("modalbox-close2");
			// When the user clicks on the button, open the modal
			btn.onclick = function() {
			modal.style.display = "block";
			}
			// When the user clicks on <span> (x), close the modal
			span.onclick = function() {
			modal.style.display = "none";
			}
			// When the user clicks anywhere outside of the modal, close it
			window.onclick = function(event) {
			if (event.target == modal) {
			modal.style.display = "none";
			}
			}

Both buttons open myModal2 in other words.

Hope this is not an annoying noob question. i.fa.fa-heart.fa-4x your boatiful Beauter.

Button text has slight vertical offset / displacement

Short Description

Slight vertical displacement of button text

Platform

Beauter 0.3
MacOS Sierra, Chrome 63, Safari 11

Image

screen shot 2018-01-15 at 3 44 50 pm

screen shot 2018-01-15 at 3 54 44 pm

Brief Description of the problem

Button texts (especially noticeable on small sizes buttons) are rendered with slight visual vertical displacement

Steps to Reproduce

Open official beauter doc site at section "buttons"
http://beauter.outboxcraft.com/docs/buttons/

Expected behavior

All button texts must be vertically aligned to button body

What happened instead

Vertical displacement, bottom space is about 5px higher

Solution if any?

Tried line-height:1 and padding:10px 30px 8px; looks far better, still not sure this is a solution

incorrect docs

Docs state:
npm install beauter

this fails with a 404 not found.
needed to do:
npm install @outboxcraft/beauter

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.