diff --git a/app/assets/stylesheets/seminar.css b/app/assets/stylesheets/seminar.css new file mode 100644 index 0000000..cb2b874 --- /dev/null +++ b/app/assets/stylesheets/seminar.css @@ -0,0 +1,18 @@ +@media (max-width:767px){ + .form-group{ + justify-content:flex-start !important; + flex-wrap: wrap; + &>span{ + padding-left: 0.7em; + &>br{ + display:none; + } + } + &>.col-sm-10.controls{ + width:100%; + textarea{ + min-height: 8em; + } + } + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar.css.scss b/app/assets/stylesheets/seminar.css.scss deleted file mode 100644 index d0f9802..0000000 --- a/app/assets/stylesheets/seminar.css.scss +++ /dev/null @@ -1,3 +0,0 @@ -// Place all the styles related to the seminar controller here. -// They will automatically be included in application.css. -// You can use Sass (SCSS) here: http://sass-lang.com/ diff --git a/app/views/seminars/add_file.html.erb b/app/views/seminars/add_file.html.erb index 66bbb53..efeb748 100644 --- a/app/views/seminars/add_file.html.erb +++ b/app/views/seminars/add_file.html.erb @@ -1,5 +1,6 @@ <% # encoding: utf-8 %> <%= stylesheet_link_tag "lib/jquery-ui-1.12.1/jquery-ui.min.css" %> +<%= stylesheet_link_tag "seminar" %> <%= javascript_include_tag 'basic.js' %> <% @@session = session %> <%= yield %> diff --git a/app/views/seminars/edit_file.html.erb b/app/views/seminars/edit_file.html.erb index 99f37eb..7185a46 100644 --- a/app/views/seminars/edit_file.html.erb +++ b/app/views/seminars/edit_file.html.erb @@ -1,5 +1,6 @@ <% # encoding: utf-8 %> <%= stylesheet_link_tag "lib/jquery-ui-1.12.1/jquery-ui.min.css" %> +<%= stylesheet_link_tag "seminar" %> <%= javascript_include_tag 'basic.js' %> <% @@session = session %> <%= yield %>