Skip to content

Commit d77034f

Browse files
committed
New layout using angular ng-repeat
This should simplify maintenance of the page while keeping a coherent layout
1 parent f8371e8 commit d77034f

File tree

3 files changed

+270
-697
lines changed

3 files changed

+270
-697
lines changed

css/app.css

Lines changed: 20 additions & 225 deletions
Original file line numberDiff line numberDiff line change
@@ -1,236 +1,31 @@
1-
/*** Docs ***/
21
body {
3-
margin-top: 40px;
4-
}
5-
section {
6-
padding-top: 40px;
7-
}
8-
.icon-github {
9-
background: no-repeat url('../lib/bootstrap/docs/assets/img/github-16px.png');
10-
width: 16px;
11-
height: 16px;
12-
}
13-
.hero-unit {
14-
position: relative;
15-
padding: 40px 0;
16-
color: #fff;
17-
text-align: center;
18-
text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 30px rgba(0,0,0,.075);
19-
background: #020031;
20-
background: -moz-linear-gradient(45deg, #020031 0%, #6d3353 100%);
21-
background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#020031), color-stop(100%,#6d3353));
22-
background: -webkit-linear-gradient(45deg, #020031 0%,#6d3353 100%);
23-
background: -o-linear-gradient(45deg, #020031 0%,#6d3353 100%);
24-
background: -ms-linear-gradient(45deg, #020031 0%,#6d3353 100%);
25-
background: linear-gradient(45deg, #020031 0%,#6d3353 100%);
26-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#020031', endColorstr='#6d3353',GradientType=1 );
27-
-webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
28-
-moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
29-
box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
30-
border-radius: 0;
31-
-moz-border-radius: 0;
32-
-webkit-border-radius: 0;
33-
-o-border-radius: 0;
34-
}
35-
.hero-unit .btn, .pagination-centered .btn {
36-
float: none;
37-
font-weight: normal;
38-
}
39-
.hero-unit p {
40-
margin: 1em 0;
41-
}
42-
.hero-unit .alert-error {
43-
color: #B94A48;
44-
}
45-
.hero-unit .container {
46-
position: relative;
2+
margin-top: 40px;
3+
margin-bottom: 80px;
4+
475
}
48-
.hero-unit h1:before {
49-
display: block;
50-
content: '';
51-
height: 200px;
52-
width: 200px;
53-
background: url('../logo/UI_Shield.png') no-repeat;
54-
background-size: contain;
55-
position: absolute;
56-
left: 0;
6+
.logo {
7+
height: 150px;
8+
background: url('../logo/UI_Shield.png') no-repeat;
9+
background-size: contain;
10+
background-position-x: 100%;
11+
margin-top: 10px;
5712
}
5813
.bs-docs-social {
59-
margin-top: 1em;
60-
padding: 15px 0;
61-
text-align: center;
62-
background-color: rgba(245,245,245,0.3);
63-
border-top: 1px solid rgba(255,255,255,0.3);
64-
border-bottom: 1px solid rgba(221,221,221,0.3);
14+
text-align: center;
6515
}
6616
.bs-docs-social-buttons {
67-
margin-left: 0;
68-
margin-bottom: 0;
69-
padding-left: 0;
70-
list-style: none;
17+
margin-left: 0;
18+
margin-bottom: 0;
19+
padding-left: 0;
20+
list-style: none;
7121
}
7222
.bs-docs-social-buttons li {
73-
display: inline-block;
74-
padding: 5px 8px;
75-
line-height: 1;
76-
}
77-
78-
/* Allows .modal-backdrop to remain on the page without blocking */
79-
.modal-backdrop {
80-
overflow: hidden;
81-
height: 0;
82-
-webkit-transition: opacity 0.15s linear, height 0 0.2s linear;
83-
-moz-transition: opacity 0.15s linear, height 0 0.2s linear;
84-
-ms-transition: opacity 0.15s linear, height 0 0.2s linear;
85-
-o-transition: opacity 0.15s linear, height 0 0.2s linear;
86-
transition: opacity 0.15s linear, height 0 0.2s linear;
87-
}
88-
.modal-backdrop.in {
89-
height: 100%;
90-
-webkit-transition: opacity 0.15s linear;
91-
-moz-transition: opacity 0.15s linear;
92-
-ms-transition: opacity 0.15s linear;
93-
-o-transition: opacity 0.15s linear;
94-
transition: opacity 0.15s linear;
95-
}
96-
97-
/*** Reset ***/
98-
.ui-reset {
99-
width: 14px;
100-
height: 14px;
101-
margin: 5px;
102-
*margin-right: .3em;
103-
line-height: 14px;
104-
vertical-align: text-top;
105-
background-image: url("http://twitter.github.com/bootstrap/assets/img/glyphicons-halflings.png");
106-
background-position: 14px 14px;
107-
background-repeat: no-repeat;
108-
background-position: -48px -96px;
109-
}
110-
111-
/*** Map ***/
112-
#directives-map .map {
113-
height: 400px;
114-
}
115-
116-
/*** Animate ***/
117-
#directives-animate .animations {
118-
list-style: none;
119-
padding: 0;
120-
margin: 10px 0;
121-
}
122-
#directives-animate .animations li {
123-
transition: all 0.5s ease;
124-
-o-transition: all 0.5s ease;
125-
-moz-transition: all 0.5s ease;
126-
-webkit-transition: all 0.5s ease;
127-
background: lightblue;
128-
max-height: 50px;
129-
overflow: hidden;
130-
padding: 5px;
131-
}
132-
#directives-animate .animations li.ui-animate {
133-
opacity: 0;
134-
max-height: 0;
135-
padding: 0 5px;
136-
}
137-
138-
/*** If ***/
139-
#directives-if ul.piped-list {
140-
padding: 0;
141-
margin: 10px 0;
142-
}
143-
#directives-if .piped-list li {
144-
display: inline-block;
145-
border-left: 2px solid;
146-
margin-left: 5px;
147-
padding-left: 10px;
148-
}
149-
#directives-if .piped-list li:first-child {
150-
border-left: none;
151-
margin-left: 0;
23+
display: inline-block;
24+
padding: 5px 8px;
25+
line-height: 1;
15226
}
15327

