Commit 89c0ee7a authored by Alcides Viamontes E's avatar Alcides Viamontes E
Browse files

Test site, commit 1

parent a0cae5c9
\.shimmercat\.loves\.devs/
This diff is collapsed.
This diff is collapsed.
/*!
* Documenter 2.0
* http://rxa.li/documenter
*
* Copyright 2013, Xaver Birsak
* http://revaxarts.com
*
*/
html, body{max-width:100%;}
body{ padding-bottom: 40px;}
#documenter_content{
padding-top: 200px;
}
#documenter-cover{
min-height: 600px;
}
.masthead h1{
margin-top: 48px;
}
section h3,
section h4,
section h5,
section h6 {
padding: 0;
clear: both;
line-height: 1.2em;
margin-top: 2em;
}
section h3{ font-size:2em;}
section h4{ font-size:1.5em;}
section h5{ font-size:1.3em;}
section h6{ font-size:1.1em;}
section table{
border-top:1px solid;
margin: 18px 0 18px;
}
section table td, section table th{
border-bottom:1px solid;
text-align:left;
padding: 10px 10px 10px 3px;
}
section table th{
font-weight: 900;
}
hr.notop{
margin-top:3px;
}
.img-jhilik {max-width: 100%; border: 1px solid #ddd; padding: 10px; margin: 30px 0;}
footer{
padding-bottom:500px;
}
.container{
padding-bottom:3px;
position: relative;
}
.navbar a.brand{
display:inline-block;
width:200px;
background-position:center left;
background-repeat:no-repeat;
background-size: contain;
text-indent:-9999px;
margin:0;
padding:0;
top: 0;
bottom: 0;
position: absolute;
}
.page-header{
border:0;
}
.navbar .nav {
margin: 10px 10px 0 200px;
float: none;
}
.navbar .nav li a{
border-radius:3px;
display:block;
white-space:nowrap;
padding:6px 11px 7px;
text-overflow:ellipsis;
text-decoration:none;
margin-left: 3px;
margin-bottom: 3px;
}
.navbar .nav li ul{
border-radius:5px;
display:none;
position:absolute;
list-style-type:none;
min-width:100px;
padding:3px;
box-shadow:0 0 3px rgba(0,0,0,0.3);
}
.navbar .nav > li:hover ul{
display:block;
}
.marketing-byline {
list-style:none;
margin-left: 0;
margin-bottom: 24px;
}
.marketing-byline li{
display:inline;
padding:0 2px;
}
.download-info{
clear:both;
text-align: center;
}
#intro{margin-top: 40px;
text-align: center;}
section{
margin-top:300px;
}
img{
height:auto !important;
}
iframe{
max-width:100% !important;
}
@media (max-width: 979px) {
#documenter_content{
padding-top: 0px;
}
.navbar .nav {
margin: 10px 10px 0 0;
}
.navbar .nav > li > a{
padding:6px 11px 7px;
max-width:100%;
overflow:hidden;
text-overflow:ellipsis;
}
.navbar .nav li ul{
display:none;
box-shadow:none;
position:static;
}
.navbar .nav li:hover ul{
display:block;
}
.navbar .nav li ul li{
display:block;
}
.navbar .nav li a{
max-width:100%;
}
section{
margin-top:80px;
}
}
@media (max-width: 480px) {
section{
margin-top:30px;
}
}
\ No newline at end of file
## 2.0 BOOTSTRAP JS PHILOSOPHY
These are the high-level design rules which guide the development of Bootstrap's plugin apis.
---
### DATA-ATTRIBUTE API
We believe you should be able to use all plugins provided by Bootstrap purely through the markup API without writing a single line of javascript.
We acknowledge that this isn't always the most performant and sometimes it may be desirable to turn this functionality off altogether. Therefore, as of 2.0 we provide the ability to disable the data attribute API by unbinding all events on the body namespaced with `'data-api'`. This looks like this:
$('body').off('.data-api')
To target a specific plugin, just include the plugins name as a namespace along with the data-api namespace like this:
$('body').off('.alert.data-api')
---
### PROGRAMATIC API
We also believe you should be able to use all plugins provided by Bootstrap purely through the JS API.
All public APIs should be single, chainable methods, and return the collection acted upon.
$(".btn.danger").button("toggle").addClass("fat")
All methods should accept an optional options object, a string which targets a particular method, or null which initiates the default behavior:
$("#myModal").modal() // initialized with defaults
$("#myModal").modal({ keyboard: false }) // initialized with now keyboard
$("#myModal").modal('show') // initializes and invokes show immediately afterqwe2
---
### OPTIONS
Options should be sparse and add universal value. We should pick the right defaults.
All plugins should have a default object which can be modified to effect all instance's default options. The defaults object should be available via `$.fn.plugin.defaults`.
$.fn.modal.defaults = { … }
An options definition should take the following form:
*noun*: *adjective* - describes or modifies a quality of an instance
examples:
backdrop: true
keyboard: false
placement: 'top'
---
### EVENTS
All events should have an infinitive and past participle form. The infinitive is fired just before an action takes place, the past participle on completion of the action.
show | shown
hide | hidden
---
### CONSTRUCTORS
Each plugin should expose it's raw constructor on a `Constructor` property -- accessed in the following way:
$.fn.popover.Constructor
---
### DATA ACCESSOR
Each plugin stores a copy of the invoked class on an object. This class instance can be accessed directly through jQuery's data API like this:
$('[rel=popover]').data('popover') instanceof $.fn.popover.Constructor
---
### DATA ATTRIBUTES
Data attributes should take the following form:
- data-{{verb}}={{plugin}} - defines main interaction
- data-target || href^=# - defined on "control" element (if element controls an element other than self)
- data-{{noun}} - defines class instance options
examples:
// control other targets
data-toggle="modal" data-target="#foo"
data-toggle="collapse" data-target="#foo" data-parent="#bar"
// defined on element they control
data-spy="scroll"
data-dismiss="modal"
data-dismiss="alert"
data-toggle="dropdown"
data-toggle="button"
data-toggle="buttons-checkbox"
data-toggle="buttons-radio"
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment