Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
whats-open
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nicholas J Anderson
whats-open
Commits
007f678c
Commit
007f678c
authored
Oct 26, 2013
by
Renfred Harper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add about js and styles
parent
5890d550
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
85 additions
and
2 deletions
+85
-2
website/static/css/style.css
website/static/css/style.css
+66
-2
website/static/js/about.js
website/static/js/about.js
+18
-0
whats_open/templates/base.html
whats_open/templates/base.html
+1
-0
No files found.
website/static/css/style.css
View file @
007f678c
...
...
@@ -35,6 +35,9 @@ body {
padding-top
:
50px
;
}
.clip
{
overflow
:
hidden
;
}
.title
{
text-align
:
center
;
font-size
:
50px
;
...
...
@@ -133,19 +136,70 @@ ul.ui-autocomplete {
position
:
fixed
;
top
:
51px
;
bottom
:
0
;
z-index
:
3
;
z-index
:
10
;
display
:
none
;
overflow-y
:
scroll
;
}
#info-name
{
font-size
:
22px
;
margin-bottom
:
5px
;
}
#info-close
{
#info-close
,
#about-close
{
position
:
absolute
;
right
:
0
;
padding
:
6px
19px
19px
19px
;
cursor
:
pointer
;
z-index
:
10
;
opacity
:
0.4
;
}
#about-close-nav
{
opacity
:
0.5
;
padding
:
2px
15px
0px
15px
;
display
:
none
;
}
#info-close
:hover
,
#about-close
:hover
,
#about-close-nav
:hover
{
opacity
:
1
;
}
#about-body
{
position
:
fixed
;
z-index
:
1040
;
top
:
51px
;
width
:
100%
;
bottom
:
0
;
overflow
:
scroll
;
}
#about-container
{
width
:
100%
;
overflow-y
:
auto
;
}
.about-content
{
background-color
:
#FFF
;
padding-bottom
:
20px
;
}
#about-example
{
background-color
:
rgba
(
255
,
255
,
255
,
0.4
);
}
.about-top-p
{
margin-top
:
20px
;
}
#about-link
{
cursor
:
pointer
;
}
.grid-blur
{
opacity
:
0.54
;
-webkit-filter
:
blur
(
3px
);
-moz-filter
:
blur
(
3px
);
-o-filter
:
blur
(
3px
);
-ms-filter
:
blur
(
3px
);
filter
:
blur
(
3px
);
}
.main-container
{
/* Transitions for .grid-blur */
-webkit-transition
:
opacity
356ms
ease-in-out
,
-webkit-filter
356ms
ease-in-out
;
-moz-transition
:
opacity
356ms
ease-in-out
,
-moz-filter
356ms
ease-in-out
;
;
-o-transition
:
opacity
356ms
ease-in-out
,
-o-filter
356ms
ease-in-out
;
;
-ms-transition
:
opacity
356ms
ease-in-out
,
-ms-filter
356ms
ease-in-out
;
transition
:
opacity
356ms
ease-in-out
,
"filter"
356ms
ease-in-out
;
}
/* Custom Responsive Classes */
/* xs */
...
...
@@ -190,6 +244,16 @@ ul.ui-autocomplete {
#info-close
{
display
:
none
;
}
#about-close
{
display
:
none
;
}
#about-body
{
bottom
:
100px
;
}
.navbar-nav
li
{
margin-left
:
10px
;
margin-right
:
10px
;
}
}
/* lg */
@media
(
min-width
:
1200px
)
{
...
...
website/static/js/about.js
0 → 100644
View file @
007f678c
$
(
document
).
ready
(
function
(){
$
(
'
#about-link
'
).
click
(
function
(){
$
(
this
).
parent
().
toggleClass
(
'
active
'
);
$
(
'
#about-body
'
).
slideToggle
(
356
);
$
(
'
.main-container
'
).
toggleClass
(
'
grid-blur
'
);
// Prevent body from scolling when about section is active
$
(
'
body
'
).
toggleClass
(
'
clip
'
);
$
(
'
#about-link-text, #about-close-nav
'
).
toggle
();
});
$
(
'
#about-close
'
).
click
(
function
(){
$
(
'
#about-link
'
).
parent
().
removeClass
(
'
active
'
);
$
(
'
#about-body
'
).
slideUp
(
356
);
$
(
'
.main-container
'
).
removeClass
(
'
grid-blur
'
);
$
(
'
body
'
).
removeClass
(
'
clip
'
);
$
(
'
#about-link-text
'
).
show
();
$
(
'
#about-close-nav
'
).
hide
();
});
});
whats_open/templates/base.html
View file @
007f678c
...
...
@@ -12,6 +12,7 @@
<script
src=
"{{ STATIC_URL }}js/grid.js"
></script>
<script
src=
"{{ STATIC_URL }}js/typeAhead.js"
></script>
<script
src=
"{{ STATIC_URL }}js/info.js"
></script>
<script
src=
"{{ STATIC_URL }}js/about.js"
></script>
<link
rel=
"icon"
href=
"{{ STATIC_URL }}/img/gmu-logo.ico"
>
{% block title %}
<title>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment