Просмотр исходного кода

Allow for stylesheets to have optional "additions"

undefined
spaghetti 7 лет назад
committed by Tomochin
Родитель
Сommit
90998c2597
2 измененных файлов: 6 добавлений и 2 удалений
  1. +6
    -1
      design/privateheader.php
  2. +0
    -1
      static/styles/global.css

+ 6
- 1
design/privateheader.php Просмотреть файл

@@ -131,7 +131,12 @@ if ($NotificationsManager->is_skipped(NotificationsManager::SUBSCRIPTIONS)) {
} }
?> ?>
</head> </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"> <div id="wrapper">
<h1 class="hidden"><?=SITE_NAME?></h1> <h1 class="hidden"><?=SITE_NAME?></h1>
<div id="header"> <div id="header">


+ 0
- 1
static/styles/global.css Просмотреть файл

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


Загрузка…
Отмена
Сохранить