Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
175e1b46
Commit
175e1b46
authored
Mar 26, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
studio - in progress styling of tender help widget
parent
66ba0f9b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
98 deletions
+3
-98
cms/static/sass/_tender-widget.scss
+0
-92
cms/static/sass/base-style.scss
+1
-0
cms/templates/base.html
+0
-1
cms/templates/widgets/footer.html
+0
-3
cms/templates/widgets/tender.html
+2
-2
No files found.
cms/static/sass/_tender-widget.scss
deleted
100644 → 0
View file @
66ba0f9b
// tender help/support widget
// ====================
#tender_frame
,
#tender_window
{
background-image
:
none
!
important
;
}
#tender_frame
{
@include
border-radius
(
3px
);
@include
box-shadow
(
0
2px
3px
$shadow
);
border
:
1px
solid
$gray
;
background
:
$white
;
}
#tender_closer
{
color
:
$blue-l2
!
important
;
margin-top
:
15px
;
margin-right
:
5px
;
}
// ====================
// tender style overrides - not rendered through here, but an archive is needed
#tender_frame
iframe
html
{
font-size
:
62
.5%
;
}
.widget-layout
{
font-family
:
'Open Sans'
,
sans-serif
;
}
.widget-layout
.search
,
.widget-layout
.tabs
,
.widget-layout
.header
h1
a
{
display
:
none
;
}
.widget-layout
.header
{
background
:
rgb
(
85
,
151
,
221
);
padding
:
20px
;
}
.widget-layout
h1
,
.widget-layout
h2
,
.widget-layout
h3
,
.widget-layout
h4
,
.widget-layout
h5
,
.widget-layout
h6
,
.widget-layout
label
{
font-weight
:
600
;
}
.widget-layout
.header
h1
{
font-weight
:
700
;
font-size
:
24px
;
font-size
:
2
.4rem
;
}
.widget-layout
.content
{
padding
:
20px
;
}
.widget-layout
label
{
font-size
:
14px
;
font-size
:
1
.4rem
;
margin-bottom
:
5px
;
color
:
rgb
(
127
,
127
,
127
)
!
important
;
}
.widget-layout
input
[
type
=
"text"
],
.widget-layout
textarea
{
padding
:
10px
;
font-size
:
16px
;
font-size
:
1
.6rem
;
color
:
rgb
(
0
,
0
,
0
)
!
important
;
}
.widget-layout
textarea
{
width
:
97%
;
}
.widget-layout
.form-actions
{
border-top
:
1px
solid
#ccc
;
margin-top
:
10px
;
padding-top
:
10px
;
}
.widget-layout
dl
.form
{
margin-bottom
:
15px
;
}
.widget-layout
#brain_buster_captcha
{
display
:
block
;
width
:
100%
;
border-bottom
:
1px
solid
#ccc
;
margin-bottom
:
10px
;
padding-bottom
:
10px
;
}
\ No newline at end of file
cms/static/sass/base-style.scss
View file @
175e1b46
...
...
@@ -28,6 +28,7 @@
@import
'elements/modal'
;
@import
'elements/alerts'
;
@import
'elements/jquery-ui-calendar'
;
@import
'elements/tender-widget'
;
// specific views
@import
'views/account'
;
...
...
cms/templates/base.html
View file @
175e1b46
...
...
@@ -56,7 +56,6 @@
<
%
block
name=
"content"
></
%
block>
<
%
include
file=
"widgets/footer.html"
/>
<
%
include
file=
"widgets/tender.html"
/>
<
%
block
name=
"jsextra"
></
%
block>
</body>
</html>
...
...
cms/templates/widgets/footer.html
View file @
175e1b46
...
...
@@ -17,9 +17,6 @@
<li
class=
"nav-item nav-peripheral-help"
>
<a
href=
"http://help.edge.edx.org/"
rel=
"external"
>
edX Studio Help
</a>
</li>
<li
class=
"nav-item nav-peripheral-tender show-tender"
>
<a
class=
"show-tender"
href=
"http://help.edge.edx.org/discussion/new"
title=
"Use our feedback tool, Tender, to share your feedback"
>
Provide Feedback
</a>
</li>
<li
class=
"nav-item nav-peripheral-contact"
>
<a
href=
"https://www.edx.org/contact"
rel=
"external"
>
Contact edX
</a>
</li>
...
...
cms/templates/widgets/tender.html
View file @
175e1b46
% if user.is_authenticated():
<a
class=
"show-tender"
href=
"http://help.edge.edx.org/discussion/new"
title=
"Use our feedback tool, Tender, to share your feedback"
>
Provide Feedback
</a>
<script
type=
"text/javascript"
>
Tender
=
{
hideToggle
:
true
,
title
:
''
,
body
:
''
,
hide_kb
:
'true'
,
widgetToggles
:
$
(
'.show-tender'
),
widgetToggles
:
$
(
'.show-tender'
)
}
</script>
<script
src=
"https://edxedge.tenderapp.com/tender_widget.js"
type=
"text/javascript"
></script>
...
...
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