Debian Codegraph @

expeyes-web/htdocs/css/jumbotron-narrow.css

raw
1 /* Space out content a bit */
2 body {
3 padding-top: 20px;
4 padding-bottom: 20px;
5 }
6 /* Everything but the jumbotron gets side spacing for mobile first views */
7 .header,
8 .marketing,
9 .footer {
10 padding-right: 15px;
11 padding-left: 15px;
12 }
13 /* Custom page header */
14 .header {
15 padding-bottom: 20px;
16 border-bottom: 1px solid #e5e5e5;
17 }
18 /* Make the masthead heading the same height as the navigation */
19 .header h3 {
20 margin-top: 0;
21 margin-bottom: 0;
22 line-height: 40px;
23 }
24 /* Custom page footer */
25 .footer {
26 padding-top: 19px;
27 color: #777777;
28 border-top: 1px solid #e5e5e5;
29 }
30 /* Customize container */
31 @media (min-width: 768px) {
32 .container {
33 max-width: 730px;
34 }
35 }
36 .container-narrow > hr {
37 margin: 30px 0;
38 }
39 /* Main marketing message and sign up button */
40 .jumbotron {
41 text-align: center;
42 padding: 0 auto;
43 border-bottom: 1px solid #e5e5e5;
44 }
45 .jumbotron .btn {
46 /* padding: 14px 24px;
47 font-size: 21px;*/
48 }
49 /* Supporting marketing content */
50 .marketing {
51 margin: 40px 0;
52 }
53 .marketing p + h4 {
54 margin-top: 28px;
55 }
56
57 .alert{
58 margin: 15px auto;
59 }
60 /* Responsive: Portrait tablets and up */
61 @media screen and (min-width: 768px) {
62 /* Remove the padding we set earlier */
63 .header,
64 .marketing,
65 .footer {
66 padding-right: 0;
67 padding-left: 0;
68 }
69 /* Space out the masthead */
70 .header {
71 margin-bottom: 30px;
72 }
73 /* Remove the bottom border on the jumbotron for visual effect */
74 .jumbotron {
75 border-bottom: 0;
76 }
77 }
78 /*ON/OFF Button */
79 .onoffswitch {
80 position: relative; width: 95px;
81 -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
82 }
83 .onoffswitch-checkbox {
84 display: none;
85 }
86 .onoffswitch-label {
87 display: block; overflow: hidden; cursor: pointer;
88 border: 2px solid #FFFFF; border-radius: 5px;
89 }
90 .onoffswitch-inner {
91 display: block; width: 200%; margin-left: -100%;
92 transition: margin 0.3s ease-in 0s;
93 }
94 .onoffswitch-inner:before, .onoffswitch-inner:after {
95 display: block; float: left; width: 50%; height: 32px; padding: 0; line-height: 32px;
96 font-size: 12px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
97 box-sizing: border-box;
98 }
99 .onoffswitch-inner:before {
100 content: "TURN ON";
101 padding-right: 23px;
102 background-color: #5cb85c; color: #FFFFFF;
103 }
104 .onoffswitch-inner:after {
105 content: "TURN OFF";
106 padding-right: 7px;
107 background-color: #d9534f; color: #FFFFFF;
108 text-align: right;
109 }
110 .onoffswitch-switch {
111 display: block; width: 15px; margin: 10px;
112 background: #FFFFFF;
113 position: absolute; top: 0; bottom: 0;
114 right: 62px;
115 border: 1px solid #FFFFF; border-radius: 5px;
116 transition: all 0.3s ease-in 0s;
117 }
118 .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
119 margin-left: 0;
120 }
121 .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
122 right: 0px;
123 }
124 @media (min-width:320px) and (max-width:768px) {
125 .jumbotron .btn{
126 margin-top: 10px;
127 }
128 .alert{
129 visibility: hidden;
130 }
131 }