mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-13 07:29:39 +00:00
vc_vidyo: moving generic css out of Vidyo plugin
This commit is contained in:
parent
85e4d069a5
commit
bae5e615dd
@ -28,7 +28,7 @@ from indico.core.plugins import IndicoPlugin, url_for_plugin, IndicoPluginBluepr
|
||||
from indico.core import signals
|
||||
from indico.modules.vc.exceptions import VCRoomError, VCRoomNotFoundError
|
||||
from indico.modules.vc import VCPluginSettingsFormBase, VCPluginMixin
|
||||
from indico.modules.vc.views import WPVCManageEvent, WPVCEventPage
|
||||
from indico.modules.vc.views import WPVCEventPage
|
||||
from indico.util.user import retrieve_principal, principal_to_tuple
|
||||
from indico.web.forms.fields import IndicoPasswordField
|
||||
from indico.web.forms.widgets import CKEditorWidget
|
||||
@ -82,7 +82,6 @@ class VidyoPlugin(VCPluginMixin, IndicoPlugin):
|
||||
def init(self):
|
||||
super(VidyoPlugin, self).init()
|
||||
self.connect(signals.indico_help, self._extend_indico_help)
|
||||
self.inject_css('vc_vidyo_css', WPVCManageEvent)
|
||||
self.inject_js('vc_vidyo_js', WPTPLConferenceDisplay)
|
||||
self.inject_js('vc_vidyo_js', WPVCEventPage)
|
||||
|
||||
@ -302,7 +301,6 @@ class VidyoPlugin(VCPluginMixin, IndicoPlugin):
|
||||
return IndicoPluginBlueprint('vc_vidyo', __name__)
|
||||
|
||||
def register_assets(self):
|
||||
self.register_css_bundle('vc_vidyo_css', 'css/vc_vidyo.scss')
|
||||
self.register_js_bundle('vc_vidyo_js', 'js/vc_vidyo.js')
|
||||
|
||||
def add_cli_command(self, manager):
|
||||
|
||||
@ -1,60 +0,0 @@
|
||||
@import "compass/css3/transition";
|
||||
|
||||
$dropdown-transition-step: 0.05s;
|
||||
$dropdown-transition: $dropdown-transition-step ease-out;
|
||||
|
||||
%dropdown-visible {
|
||||
visibility: visible;
|
||||
opacity: 1.0;
|
||||
@include transition(visibility $dropdown-transition,
|
||||
opacity $dropdown-transition,
|
||||
height $dropdown-transition,
|
||||
padding $dropdown-transition);
|
||||
}
|
||||
|
||||
%dropdown-hidden {
|
||||
visibility: hidden;
|
||||
opacity: 0.0;
|
||||
height: 0 !important;
|
||||
padding: 0 !important;
|
||||
@include transition(visibility $dropdown-transition,
|
||||
opacity $dropdown-transition,
|
||||
height $dropdown-transition,
|
||||
padding $dropdown-transition);
|
||||
}
|
||||
|
||||
.form-block > .i-linking {
|
||||
width: 400px;
|
||||
> label {
|
||||
width: 28%;
|
||||
padding: 0.7em 0;
|
||||
}
|
||||
> .i-linking-dropdown,
|
||||
> span.static-text {
|
||||
display: inline-block !important;
|
||||
width: 65% !important;
|
||||
}
|
||||
> .i-linking-dropdown > select { width: 100%; }
|
||||
|
||||
> input:checked + label {
|
||||
+ .i-linking-dropdown,
|
||||
+ span {
|
||||
@extend %dropdown-visible;
|
||||
}
|
||||
}
|
||||
|
||||
> input:not(:checked) + label {
|
||||
+ .i-linking-dropdown,
|
||||
+ span {
|
||||
@extend %dropdown-hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.i-button.js-create-room {
|
||||
line-height: 2em;
|
||||
img {
|
||||
vertical-align: middle;
|
||||
width: 2em;
|
||||
}
|
||||
}
|
||||
@ -1,6 +0,0 @@
|
||||
<a data-vc-system="{{ plugin.service_name }}"
|
||||
class="i-button i-form-button js-create-room"
|
||||
href="{{ url_for_plugin('.manage_vc_rooms_create', event, service=plugin.service_name) }}">
|
||||
<img src="{{ plugin.icon_url }}" alt="">
|
||||
{% trans %}Create new Vidyo room{% endtrans %}
|
||||
</a>
|
||||
Loading…
x
Reference in New Issue
Block a user