mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Added new flickr and youtube blocks (for the tag pages). Very nice, Luiz!
This commit is contained in:
parent
8bdd8660bf
commit
e3ff328b09
2 changed files with 177 additions and 166 deletions
|
@ -50,6 +50,7 @@ echo '<br/>';
|
||||||
|
|
||||||
print_tag_management_list();
|
print_tag_management_list();
|
||||||
|
|
||||||
|
|
||||||
echo '<br/>';
|
echo '<br/>';
|
||||||
|
|
||||||
print_footer();
|
print_footer();
|
||||||
|
|
|
@ -384,7 +384,7 @@ img.emoticon {
|
||||||
|
|
||||||
form.popupform,
|
form.popupform,
|
||||||
form.popupform div {
|
form.popupform div {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
form.popupform label {
|
form.popupform label {
|
||||||
|
@ -582,9 +582,9 @@ form#adminsettings div.htmlarea {
|
||||||
|
|
||||||
/* form frozen */
|
/* form frozen */
|
||||||
div.mform div.fitem div.fstatic{
|
div.mform div.fitem div.fstatic{
|
||||||
border-color : lime;
|
border-color : lime;
|
||||||
border-style : dashed;
|
border-style : dashed;
|
||||||
border-width : thin;
|
border-width : thin;
|
||||||
}
|
}
|
||||||
|
|
||||||
#admin-register .mform .fsubmit {
|
#admin-register .mform .fsubmit {
|
||||||
|
@ -723,7 +723,7 @@ table.navbar {
|
||||||
|
|
||||||
.navigation ul li form fieldset,
|
.navigation ul li form fieldset,
|
||||||
.navigation ul li form div select {
|
.navigation ul li form div select {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navigation optgroup {
|
.navigation optgroup {
|
||||||
|
@ -914,7 +914,7 @@ body#admin-modules table.generaltable td.c0
|
||||||
|
|
||||||
#admin-roles-manage .selector,
|
#admin-roles-manage .selector,
|
||||||
#admin-roles-override .selector {
|
#admin-roles-override .selector {
|
||||||
text-align:center;
|
text-align:center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#admin-roles-manage table.roledesc,
|
#admin-roles-manage table.roledesc,
|
||||||
|
@ -1052,7 +1052,7 @@ body#admin-modules table.generaltable td.c0
|
||||||
}
|
}
|
||||||
|
|
||||||
.environmentbox {
|
.environmentbox {
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-buttons {
|
.form-buttons {
|
||||||
|
@ -1289,17 +1289,17 @@ a.skip-block, .skip-block {
|
||||||
}
|
}
|
||||||
|
|
||||||
.blockconfigtable td.label {
|
.blockconfigtable td.label {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.blockconfigtable td.value {
|
.blockconfigtable td.value {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.blockconfigtable td.submit {
|
.blockconfigtable td.submit {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.blockconfiginstancecontent .tabs {
|
.blockconfiginstancecontent .tabs {
|
||||||
|
@ -1345,6 +1345,19 @@ a.skip-block, .skip-block {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.block_tag_youtube .youtube-thumb {
|
||||||
|
width:75px;
|
||||||
|
height:50px;
|
||||||
|
}
|
||||||
|
.block_tag_youtube .yt-video-entry{
|
||||||
|
font-size:10px;
|
||||||
|
line-height:11px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.block_tag_flickr .flickr-photos {
|
||||||
|
padding:3px;
|
||||||
|
}
|
||||||
|
|
||||||
/***
|
/***
|
||||||
*** Blogs
|
*** Blogs
|
||||||
***/
|
***/
|
||||||
|
@ -1664,9 +1677,9 @@ border-width:0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sideblock .content h3.eventskey {
|
.sideblock .content h3.eventskey {
|
||||||
margin-top:0.5em;
|
margin-top:0.5em;
|
||||||
margin-bottom:0;
|
margin-bottom:0;
|
||||||
margin-left:0.5em;
|
margin-left:0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/***
|
/***
|
||||||
|
@ -2431,8 +2444,8 @@ body#message-messages {
|
||||||
*** Notes
|
*** Notes
|
||||||
***/
|
***/
|
||||||
.notepost {
|
.notepost {
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
background-color: #EEE;
|
background-color: #EEE;
|
||||||
}
|
}
|
||||||
.sitenotepost {
|
.sitenotepost {
|
||||||
}
|
}
|
||||||
|
@ -2442,33 +2455,33 @@ body#message-messages {
|
||||||
}
|
}
|
||||||
|
|
||||||
.ownnotepost .info {
|
.ownnotepost .info {
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notepost .header {
|
.notepost .header {
|
||||||
background: #DDD;
|
background: #DDD;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notepost .user {
|
.notepost .user {
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notepost .userpicture {
|
.notepost .userpicture {
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notepost .info {
|
.notepost .info {
|
||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notepost .content {
|
.notepost .content {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notepost .footer {
|
.notepost .footer {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
/***
|
/***
|
||||||
|
@ -2759,211 +2772,208 @@ ul.tabrow1 li.here.selected a {
|
||||||
***/
|
***/
|
||||||
|
|
||||||
h2.tag-heading {
|
h2.tag-heading {
|
||||||
text-align:center;
|
text-align:center;
|
||||||
margin-left:auto;
|
margin-left:auto;
|
||||||
margin-right:auto;
|
margin-right:auto;
|
||||||
display:block;
|
display:block;
|
||||||
width:95%;
|
width:95%;
|
||||||
padding: 5px 5px 5px 5px;
|
padding: 5px 5px 5px 5px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div#tag-description {
|
div#tag-description {
|
||||||
width:95%;
|
width:95%;
|
||||||
padding: 5px 5px 5px 5px;
|
padding: 5px 5px 5px 5px;
|
||||||
margin-left:auto;
|
margin-left:auto;
|
||||||
margin-right:auto;
|
margin-right:auto;
|
||||||
display:block;
|
display:block;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#tag-management-box {
|
div#tag-management-box {
|
||||||
margin-bottom:10px;
|
margin-bottom:10px;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
line-height:20px;
|
line-height:20px;
|
||||||
display:block;
|
display:block;
|
||||||
font-size:12px;
|
font-size:12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#tag-user-table {
|
div#tag-user-table {
|
||||||
padding:3px;
|
padding:3px;
|
||||||
width:95%;
|
width:95%;
|
||||||
margin-left:auto;
|
margin-left:auto;
|
||||||
margin-right:auto;
|
margin-right:auto;
|
||||||
display:table;
|
display:table;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.user-box {
|
div.user-box {
|
||||||
margin-left:10px;
|
margin-left:8px;
|
||||||
margin-right:10px;
|
margin-right:8px;
|
||||||
margin-top:5px;
|
margin-top:8px;
|
||||||
margin-bottom:5px;
|
margin-bottom:8px;
|
||||||
width:110px;
|
width:115px;
|
||||||
height:160px;
|
height:160px;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
display:block;
|
display:block;
|
||||||
float:left;
|
float:left;
|
||||||
}
|
}
|
||||||
|
|
||||||
img.user-image {
|
img.user-image {
|
||||||
border:0px;
|
border:0px;
|
||||||
height:100px;
|
height:100px;
|
||||||
width:100px;
|
width:100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#small-tag-cloud-box {
|
div#small-tag-cloud-box {
|
||||||
width:300px;
|
width:300px;
|
||||||
margin-left:auto;
|
margin-left:auto;
|
||||||
margin-right:auto;
|
margin-right:auto;
|
||||||
margin-bottom:0px;
|
margin-bottom:0px;
|
||||||
margin-top:0px;
|
margin-top:0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#big-tag-cloud-box {
|
div#big-tag-cloud-box {
|
||||||
width:600px;
|
width:600px;
|
||||||
margin-left:auto;
|
margin-left:auto;
|
||||||
margin-right:auto;
|
margin-right:auto;
|
||||||
margin-bottom:0px;
|
margin-bottom:0px;
|
||||||
margin-top:0px;
|
margin-top:0px;
|
||||||
display:block;
|
display:block;
|
||||||
float:none;
|
float:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul#tag-cloud-list {
|
ul#tag-cloud-list {
|
||||||
list-style:none;
|
list-style:none;
|
||||||
padding:5px;
|
padding:5px;
|
||||||
margin:0px;
|
margin:0px;
|
||||||
list-style-type:none;
|
list-style-type:none;
|
||||||
}
|
}
|
||||||
ul#tag-cloud-list li {
|
ul#tag-cloud-list li {
|
||||||
margin:0px;
|
margin:0px;
|
||||||
display:inline;
|
display:inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* search start*/
|
/* search start*/
|
||||||
|
|
||||||
div#tag-search-box {
|
div#tag-search-box {
|
||||||
text-align:center;
|
text-align:center;
|
||||||
margin-left:auto;
|
margin-left:auto;
|
||||||
margin-right:auto;
|
margin-right:auto;
|
||||||
margin-top:10px;
|
margin-top:10px;
|
||||||
margin-bottom:10px;
|
margin-bottom:10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#tag-search-results-container {
|
div#tag-search-results-container {
|
||||||
padding:0px;
|
padding:0px;
|
||||||
width:100%;
|
width:100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul#tag-search-results {
|
ul#tag-search-results {
|
||||||
padding:0px;
|
padding:0px;
|
||||||
margin-left:20%;
|
margin-left:20%;
|
||||||
margin-right:20%;
|
margin-right:20%;
|
||||||
margin-top:15px;
|
margin-top:15px;
|
||||||
margin-bottom:0px;
|
margin-bottom:0px;
|
||||||
float:left;
|
float:left;
|
||||||
width:60%;
|
width:60%;
|
||||||
display:block;
|
display:block;
|
||||||
list-style:none;
|
list-style:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul#tag-search-results li{
|
ul#tag-search-results li{
|
||||||
|
|
||||||
width:30%;
|
width:30%;
|
||||||
float:left;
|
float:left;
|
||||||
padding-left:1%;
|
padding-left:1%;
|
||||||
text-align:left;
|
text-align:left;
|
||||||
line-height:20px;
|
line-height:20px;
|
||||||
padding-right:1%;
|
padding-right:1%;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div#tags-management-links {
|
div#tags-management-links {
|
||||||
text-align:right;
|
text-align:right;
|
||||||
display:block;
|
display:block;
|
||||||
font-size:12px;
|
font-size:12px;
|
||||||
|
|
||||||
}
|
}
|
||||||
/* search end*/
|
/* search end*/
|
||||||
|
|
||||||
/* tag management start*/
|
/* tag management start*/
|
||||||
span.flagged-tag {
|
span.flagged-tag {
|
||||||
color:#FF0000;
|
color:#FF0000;
|
||||||
}
|
}
|
||||||
span.flagged-tag a{
|
span.flagged-tag a{
|
||||||
color:#FF0000;
|
color:#FF0000;
|
||||||
}
|
}
|
||||||
|
|
||||||
table#tag-management-list {
|
table#tag-management-list {
|
||||||
text-align:left;
|
text-align:left;
|
||||||
margin-left:auto;
|
margin-left:auto;
|
||||||
margin-right:auto;
|
margin-right:auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
table#tag-management-list tr td{
|
table#tag-management-list tr td{
|
||||||
padding-left:4px;
|
padding-left:4px;
|
||||||
padding-right :4px;
|
padding-right :4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
form#tag-management-form {
|
form#tag-management-form {
|
||||||
text-align:center;
|
text-align:center;
|
||||||
}
|
}
|
||||||
/* tag management end*/
|
/* tag management end*/
|
||||||
|
|
||||||
/* autocomplete start*/
|
/* autocomplete start*/
|
||||||
#relatedtags-autocomplete-container
|
#relatedtags-autocomplete-container {
|
||||||
{
|
margin-left:auto;
|
||||||
margin-left:auto;
|
margin-right:auto;
|
||||||
margin-right:auto;
|
min-height:4.6em;
|
||||||
min-height:4.6em;
|
width:100%;
|
||||||
width:100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#relatedtags-autocomplete {
|
#relatedtags-autocomplete {
|
||||||
position:relative;
|
position:relative;
|
||||||
display:block;
|
display:block;
|
||||||
width:60%;
|
width:60%;
|
||||||
margin-left:auto;
|
margin-left:auto;
|
||||||
margin-right:auto;
|
margin-right:auto;
|
||||||
}
|
}
|
||||||
#relatedtags-autocomplete .yui-ac-content
|
#relatedtags-autocomplete .yui-ac-content {
|
||||||
{
|
position:absolute;
|
||||||
position:absolute;
|
width:420px;
|
||||||
width:420px;
|
left:53%;
|
||||||
left:53%;
|
border:1px solid #404040;
|
||||||
border:1px solid #404040;
|
background:#fff;
|
||||||
background:#fff;
|
overflow:hidden;
|
||||||
overflow:hidden;
|
z-index:9050;
|
||||||
z-index:9050;
|
|
||||||
}
|
}
|
||||||
#relatedtags-autocomplete .ysearchquery
|
#relatedtags-autocomplete .ysearchquery {
|
||||||
{
|
position:absolute;
|
||||||
position:absolute;
|
right:10px;
|
||||||
right:10px;
|
color:#808080;
|
||||||
color:#808080;
|
z-index:10;
|
||||||
z-index:10;
|
|
||||||
}
|
}
|
||||||
#relatedtags-autocomplete .yui-ac-shadow {
|
#relatedtags-autocomplete .yui-ac-shadow {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
margin:.3em;
|
margin:.3em;
|
||||||
width:100%;
|
width:100%;
|
||||||
background:#a0a0a0;
|
background:#a0a0a0;
|
||||||
z-index:9049;
|
z-index:9049;
|
||||||
}
|
}
|
||||||
#relatedtags-autocomplete ul {
|
#relatedtags-autocomplete ul {
|
||||||
padding:0;width:100%;
|
padding:0;width:100%;
|
||||||
margin:0;
|
margin:0;
|
||||||
list-style-type:none;
|
list-style-type:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#relatedtags-autocomplete li {
|
#relatedtags-autocomplete li {
|
||||||
padding:0 5px;
|
padding:0 5px;
|
||||||
cursor:default;
|
cursor:default;
|
||||||
white-space:
|
white-space:
|
||||||
nowrap;
|
nowrap;
|
||||||
}
|
}
|
||||||
#relatedtags-autocomplete li.yui-ac-highlight
|
#relatedtags-autocomplete li.yui-ac-highlight
|
||||||
{
|
{
|
||||||
background:#FFFFCC;
|
background:#FFFFCC;
|
||||||
}
|
}
|
||||||
/* autocomplete end*/
|
/* autocomplete end*/
|
||||||
|
|
||||||
|
@ -3699,26 +3709,26 @@ table.quizreviewsummary td.cell {
|
||||||
}
|
}
|
||||||
|
|
||||||
#mod-quiz-mod #reviewoptionshdr .fitem {
|
#mod-quiz-mod #reviewoptionshdr .fitem {
|
||||||
float: left;
|
float: left;
|
||||||
width: 30%;
|
width: 30%;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
clear: none;
|
clear: none;
|
||||||
}
|
}
|
||||||
#mod-quiz-mod #reviewoptionshdr .fitemtitle {
|
#mod-quiz-mod #reviewoptionshdr .fitemtitle {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
height: 2.5em;
|
height: 2.5em;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
#mod-quiz-mod #reviewoptionshdr fieldset.fgroup {
|
#mod-quiz-mod #reviewoptionshdr fieldset.fgroup {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
#mod-quiz-mod #reviewoptionshdr fieldset.fgroup span {
|
#mod-quiz-mod #reviewoptionshdr fieldset.fgroup span {
|
||||||
float: left;
|
float: left;
|
||||||
clear: left;
|
clear: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mod-quiz-edit #page .controls,
|
#mod-quiz-edit #page .controls,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue