Locawebstyle - Um framework com padrões para desenvolvimento de interfaces web.
HTML JavaScript CSS Ruby
Switch branches/tags
testing_0.48.0 testing_0.47.0 testing_0.45.0 testing_0.43.2 testing_0.43.1 testing_0.43.0 testing_0.41.0 testing_0.40.1 testing_0.39.0 testing_0.37.0 testing_0.32.2 testing_0.31.0 testing_0.29.2 testing_0.29.1 testing_0.29.0 testing_0.27.2 testing_0.27.1 testing_0.27.0 testing_0.25.4 testing_0.25.3 testing_0.25.2 testing_0.25.1 testing_0.25.0 testing_0.23.5 testing_0.23.4 testing_0.23.3 testing_0.23.2 testing_0.23.1 testing_0.23.0 testing_0.21.1 testing_0.21.0 testing_0.19.4 testing_0.19.3 testing_0.19.2 testing_0.19.1 testing_0.19.0 testing_0.17.9 testing_0.17.8 testing_0.17.7 testing_0.17.6 testing_0.17.5 testing_0.17.4 testing_0.17.3 testing_0.17.2 testing_0.17.1 testing_0.17.0 testing_0.15.11 testing_0.15.10 testing_0.15.9 testing_0.15.8 testing_0.15.7 testing_0.15.6 testing_0.15.5 testing_0.15.4 testing_0.15.3 testing_0.15.2 testing_0.15.1 testing_0.15.0 testing_0.13.8 testing_0.13.7 testing_0.13.6 testing_0.13.5 testing_0.13.4 testing_0.13.3 testing_0.13.2 testing_0.13.1 testing_0.13.0 testing_0.11.12 testing_0.11.11 testing_0.11.10 testing_0.11.9 testing_0.11.8 testing_0.11.7 testing_0.11.6 testing_0.11.5 testing_0.11.4 testing_0.11.3 testing_0.11.2 testing_0.11.1 testing_0.11.0 testing_0.9.12 testing_0.9.11 testing_0.9.10 testing_0.9.9 testing_0.9.8 testing_0.9.7 testing_0.9.6 testing_0.9.5 testing_0.9.4 testing_0.9.3 testing_0.9.2 testing_0.9.1 testing_0.9.0 testing_0.7.4 testing_0.7.3 testing_0.7.2 testing_0.7.1 testing_0.7.0 testing_0.6.3 testing_0.5.7
Nothing to show
Clone or download

readme.md

Travis:Master

Locaweb Style with Gold color

Locastyle 3.0 (Barbecue)

This is a front-end framework with patterns of behaviors and styles to web projects. The focus of this framework is build admin interfaces and not websites. We design this interface with a team of UX and Front-end. We also use this interface in our own products here in Locaweb.

You can see all examples in this link.

How to install

You can use the Locaweb Style in many ways, but we suggest use direct of our server just adding this address in your project:

<head>
...
  <!-- Insert the CSS in HEAD -->
  <link rel="stylesheet" type="text/css" href="//assets.locaweb.com.br/locastyle/3.10.0/stylesheets/locastyle.css">
...
</head>
<body>
  <!-- Your code -->

  <!-- JQuery is a dependency -->
  <script src="http://code.jquery.com/jquery-2.0.1.min.js">

  <!-- Put the JS in your footer, always after jQuery (dependency) -->
  <script src="//assets.locaweb.com.br/locastyle/3.10.0/javascripts/locastyle.js"></script>
</body>

Installing via bower

To install the Locaweb Style using Bower:

$ bower install locawebstyle

Installing via npm

To install the Locaweb using Npm:

$ npm install locawebstyle

Read the manual

We maintain the docs of components and how they work here. If you use the Chrome, download here our extension to access the documentation more easily.

Do you want to contribute?

Contribute is easy: make a fork and start to code. :-)

We have some instructions to maintain the code more legible and organized. Sorry, this article is still in portuguese and you can read these instructions here..

Read here the code guide of CSS and JavaScript to maintain a good practices of this project.

Running tests

Before sending any code, please run our automated tests:

$ bundle exec rake tests:run

It will run Jasmine tests and JShint.


pt-br version

Locastyle 3.0 (Barbecue)

Um framework front-end de comportamento e estilo para projetos web, com uma interface usada por milhares de usuários. Mantido pelos desenvolvedores front-end da Locaweb.

Você pode ver exemplos de painéis neste link.

Use o Locaweb Style

Você pode usar o Locaweb Style de várias formas: direto pelo nosso servidor, via Bower ou baixando os assets para usar offline.

Utilizando pelo nosso servidor

<head>
...
  <!-- Insert the CSS in HEAD -->
  <link rel="stylesheet" type="text/css" href="//assets.locaweb.com.br/locastyle/3.7.4/stylesheets/locastyle.css">
...
</head>
<body>
  <!-- Your code -->

  <!-- JQuery is a dependency -->
  <script src="http://code.jquery.com/jquery-2.0.1.min.js">

  <!-- Put the JS in your footer, always after jQuery (dependency) link -->
  <script src="//assets.locaweb.com.br/locastyle/3.7.4/javascripts/locastyle.js"></script>
</body>

Instalação via bower

Para instalar o Locaweb Style utilizando o Bower é bem simples:

$ bower install locawebstyle

Instalação via npm

Para instalar o Locaweb Style utilizando o Npm:

$ npm install locawebstyle

Documentação completa

Mantemos a documentação completa dos componentes e como eles funcionam aqui. Se você usar o Chrome, baixe nossa extensão para facilitar o acesso à documentação.

Quer contribuir?

Para contribuir é bico: Faça um fork do projeto aqui mesmo no GitHub e comece a codar! ;-) Existem algumas instruções para mantermos o código legível e organizado. Leia essas instruções aqui.

Leia também nossos padrões de código de CSS e JavaScript.

Rodando os testes

Antes de enviar seu código, rode nossa suite de testes:

$ bundle exec rake tests:run

Isso vai rodar os testes de Jasmine e o JShint.