diff options
author | anekos | 2013-01-20 22:25:29 +0900 |
---|---|---|
committer | anekos | 2013-01-20 22:25:29 +0900 |
commit | 334c1ad154d3edfb27eba18c583cf4fc40f6cd08 (patch) | |
tree | e246d097299a21098c9b1070c0a51091c955feff /twittperator | |
parent | ddc08a2970b54778b6a64c3b7cd8a5e6f749a9fd (diff) | |
download | vimperator-plugins-334c1ad154d3edfb27eba18c583cf4fc40f6cd08.tar.bz2 |
以前の名前横の表示を選択可能にした。
以前のようにする方法
:style -name tw-sidebar-hidden-time chrome://* <<EOM
.tw-anekos-sb-plugin-item-time-and-sub { display: block !important; }
.tw-anekos-sb-plugin-item-time { display: none; }
.tw-anekos-sb-plugin-item-sub { display: none; }
EOM
Diffstat (limited to 'twittperator')
-rw-r--r-- | twittperator/twsidebar.tw | 10 | ||||
-rw-r--r-- | twittperator/twsidebar/chrome/content/twsidebar.css | 5 |
2 files changed, 12 insertions, 3 deletions
diff --git a/twittperator/twsidebar.tw b/twittperator/twsidebar.tw index f005760..ee8ba3b 100644 --- a/twittperator/twsidebar.tw +++ b/twittperator/twsidebar.tw @@ -142,11 +142,15 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () { </vbox> <vbox flex="1"> <hbox flex="1"> - <label class={nameClass}>{escapeBreakers(t.name)}</label> + <label flex="2" class={nameClass}>{escapeBreakers(t.name)}</label> + <spacer hidden={!(t.sub || t.time)} /> + <description flex="1" class={className('item-time-and-sub')} hidden={!(t.sub || t.time)}>{escapeBreakers(t.sub || t.time)}</description> </hbox> <description flex="1" class={className('item-text')}>{escapeBreakers(t.text)}</description> - <description flex="1" class={className('item-sub')} hidden={!t.sub}>{escapeBreakers(t.sub || '')}</description> - <description flex="1" class={className('item-time')} hidden={!t.time}>{escapeBreakers(t.time || '')}</description> + <hbox> + <description flex="1" class={className('item-sub')} hidden={!t.sub}>{escapeBreakers(t.sub || '')}</description> + <description flex="1" class={className('item-time')} hidden={!t.time}>{escapeBreakers(t.time || '')}</description> + </hbox> </vbox> </hbox> </richlistitem>; diff --git a/twittperator/twsidebar/chrome/content/twsidebar.css b/twittperator/twsidebar/chrome/content/twsidebar.css index 3801f99..e431b3b 100644 --- a/twittperator/twsidebar/chrome/content/twsidebar.css +++ b/twittperator/twsidebar/chrome/content/twsidebar.css @@ -70,3 +70,8 @@ font-size: 80%; } +.tw-anekos-sb-plugin-item-time-and-sub { + font-size: 80%; + display: none; +} + |