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
7c68508b
Commit
7c68508b
authored
Mar 26, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
studio - finalized tender widget styling
parent
87f54532
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
123 additions
and
10 deletions
+123
-10
cms/static/sass/elements/_tender-widget.scss
+122
-10
cms/templates/widgets/tender.html
+1
-0
No files found.
cms/static/sass/elements/_tender-widget.scss
View file @
7c68508b
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
#tender_closer
{
#tender_closer
{
color
:
$blue-l2
!
important
;
color
:
$blue-l2
!
important
;
margin-top
:
1
5
px
;
margin-top
:
1
0
px
;
margin-right
:
5px
;
margin-right
:
5px
;
text-transform
:
uppercase
;
text-transform
:
uppercase
;
...
@@ -66,6 +66,7 @@
...
@@ -66,6 +66,7 @@
.widget-layout
.content
{
.widget-layout
.content
{
overflow
:
auto
;
overflow
:
auto
;
height
:
auto
!
important
;
padding
:
20px
;
padding
:
20px
;
}
}
...
@@ -110,10 +111,20 @@
...
@@ -110,10 +111,20 @@
width
:
97%
;
width
:
97%
;
}
}
.widget-layout
p
.note
{
text-align
:
right
!
important
;
display
:
inline-block
!
important
;
position
:
absolute
!
important
;
right
:
-130px
!
important
;
top
:
-5px
!
important
;
font-size
:
13px
!
important
;
opacity
:
0
.80
;
}
.widget-layout
.form-actions
{
.widget-layout
.form-actions
{
border-top
:
1px
solid
#ccc
;
margin
:
15px
0
;
margin-top
:
10px
;
border
:
none
;
padding
-top
:
10px
;
padding
:
0
;
}
}
.widget-layout
dl
.form
{
.widget-layout
dl
.form
{
...
@@ -124,19 +135,119 @@
...
@@ -124,19 +135,119 @@
padding-bottom
:
10px
;
padding-bottom
:
10px
;
}
}
.widget-layout
#brain_buster_captcha
{
.widget-layout
dl
.form
:last-child
{
border
:
none
;
padding-bottom
:
0
;
margin-bottom
:
20px
;
}
.widget-layout
dl
.form
dt
,
.widget-layout
dl
.form
dd
{
display
:
inline-block
;
vertical-align
:
middle
;
}
.widget-layout
dl
.form
dt
{
margin-right
:
15px
;
width
:
70px
;
}
.widget-layout
dl
.form
dd
{
width
:
65%
;
position
:
relative
;
}
}
// specific elements
// specific elements
.widget-layout
#discussion_body
{
.widget-layout
#discussion_body
{
margin
:
0
0
15px
0
;
}
}
.widget-layout
.category
dt
,
.widget-layout
.category
dd
{
.widget-layout
#discussion_body
:before
{
display
:
inline-block
!
important
;
content
:
"What Question or Feedback Would You Like to Share?"
;
display
:
block
;
font-size
:
14px
;
margin-bottom
:
5px
;
color
:
#4c4c4c
;
font-weight
:
500
;
}
.widget-layout
dl
#brain_buster_captcha
{
float
:
none
;
width
:
100%
;
border-top
:
1px
solid
#f2f2f2
;
margin-top
:
10px
;
padding-top
:
10px
;
}
.widget-layout
dl
#brain_buster_captcha
dd
{
display
:
block
!
important
;
}
.widget-layout
dl
#brain_buster_captcha
dd
label
{
display
:
block
;
margin
:
0
15px
0
0
!
important
;
}
.widget-layout
dl
#brain_buster_captcha
dd
#captcha_answer
{
display
:
block
;
width
:
97%
%
;
}
.widget-layout
.form-actions
.btn-post_topic
{
display
:
block
;
width
:
100%
;
height
:
auto
!
important
;
font-size
:
16px
;
font-weight
:
700
;
-webkit-box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0
.3
)
inset
,
0
0
0
rgba
(
0
,
0
,
0
,
0
);
-moz-box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0
.3
)
inset
,
0
0
0
rgba
(
0
,
0
,
0
,
0
);
box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0
.3
)
inset
,
0
0
0
rgba
(
0
,
0
,
0
,
0
);
-webkit-transition-property
:
background-color
,
0
.15s
;
-moz-transition-property
:
background-color
,
0
.15s
;
-ms-transition-property
:
background-color
,
0
.15s
;
-o-transition-property
:
background-color
,
0
.15s
;
transition-property
:
background-color
,
0
.15s
;
-webkit-transition-duration
:
box-shadow
,
0
.15s
;
-moz-transition-duration
:
box-shadow
,
0
.15s
;
-ms-transition-duration
:
box-shadow
,
0
.15s
;
-o-transition-duration
:
box-shadow
,
0
.15s
;
transition-duration
:
box-shadow
,
0
.15s
;
-webkit-transition-timing-function
:
ease-out
;
-moz-transition-timing-function
:
ease-out
;
-ms-transition-timing-function
:
ease-out
;
-o-transition-timing-function
:
ease-out
;
transition-timing-function
:
ease-out
;
-webkit-transition-delay
:
0
;
-moz-transition-delay
:
0
;
-ms-transition-delay
:
0
;
-o-transition-delay
:
0
;
transition-delay
:
0
;
border
:
1px
solid
#34854c
;
border-radius
:
3px
;
background-color
:
rgba
(
255
,
255
,
255
,
0
.3
);
background-image
:
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
color-stop
(
0%
,
rgba
(
255
,
255
,
255
,
0
.3
))
,
color-stop
(
100%
,
rgba
(
255
,
255
,
255
,
0
)));
background-image
:
-webkit-linear-gradient
(
top
,
rgba
(
255
,
255
,
255
,
0
.3
)
,
rgba
(
255
,
255
,
255
,
0
));
background-image
:
-moz-linear-gradient
(
top
,
rgba
(
255
,
255
,
255
,
0
.3
)
,
rgba
(
255
,
255
,
255
,
0
));
background-image
:
-ms-linear-gradient
(
top
,
rgba
(
255
,
255
,
255
,
0
.3
)
,
rgba
(
255
,
255
,
255
,
0
));
background-image
:
-o-linear-gradient
(
top
,
rgba
(
255
,
255
,
255
,
0
.3
)
,
rgba
(
255
,
255
,
255
,
0
));
background-image
:
linear-gradient
(
top
,
rgba
(
255
,
255
,
255
,
0
.3
)
,
rgba
(
255
,
255
,
255
,
0
));
background-color
:
#25b85a
;
-webkit-box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0
.3
)
inset
;
-moz-box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0
.3
)
inset
;
box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0
.3
)
inset
;
color
:
#fff
;
text-align
:
center
;
margin-top
:
20px
;
padding
:
10px
20px
;
}
.widget-layout
.form-actions
#private-discussion-opt
{
float
:
none
;
text-align
:
left
;
margin
:
0
0
15px
0
;
}
}
.widget-layout
.category
dt
{
.widget-layout
.form-actions
.btn-post_topic
:hover
,
.widget-layout
.form-actions
.btn-post_topic
:active
{
margin-right
:
15px
!
important
;
background-color
:
#16ca57
;
color
:
#fff
;
}
}
\ No newline at end of file
cms/templates/widgets/tender.html
View file @
7c68508b
% if user.is_authenticated():
% 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>
<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"
>
<script
type=
"text/javascript"
>
Tender
=
{
Tender
=
{
hideToggle
:
true
,
hideToggle
:
true
,
...
...
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