Pārlūkot izejas kodu

Allow for stylesheets to have optional "additions"

undefined
spaghetti pirms 7 gadiem
committed by Tomochin
vecāks
revīzija
90998c2597
2 mainītis faili ar 6 papildinājumiem un 2 dzēšanām
  1. +6
    -1
      design/privateheader.php
  2. +0
    -1
      static/styles/global.css

+ 6
- 1
design/privateheader.php Parādīt failu

@@ -131,7 +131,12 @@ if ($NotificationsManager->is_skipped(NotificationsManager::SUBSCRIPTIONS)) {
}
?>
</head>
<body id="<?=$Document == 'collages' ? 'collage' : $Document?>">
<?
if (!empty(G::$LoggedUser['StyleAdditions'])) {
$BodyStyles = 'style_'.implode(' style_', G::$LoggedUser['StyleAdditions']);
}
?>
<body id="<?=$Document == 'collages' ? 'collage' : $Document?>" class="<?=($BodyStyles??'')?>">
<div id="wrapper">
<h1 class="hidden"><?=SITE_NAME?></h1>
<div id="header">


+ 0
- 1
static/styles/global.css Parādīt failu

@@ -512,7 +512,6 @@ tr.torrent .bookmark>a:after {
}
/* Stylesheet gallery in user profile editing */
#css_gallery {
display: none;
overflow: hidden;
margin-top: 10px;
}


Notiek ielāde…
Atcelt
Saglabāt