2015-06-08 02:46:53 +03:00
|
|
|
// Examples
|
|
|
|
//
|
|
|
|
// Styles for the Select2 examples, largely copied
|
|
|
|
// from Bootstrap's docs styles.
|
|
|
|
//
|
|
|
|
// @see https://github.com/twbs/bootstrap/blob/master/docs/assets/css/src/docs.css#L533
|
2015-05-02 15:10:31 +03:00
|
|
|
|
2015-06-08 02:46:53 +03:00
|
|
|
.s2-example {
|
|
|
|
position: relative;
|
|
|
|
padding: 45px 15px 15px;
|
2015-06-06 16:32:11 +03:00
|
|
|
margin: 0 -15px 15px;
|
2015-06-08 02:46:53 +03:00
|
|
|
background-color: #fafafa;
|
|
|
|
box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.05);
|
|
|
|
border-color: #e5e5e5 #eee #eee;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 1px 0;
|
2015-05-02 15:10:31 +03:00
|
|
|
|
2015-06-06 16:32:11 +03:00
|
|
|
&:after {
|
2015-06-08 02:46:53 +03:00
|
|
|
content: "Example";
|
2015-06-06 16:32:11 +03:00
|
|
|
position: absolute;
|
|
|
|
top: 15px;
|
|
|
|
left: 15px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: bold;
|
2015-06-08 02:46:53 +03:00
|
|
|
color: #bbb;
|
2015-06-06 16:32:11 +03:00
|
|
|
text-transform: uppercase;
|
|
|
|
letter-spacing: 1px;
|
|
|
|
}
|
2015-06-08 02:46:53 +03:00
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
background-color: #fff;
|
|
|
|
border-width: 1px;
|
|
|
|
border-color: #eee;
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2015-05-02 15:10:31 +03:00
|
|
|
}
|
|
|
|
|
2015-06-08 02:46:53 +03:00
|
|
|
// styles for the event log in the "DOM events" section of the docs
|
|
|
|
.s2-event-log {
|
|
|
|
background: #002451;
|
2015-06-18 11:19:01 +03:00
|
|
|
color: white;
|
2015-06-08 02:46:53 +03:00
|
|
|
font-family: Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Consolas, monospace;
|
2015-05-02 15:10:31 +03:00
|
|
|
margin: 0 -15px 15px;
|
2015-06-08 02:46:53 +03:00
|
|
|
padding: 45px 15px 15px;
|
2015-06-18 11:19:01 +03:00
|
|
|
position: relative;
|
2015-06-06 16:32:11 +03:00
|
|
|
|
|
|
|
&:after {
|
2015-06-08 02:46:53 +03:00
|
|
|
content: "Event Log";
|
2015-06-06 16:32:11 +03:00
|
|
|
position: absolute;
|
|
|
|
top: 15px;
|
|
|
|
left: 15px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: bold;
|
|
|
|
color: #BBB;
|
|
|
|
text-transform: uppercase;
|
|
|
|
letter-spacing: 1px;
|
|
|
|
}
|
2015-06-08 02:46:53 +03:00
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
margin-top: -15px;
|
|
|
|
border-width: 1px;
|
|
|
|
border-color: #eee;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2015-05-02 15:10:31 +03:00
|
|
|
}
|
|
|
|
|
2015-06-08 02:46:53 +03:00
|
|
|
.s2-example + pre,
|
2016-01-31 05:01:12 +03:00
|
|
|
.s2-example + figure,
|
2015-06-08 02:46:53 +03:00
|
|
|
.s2-event-log + pre {
|
|
|
|
margin: -15px -15px 15px;
|
|
|
|
border-radius: 0;
|
|
|
|
border-width: 0 0 1px;
|
2015-05-02 15:10:31 +03:00
|
|
|
|
2015-06-08 02:46:53 +03:00
|
|
|
@media (min-width: 768px) {
|
|
|
|
margin-top: -16px;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
border-width: 1px;
|
|
|
|
border-bottom-left-radius: 4px;
|
|
|
|
border-bottom-right-radius: 4px;
|
|
|
|
}
|
2015-05-02 15:10:31 +03:00
|
|
|
}
|
|
|
|
|
2015-06-08 02:46:53 +03:00
|
|
|
.s2-example + .s2-event-log {
|
|
|
|
margin-top: -15px;
|
|
|
|
}
|