Commit 75c2a119 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix forum subscribe buttons and forum settings page

parent 3d5dd018
......@@ -69,7 +69,7 @@ class PluginInteractionForum extends PluginInteraction {
'fieldset' => array(
'type' => 'fieldset',
'collapsible' => true,
'collapsed' => true,
'collapsed' => false,
'legend' => get_string('settings'),
'elements' => array(
'autosubscribe' => array(
......
......@@ -32,15 +32,6 @@
#viewforum {
padding: .25em;
}
#subscribe_forum,
#subscribe_topic {
display: inline;
margin: 0 0 0 2em;
}
#subscribe_forum div,
#subscribe_topic div {
display: inline;
}
.btn-subscribe input.submit {
background: url(../images/icon-subscribe.gif) no-repeat left 5px;
font-weight: bold;
......@@ -49,6 +40,8 @@
padding-left: 1em;
cursor: pointer;
border: none;
width: 1;
overflow: visible;
}
......
......@@ -84,7 +84,7 @@ abstract class PluginInteraction extends Plugin {
'type' => 'wysiwyg',
'title' => get_string('description'),
'rows' => 10,
'cols' => 70,
'cols' => 60,
'defaultvalue' => (isset($instance) ? $instance->get('description') : ''),
'rules' => array(
'required' => true,
......
......@@ -135,27 +135,6 @@ table.tablerenderer th.desc {
}
.userlisttable .lrbuttons button {
margin: .25em 0;
}
.userlisttable .lrfieldlists {
width: 50%;
}
.userlisttable .searchtd {
padding: .25em;
}
.userlisttable tr th {
text-align: left;
padding: 0 .25em !important;
font-size: .9em;
color: #333;
}
.userlisttable th,
.userlisttable td {
padding: 0 .25em;
}
/* MANAGE USERS > EDIT USER */
#edituser hr {
......
......@@ -659,6 +659,28 @@ fieldset.collapsed legend a {
padding-right: 1em;
}
/* Userlists used in admin section and on edit interaction form */
.userlisttable .lrbuttons {
text-align: center;
}
.userlisttable .lrbuttons button {
margin: .25em 0;
}
.userlisttable .lrfieldlists {
width: 50%;
padding: 0;
margin: 0;
}
.userlisttable .searchtd {
padding: .25em;
}
.userlisttable tr th {
text-align: left;
padding: 0;
font-size: .9em;
color: #333;
}
/* Specific page rules */
......@@ -937,3 +959,7 @@ p.progress-text {
font-weight: normal;
}
/* Interaction settings */
tr#edit_interaction_autosubscribe_container th {
white-space: normal;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment