<?xml version="1.0" encoding="utf-8"?>
<!-- generator="Joomla! - Open Source Content Management" -->
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Bootstrap - RibaFS Portal</title>
		<description><![CDATA[Servidores linux, Programação web (PHP, Joomla, CakePHP, Laravel), Programação Mobile (Phaser, PhoneGap, Monaca, Unity, etc) entre outros.]]></description>
		<link>http://backup/portal/basicos/bootstrap.html</link>
		<lastBuildDate>Sat, 07 Sep 2019 18:49:54 -0300</lastBuildDate>
		<generator>Joomla! - Open Source Content Management</generator>
		<atom:link rel="self" type="application/rss+xml" href="http://backup/portal/basicos/bootstrap.feed?type=rss"/>
		<language>pt-br</language>
		<item>
			<title>Introdução ao BootStrap</title>
			<link>http://backup/portal/basicos/bootstrap/introducao-ao-bootstrap.html</link>
			<guid isPermaLink="true">http://backup/portal/basicos/bootstrap/introducao-ao-bootstrap.html</guid>
			<description><![CDATA[<p style="text-align: justify;"><strong>Framework Bootstrap<br /><br /></strong></p>

<p style="text-align: justify;">O framework Bootstrap foi criado pela equipe do Twitter e liberado como open source para a comunidade. É muito popular atualmente e facilita o trabalho do web designer, pois lida muito bem com o CSS e o JavaScript.</p>

<p style="text-align: justify;">Seus recursos e facilidades o lavaram à popularidade atual.</p>

<p style="text-align: justify;">Download</p>

<p style="text-align: justify;"><a href="http://getbootstrap.com/getting-started/#download" target="_blank" rel="alternate noopener noreferrer">http://getbootstrap.com/getting-started/#download</a></p>

<p style="text-align: justify;"><strong>Veja agora duas páginas, uma sem e outra com o CSS via Bootstrap</strong></p>

<p style="text-align: justify;"><strong>Com o Bootstrap</strong></p>

<p style="text-align: justify;"><img src="http://backup/portal/images/bs1.png" alt="" /></p>

<p style="text-align: justify;"> </p>

<p style="text-align: justify;"><strong>Agora sem</strong></p>

<p style="text-align: justify;"><img src="http://backup/portal/images/bs2.png" alt="" /></p>]]></description>
			<category>Bootstrap</category>
			<pubDate>Fri, 23 Jun 2017 10:40:21 -0300</pubDate>
		</item>
		<item>
			<title>Usando o Bootstrap</title>
			<link>http://backup/portal/basicos/bootstrap/usando-o-bootstrap.html</link>
			<guid isPermaLink="true">http://backup/portal/basicos/bootstrap/usando-o-bootstrap.html</guid>
			<description><![CDATA[<pre class="language-markup"><code>Classes básicas para aplicação do Bootstrap



O simples fato de adicionar o CSS no template já altera vários aspectos



Acessar - http://getbootstrap.com/getting-started/#download e copiar o código CDN



&lt;!doctype html&gt;

&lt;html lang="en"&gt;

&lt;head&gt;

&lt;meta charset="UTF-8"&gt;

    &lt;title&gt;Produtos&lt;/title&gt;

        &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"&gt;



Uma ótima ideia é usar os Glyphicons do bootstrap.



&lt;/head&gt;



Tabela

 &lt;table class="table table-striped table-bordered table-hover"&gt;



Botões

class="btn btn-primary"

class="btn btn-warning"



Form

default - width: 100%;

Em label usar form-group

  &lt;div class="form-group"&gt;

    &lt;label for="Password"&gt;Password&lt;/label&gt;

    &lt;input type="password" class="form-control" id="Password" placeholder="Password"&gt;

  &lt;/div&gt;



Tamanho de campos com as classes, sem form-control

input-sm

input-lg

input



/* Set widths on the form inputs since otherwise they're 100% wide */

input[type="text"],

input[type="password"],

input[type="email"],

input[type="tel"],

input[type="select"] {

    max-width: 280px;

}



Horizontal form

&lt;form class="form-horizontal"&gt;



Em Cada campo

class="form-control"



&lt;textarea class="form-control" rows="3"&gt;&lt;/textarea&gt;



Checkbox e radio



&lt;div class="checkbox"&gt;

  &lt;label&gt;

    &lt;input type="checkbox" value=""&gt;

    Option one is this and that&amp;mdash;be sure to include why it's great

  &lt;/label&gt;

&lt;/div&gt;

&lt;div class="checkbox disabled"&gt;

  &lt;label&gt;

    &lt;input type="checkbox" value="" disabled&gt;

    Option two is disabled

  &lt;/label&gt;

&lt;/div&gt;



&lt;div class="radio"&gt;

  &lt;label&gt;

    &lt;input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked&gt;

    Option one is this and that&amp;mdash;be sure to include why it's great

  &lt;/label&gt;

&lt;/div&gt;

&lt;div class="radio"&gt;

  &lt;label&gt;

    &lt;input type="radio" name="optionsRadios" id="optionsRadios2" value="option2"&gt;

    Option two can be something else and selecting it will deselect option one

  &lt;/label&gt;

&lt;/div&gt;

&lt;div class="radio disabled"&gt;

  &lt;label&gt;

    &lt;input type="radio" name="optionsRadios" id="optionsRadios3" value="option3" disabled&gt;

    Option three is disabled

  &lt;/label&gt;

&lt;/div&gt;



Linha da Grid

class="row"



Grid - 3 colunas

class="col-sm-3"



Propaganda

id="advertisement"



Exemplo de Uso



Adaptado de uma view de aplicativo Laravel



    &lt;div class="container"&gt;

        &lt;div class="row"&gt;

 

            &lt;div class="col-md-9"&gt;

                &lt;div class="panel panel-default"&gt;

                    &lt;div class="panel-heading"&gt;Clientes&lt;/div&gt;

                    &lt;div class="panel-body"&gt;

                        &lt;a href="http://backup/portal//clientes/create" class="btn btn-success btn-sm" title="Add New Cliente"&gt;

                            &lt;i class="fa fa-plus" aria-hidden="true"&gt;&lt;/i&gt; Add New

                        &lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;

                        &lt;a href="http://backup/portal//" class="btn btn-success btn-sm" title="Menu Principal"&gt;

                            &lt;i class="fa fa-bars" aria-hidden="true"&gt;&lt;/i&gt; Menu Principal

                        &lt;/a&gt;

 

                        &lt;form action="/clientes" class= "navbar-form navbar-right"&gt;

                        &lt;div class="input-group"&gt;

                            &lt;input type="text" class="form-control" name="search" placeholder="Search..."&gt;

                            &lt;span class="input-group-btn"&gt;

                                &lt;button class="btn btn-default" type="submit"&gt;

                                    &lt;i class="fa fa-search"&gt;&lt;/i&gt;

                                &lt;/button&gt;

                            &lt;/span&gt;

                        &lt;/div&gt;

                        &lt;/form&gt;

 

                        &lt;br/&gt;

                        &lt;br/&gt;

                        &lt;div class="table-responsive"&gt;

                            &lt;table class="table table-borderless"&gt;

                                &lt;thead&gt;

                                    &lt;tr&gt;

                                        &lt;th&gt;ID&lt;/th&gt;&lt;th&gt;Nome&lt;/th&gt;&lt;th&gt;Cpf&lt;/th&gt;&lt;th&gt;Nascimento&lt;/th&gt;&lt;th&gt;Actions&lt;/th&gt;

                                    &lt;/tr&gt;

                                &lt;/thead&gt;

                                &lt;tbody&gt;

                                &lt;?php foreach($clientes as $item){

                                    &lt;tr&gt;

                                        &lt;td&gt;{{ $item-&gt;id }}&lt;/td&gt;

                                        &lt;td&gt;{{ $item-&gt;nome }}&lt;/td&gt;&lt;td&gt;{{ $item-&gt;cpf }}&lt;/td&gt;&lt;td&gt;{{ $item-&gt;nascimento }}&lt;/td&gt;

                                        &lt;td&gt;

                                            &lt;a href="http://backup/portal/{{ url('/clientes/' . $item-&gt;id) }}" title="View Cliente"&gt;&lt;button class="btn btn-info btn-xs"&gt;&lt;i class="glyphicon glyphicon-eye-open"&gt;&lt;/i&gt; View&lt;/button&gt;&lt;/a&gt;

                                            &lt;a href="http://backup/portal/{{ url('/clientes/' . $item-&gt;id . '/edit') }}" title="Edit Cliente"&gt;&lt;button class="btn btn-primary btn-xs"&gt;&lt;i class="glyphicon glyphicon-edit"&gt;&lt;/i&gt; Edit&lt;/button&gt;&lt;/a&gt;



                                            &lt;form

                                                method ='DELETE',

                                                action = "'/clientes', $item-&gt;id"

                                                style = 'display:inline'

                                            &gt;

                                                &lt;button&gt; &lt;i class="glyphicon glyphicon-trash"&gt;&lt;/i&gt; Delete'

                                                        type = 'submit'

                                                        class = 'btn btn-danger btn-xs'

                                                        title = 'Delete Cliente'

                                                        onclick ='return confirm("Confirm delete?")'

                                                &lt;/button&gt;

                                            &lt;/form&gt;

                                        &lt;/td&gt;

                                    &lt;/tr&gt;

                                }?&gt;

                                &lt;/tbody&gt;

                            &lt;/table&gt;

                        &lt;/div&gt;

 

                    &lt;/div&gt;

                &lt;/div&gt;

            &lt;/div&gt;

        &lt;/div&gt;

    &lt;/div&gt;</code></pre>]]></description>
			<category>Bootstrap</category>
			<pubDate>Fri, 23 Jun 2017 10:40:21 -0300</pubDate>
		</item>
	</channel>
</rss>
