Commit 5a93ecca authored by Peter Oppermann's avatar Peter Oppermann Committed by Peter Tönnies

Put styles for dashboard in its own file

parent 84b34bd5
#activity ul.linklist li span.time{margin-left:58px;display:block;margin-top:10px;}
#activity ul.linklist li span.qr
{
margin-left:58px;
border-radius: 3px;
opacity:0.5;
}
#activity ul.linklist li span.qr:hover
{
opacity:1;
}
#activity ul.linklist li span.qr img
{
height:32px;
width:32px;
margin-right:-35px;
border-right:1px solid #ffffff;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
#activity ul.linklist li span.qr textarea, #activity ul.linklist li span.qr .loader
{
border: 0 none;
height: 16px;
margin-left: 36px;
padding: 8px;
width: 78.6%;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
margin-right:-30px;
background-color:#F9F9F9;
}
#activity ul.linklist li span.qr .loader
{
background-color: #ffffff;
position: relative;
text-align: left;
top: -10px;
}
#activity ul.linklist li span.t span.txt {
overflow: hidden;
text-overflow: unset;
white-space: normal;
padding-left:10px;
border-left:2px solid #4A3520;
margin-bottom:10px;
display:block;
}
#activity ul.linklist li span
{
color:#4A3520;
}
#activity ul.linklist li span a
{
color:#46891b !important;
}
#activity span.n i.fa
{
display:inline-block;
width:11px;
text-align:center;
}
#activity span.n small
{
float:right;
opacity:0.8;
font-size:12px;
}
#activity ul.linklist li span a:hover
{
text-decoration:underline !important;
color:#46891b !important;
}
#activity ul.linklist li
{
margin-bottom:10px;
background-color:#ffffff;
padding:10px;
border-radius: 6px;
}
ul.linklist li span.n
{
font-weight:normal;
font-size:13px;
margin-bottom:10px;
text-overflow: unset;
white-space: inherit;
}
@media (max-width: 900px)
{
#activity ul.linklist li span.qr textarea, #activity ul.linklist li span.qr .loader
{
width:74.6%;
}
}
@media (max-width: 400px)
{
ul.linklist li span.n
{
height:55px;
}
#activity ul.linklist li span.qr textarea, #activity ul.linklist li span.qr .loader
{
width:82%;
}
#activity ul.linklist li span.time, #activity ul.linklist li span.qr
{
margin-left:0px;
}
#activity span.n small
{
float:none;
display:block;
}
}
\ No newline at end of file
......@@ -2,5 +2,6 @@ import '@/core'
import '@/globals'
import activity from '@/activity'
import './Dashboard.css'
activity.init()
......@@ -31,131 +31,6 @@ class DashboardView extends View
public function updates()
{
$this->pageHelper->addStyle('
#activity ul.linklist li span.time{margin-left:58px;display:block;margin-top:10px;}
#activity ul.linklist li span.qr
{
margin-left:58px;
border-radius: 3px;
opacity:0.5;
}
#activity ul.linklist li span.qr:hover
{
opacity:1;
}
#activity ul.linklist li span.qr img
{
height:32px;
width:32px;
margin-right:-35px;
border-right:1px solid #ffffff;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
#activity ul.linklist li span.qr textarea, #activity ul.linklist li span.qr .loader
{
border: 0 none;
height: 16px;
margin-left: 36px;
padding: 8px;
width: 78.6%;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
margin-right:-30px;
background-color:#F9F9F9;
}
#activity ul.linklist li span.qr .loader
{
background-color: #ffffff;
position: relative;
text-align: left;
top: -10px;
}
#activity ul.linklist li span.t span.txt {
overflow: hidden;
text-overflow: unset;
white-space: normal;
padding-left:10px;
border-left:2px solid #4A3520;
margin-bottom:10px;
display:block;
}
#activity ul.linklist li span
{
color:#4A3520;
}
#activity ul.linklist li span a
{
color:#46891b !important;
}
#activity span.n i.fa
{
display:inline-block;
width:11px;
text-align:center;
}
#activity span.n small
{
float:right;
opacity:0.8;
font-size:12px;
}
#activity ul.linklist li span a:hover
{
text-decoration:underline !important;
color:#46891b !important;
}
#activity ul.linklist li
{
margin-bottom:10px;
background-color:#ffffff;
padding:10px;
border-radius: 6px;
}
ul.linklist li span.n
{
font-weight:normal;
font-size:13px;
margin-bottom:10px;
text-overflow: unset;
white-space: inherit;
}
@media (max-width: 900px)
{
#activity ul.linklist li span.qr textarea, #activity ul.linklist li span.qr .loader
{
width:74.6%;
}
}
@media (max-width: 400px)
{
ul.linklist li span.n
{
height:55px;
}
#activity ul.linklist li span.qr textarea, #activity ul.linklist li span.qr .loader
{
width:82%;
}
#activity ul.linklist li span.time, #activity ul.linklist li span.qr
{
margin-left:0px;
}
#activity span.n small
{
float:none;
display:block;
}
}
');
$this->pageHelper->addContent('
<div class="head ui-widget-header ui-corner-top">
Updates-Übersicht<span class="option"><a id="activity-option" href="#activity-listings" class="fas fa-cog"></a></span>
......
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