Compare commits

...
This repository has been archived on 2024-08-19. You can view files and clone it, but cannot push or open issues or pull requests.

16 Commits

Author SHA1 Message Date
Rintan
3e510158c1 既知の問題の修正、アイコンの最適化など 2019-05-10 19:13:45 +09:00
Rintan
aed49e7e30 影の変更、トップバーの高さ調整 2019-05-05 21:49:19 +09:00
Rintan
b0ae0e8cfc 衝突回避 2019-05-03 23:10:16 +09:00
Rintan
d4b1e369dd 今度こそ修正 2019-05-03 23:07:49 +09:00
harukin
23bede9197 残ってそうなgoogleを抹消 2019-05-03 23:01:36 +09:00
Rintan
6f5ee22e3a self hostingを模索 2019-05-03 22:55:18 +09:00
harukin
3d3eb47e9f headのcsp消してみる 2019-05-03 21:39:28 +09:00
Rintan
b96c6e323d CSPの修正を試行 2019-05-03 20:31:22 +09:00
Rintan
24e05240cc ここに追記しても反映されますかね?よろしくお願いします。 2019-05-02 20:57:53 +09:00
Rintan Broadleaf
7fcc3b7d8a スマホから簡単に修正してみました。まだ読み込めませんので、夕方にまた別の修正出します。 2019-05-02 08:30:07 +09:00
harukin
fe81c32ab1 headファイル追加したはず。これに追記することでmetaとかcspとかできそう。 2019-05-02 00:33:13 +09:00
harukin
b9c6ed1a08 アイコン、headに復活? 2019-05-02 00:17:00 +09:00
harukin
f8663454b0 パス修正 2019-05-02 00:03:17 +09:00
harukin
60e3bf779c icons.cssもヘッダーに追加! 2019-05-01 23:54:30 +09:00
harukin
28a251e809 css実装位置変更(多分これでいいはず) 2019-05-01 23:49:56 +09:00
Rintan
b73c4f8f74 マテリアルアイコンの導入実験
Hubzillaで現在のテーマをすぐに置き換えず、テスト用のテーマを別に作成して適用してください。
2019-05-01 16:11:32 +09:00
8 changed files with 118 additions and 4 deletions

View File

@ -0,0 +1,72 @@
/* include icon font */
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url(fonts/MaterialIcons-Regular.woff2) format('woff2'),
url(fonts/MaterialIcons-Regular.woff) format('woff'),
url(fonts/MaterialIcons-Regular.ttf) format('truetype');
}
/* define icon font */
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;
/* Support for IE. */
font-feature-settings: 'liga';
}
/* material icon font settings */
.fa-th,
.fa-community,
.fa-group,
.fa-users,
.fa-stack-exchange,
.fa-user-circle,
.fa-address-book,
.fa-street-view,
.fa-bell,
.fa-cog,
.fa-gear,
.fa-search,
.fa-question-circle,
.fa-smile-o,
.fa-thumbs-o-up,
.fa-thumbs-o-down {
font-family: "Material Icons";
font-size: 20px;
}
.fa-th::before { content: "apps" }
.fa-community::before, .fa-group::before, .fa-users::before { content: "people" }
.fa-stack-exchange::before { content: "view_headline" }
.fa-user-circle::before { content: "account_circle" }
.fa-address-book::before { content: "contacts" }
.fa-street-view::before { content: "group_work" }
.fa-bell::before { content: "notifications" }
.fa-cog::before, .fa-gear::before { content: "settings" }
.fa-search::before { content: "search" }
.fa-question-circle::before { content: "help" }
.fa-smile-o::before { content: "insert_emoticon" }
.fa-thumbs-o-up::before { content: "thumb_up" }
.fa-thumbs-o-down::before { content: "thumb_down" }

View File

@ -1113,8 +1113,9 @@ img.mail-conv-sender-photo {
.wall-item-content-wrapper {
background-color: $item_colour;
border-top-right-radius: $radius;
border-top-left-radius: $radius;
border-top-right-radius: 2px;
border-top-left-radius: 2px;
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
}
.wall-item-content-wrapper.comment {
@ -1496,7 +1497,8 @@ blockquote {
.navbar {
z-index: 1030;
filter: drop-shadow(0px 0px 3px rgba(75, 75, 75, 0.678));
box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.3);
height: 58px;
}
.navbar-dark .navbar-nav .nav-link,
@ -1933,7 +1935,7 @@ dl.bb-dl > dd > li {
}
#user_menu > ul > li > a > i {
font-size: 130%;
margin: 0 20px 0px -20px;
margin: 0 16px 0px -16px;
}
#user_menu > ul > li > a > p {
margin-bottom: 0.5rem;
@ -2284,3 +2286,17 @@ nav .navbar-nav > .text-truncate {
position: absolute;
left: -215px;
}
.p-2 {
padding: 12px 16px !important;
}
.btn-outline-secondary {
border-color: #ffffff00;
}
#jot-text-wrap {
background-color: #ffffff;
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
padding: 4px;
}

View File

@ -6,6 +6,7 @@ head_add_css('/library/bootstrap-tagsinput/bootstrap-tagsinput.css');
head_add_css('/view/css/bootstrap-red.css');
head_add_css('/library/datetimepicker/jquery.datetimepicker.css');
head_add_css('/library/bootstrap-colorpicker/dist/css/bootstrap-colorpicker.min.css');
head_add_css('/view/theme/plusfuture/css/icons.css');
require_once('view/php/theme_init.php');
head_add_js('/vendor/twbs/bootstrap/dist/js/bootstrap.bundle.min.js');

View File

@ -0,0 +1,20 @@
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<base href="{{$baseurl}}/" />
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable={{$user_scalable}}" />
{{$metas}}
{{$head_css}}
{{$js_strings}}
{{$head_js}}
{{$linkrel}}
{{$plugins}}
<script>
var updateInterval = {{$update_interval}};
var localUser = {{if $local_channel}}{{$local_channel}}{{else}}false{{/if}};
var zid = {{if $zid}}'{{$zid}}'{{else}}null{{/if}};
var justifiedGalleryActive = false;
{{if $channel_hash}}var channelHash = '{{$channel_hash}}';{{/if}}
{{if $channel_id}}var channelId = '{{$channel_id}}';{{/if}}{{* Used in e.g. autocomplete *}}
var preloadImages = {{$preload_images}};
</script>

View File

@ -1,3 +1,8 @@
<head>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
</head>
<div style="display: flex;">
<button id="expand-aside" type="button" class="d-lg-none navbar-toggler border-0" data-toggle="offcanvas" data-target="#region_1">
<i class="fa fa-bars" id="expand-aside-icon"></i>