mirror of
https://github.com/friendica/friendica
synced 2024-11-18 02:23:40 +00:00
Merge pull request #14278 from haheute/hide-inflated
Hide inflated widgets when Javascript is off
This commit is contained in:
commit
b2cddef723
13 changed files with 19 additions and 16 deletions
|
@ -1,4 +1,4 @@
|
|||
<span id="circle-sidebar-inflated" class="widget fakelink" onclick="openCloseWidget('circle-sidebar', 'circle-sidebar-inflated');">
|
||||
<span id="circle-sidebar-inflated" class="widget inflated fakelink" onclick="openCloseWidget('circle-sidebar', 'circle-sidebar-inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div class="widget" id="circle-sidebar">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<span id="sidebar-accounts-inflated" class="widget fakelink" onclick="openCloseWidget('sidebar-accounts', 'sidebar-accounts-inflated');">
|
||||
<span id="sidebar-accounts-inflated" class="widget inflated fakelink" onclick="openCloseWidget('sidebar-accounts', 'sidebar-accounts-inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div id="sidebar-accounts" class="widget">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<span id="sidebar-community-no-sharer-inflated" class="widget fakelink" onclick="openCloseWidget('sidebar-community-no-sharer', 'sidebar-community-no-sharer-inflated');">
|
||||
<span id="sidebar-community-no-sharer-inflated" class="widget inflated fakelink" onclick="openCloseWidget('sidebar-community-no-sharer', 'sidebar-community-no-sharer-inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div id="sidebar-community-no-sharer" class="widget">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<span id="{{$type}}-sidebar-inflated" class="widget fakelink" onclick="openCloseWidget('{{$type}}-sidebar', '{{$type}}-sidebar-inflated');">
|
||||
<span id="{{$type}}-sidebar-inflated" class="widget inflated fakelink" onclick="openCloseWidget('{{$type}}-sidebar', '{{$type}}-sidebar-inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div id="{{$type}}-sidebar" class="widget">
|
||||
|
|
|
@ -12,7 +12,7 @@ function showHideGroupList() {
|
|||
}
|
||||
</script>
|
||||
<span id="group-list-sidebar-frame">
|
||||
<span id="group-list-sidebar-inflated" class="widget fakelink" onclick="openCloseWidget('group-list-sidebar', 'group-list-sidebar-inflated');">
|
||||
<span id="group-list-sidebar-inflated" class="widget inflated fakelink" onclick="openCloseWidget('group-list-sidebar', 'group-list-sidebar-inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div id="group-list-sidebar" class="widget">
|
||||
|
|
|
@ -11,7 +11,7 @@ function showHideDates() {
|
|||
}
|
||||
</script>
|
||||
|
||||
<span id="datebrowse-sidebar-inflated" class="widget fakelink" onclick="openCloseWidget('datebrowse-sidebar', 'datebrowse-sidebar-inflated');">
|
||||
<span id="datebrowse-sidebar-inflated" class="widget inflated fakelink" onclick="openCloseWidget('datebrowse-sidebar', 'datebrowse-sidebar-inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div id="datebrowse-sidebar" class="widget">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<span id="saved-search-list-inflated" class="widget fakelink" onclick="openCloseWidget('saved-search-list', 'saved-search-list-inflated');">
|
||||
<span id="saved-search-list-inflated" class="widget inflated fakelink" onclick="openCloseWidget('saved-search-list', 'saved-search-list-inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div class="widget" id="saved-search-list">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<span id="tagblock-inflated" class="widget fakelink" onclick="openCloseWidget('tagblock', 'tagblock-inflated');">
|
||||
<span id="tagblock-inflated" class="widget inflated fakelink" onclick="openCloseWidget('tagblock', 'tagblock-inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div id="tagblock" class="tagblock widget">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<span id="trending-tags-sidebar-inflated" class="widget fakelink" onclick="openCloseWidget('trending-tags-sidebar', 'trending-tags-sidebar-inflated');">
|
||||
<span id="trending-tags-sidebar-inflated" class="widget inflated fakelink" onclick="openCloseWidget('trending-tags-sidebar', 'trending-tags-sidebar-inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div id="trending-tags-sidebar" class="widget">
|
||||
|
|
|
@ -90,6 +90,9 @@ blockquote {
|
|||
max-height: 0px !important;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
.inflated {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* details tag
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<span id="circle-sidebar-inflated" class="widget fakelink" onclick="openCloseWidget('circle-sidebar', 'circle-sidebar-inflated');">
|
||||
<span id="circle-sidebar-inflated" class="widget inflated fakelink" onclick="openCloseWidget('circle-sidebar', 'circle-sidebar-inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div class="widget" id="circle-sidebar">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{if $saved}}
|
||||
<span id="saved-search-list-inflated" class="widget fakelink" onclick="openCloseWidget('saved-search-list', 'saved-search-list-inflated');">
|
||||
<span id="saved-search-list-inflated" class="widget inflated fakelink" onclick="openCloseWidget('saved-search-list', 'saved-search-list-inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div class="widget" id="saved-search-list">
|
||||
|
|
|
@ -312,7 +312,7 @@ a:hover {
|
|||
.right {
|
||||
float: right;
|
||||
}
|
||||
.hidden {
|
||||
.hidden, .inflated {
|
||||
display: none;
|
||||
}
|
||||
.clear {
|
||||
|
|
Loading…
Reference in a new issue