154-
/*** ShowHide ***/
155-
.ui-show {
156-
display: block;
157-
}
158-
.ui-hide {
159-
display: none;
160-
}
161-
.animate span {
162-
display: block;
163-
-webkit-transition: all 0.5s ease;
164-
-moz-transition: all 0.5s ease;
165-
-ms-transition: all 0.5s ease;
166-
-o-transition: all 0.5s ease;
167-
transition: all 0.5s ease;
168-
}
169-
.animate .ui-show {
170-
color: blue;
171-
}
172-
.animate .ui-hide {
173-
opacity: 0;
174-
}
175-
#EmptyField {
176-
177-
width:300px;
178-
height:100px;
179-
overflow: scroll;
180-
}
181-
/*** Select2 ***/
182-
#directives-select2 select {
183-
width: 200px;
184-
}
185-
/*** Scrollfix ***/
186-
#scrollExample p {
187-
font-size: 20px;
188-
color:red;
189-
text-shadow: 0px 2px 3px #555;
190-
}
191-
#scrollExample.ui-scrollfix .ui-scrollfix {
192-
top: -50px;
193-
-webkit-transition: all 0.5s ease;
194-
-moz-transition: all 0.5s ease;
195-
-ms-transition: all 0.5s ease;
196-
-o-transition: all 0.5s ease;
197-
transition: all 0.5s ease;
198-
}
199-
#scrollExample .ui-scrollfix {
200-
position: fixed;
201-
top: 50px;
202-
}
203-
#scrollExample {
204-
height: 45px;
205-
width:400px;
206-
}
207-
208-
/*** Sortable ***/
209-
.directives-sortable ul.children {
210-
padding: 5px 0;
211-
}
212-
213-
/*** Highlight ***/
214-
.ui-match {
215-
background: yellow;
216-
}
217-
218-
/*** Keypress ***/
219-
#directives-keypress textarea {
220-
width: 100%;
221-
height: 100px;
222-
}
223-
224-
span[ui-currency] {
225-
display:block;
226-
}
227-
/*** Currency ***/
228-
.ui-currency-pos {
229-
font-weight: bold;
230-
}
231-
.ui-currency-neg {
232-
font-size: 125%;
233-
}
234-
.ui-currency-zero {
235-
color: #000;
28+
.jumbotron {
29+
padding-top: 28px;
30+
padding-bottom: 18px;
23631
}

0 commit comments

Comments
 (0)