6 月 23, 2008
stylish 設定メモ
Category : Firefox
Firefox 拡張の、Stylish 用 CSS。
自分用メモ。
- del.icio.us 用 投稿日時を表示
- Gmailのメール本文を等幅フォントに
- Gmail - display keyboard shortcuts
- Google Calendar のフォントサイズを調整
- Google Calendarの土日の色を変更して見やすくする
- Stylish Manager striped style
- Stylish Manager: Tree Checkbox Images
- ★_blankなリンクのカーソルを変更
- ★Add Bookmark Dialog: Show Folder Tree
- ★Firefox見た目をカスタム
- ★Firefox コンテキストメニュー - css
- ★検索バーの右側に履歴を出すボタンを表示
del.icio.us 用 投稿日時を表示
CODE:
-
@namespace url(http://www.w3.org/1999/xhtml);
-
@-moz-document domain("del.icio.us") {
-
span.date[title]::after {
-
content: attr(title);
-
padding-left: 1em;
-
color: #ccc;
-
}
-
}
Gmail - display keyboard shortcuts
CODE:
-
@namespace url(http://www.w3.org/1999/xhtml);
-
-
@-moz-document domain("mail.google.com") {
-
#comp::after{
-
content:"(c)";
-
}
-
span#ds_inbox::after,
-
button#ac_ib::after{
-
content:"(g i)";
-
}
-
span#ds_starred::after{
-
content:"(g s)";
-
}
-
span#ds_drafts::after{
-
content:"(g d)";
-
}
-
span#ds_all::after{
-
content:"(g a)";
-
}
-
span#cont::after{
-
content:"(g c)";
-
}
-
b#bk::after{
-
content:"(u)";
-
}
-
button[id^="ac_rc"]::after{
-
content:"(y)";
-
}
-
button#ac_sp::after{
-
content:"(!)";
-
}
-
button#ac_tr::after{
-
content:"(#)";
-
}
-
td#sm_2::after{
-
content:"(r)";
-
}
-
span#r_3::after{
-
content:"(a)";
-
}
-
span#r_4::after,
-
td#sm_4::after{
-
content:"(f)";
-
}
-
span#pt::after{
-
content:"(k)";
-
}
-
span#nt::after{
-
content:"(j)";
-
}
-
button#snd::after{
-
content:"(Tab+Enter)";
-
}
-
button#d::after{
-
content:"(Ctrl+s)";
-
}
-
}
Gmailのメール本文を等幅フォントに
CODE:
-
@-moz-document domain(mail.google.com) {
-
div.msg> div.mb {
-
font-family: monospace !important;
-
}
-
}
Google Calendar のフォントサイズを調整
CODE:
-
/* SSL 接続 */
-
@-moz-document url-prefix(https://www.google.com/calendar/) {
-
body {
-
font-size: 80% !important ;
-
}
-
}
-
/* SSLではない接続 */
-
@-moz-document url-prefix(http://www.google.com/calendar/) {
-
body {
-
font-size: 80% !important ;
-
}
-
}
Google Calendarの土日の色を変更して見やすくする
CODE:
-
/* http://kengo.preston-net.com/archives/002841.shtml
-
Google Calendarの土日の色を変更して見やすくする方法 */
-
-
@-moz-document url-prefix("https://www.google.com/calendar/") {
-
#dh6,#dh13,#dh20,#dh27,#dh34,#dh41,#dh48,#dh55 {
-
color: #660;
-
background-color: #DEC;
-
display: block;
-
padding: 0 0.4em 2px 0;
-
margin-bottom: -2em;
-
}
-
.dayNotInMonth> #dh6, .dayNotInMonth> #dh13,
-
.dayNotInMonth> #dh20, .dayNotInMonth> #dh27,
-
.dayNotInMonth> #dh34, .dayNotInMonth> #dh41,
-
.dayNotInMonth> #dh48, .dayNotInMonth> #dh55 {
-
color: #88F;
-
background-color: #DDF;
-
}
-
#dh0,#dh7,#dh14,#dh21,#dh28,#dh35,#dh42,#dh49 {
-
color: #C00;
-
background-color: #FDD;/*FCC*/
-
display: block;
-
padding: 0 0.4em 2px 0;
-
margin-bottom: -2em;
-
}
-
.dayNotInMonth> #dh0, .dayNotInMonth> #dh7,
-
.dayNotInMonth> #dh14, .dayNotInMonth> #dh21,
-
.dayNotInMonth> #dh28, .dayNotInMonth> #dh35,
-
.dayNotInMonth> #dh42, .dayNotInMonth> #dh49 {
-
color: #F88;
-
background-color: #FDD;
-
}
-
}
Menu Editor - css
CODE:
-
/* Hide Needless Menus */
-
#main-menubar menu[label="編集"],
-
#main-menubar menu[label="履歴"] {
-
display:none !important;
-
}
-
-
/*コンテキストメニューから各種不要要素を消す*/
-
/* リンクを新しいウィンドウで開く */
-
#context-openlink {
-
display: none !important;
-
}
-
/* このリンクをブックマーク */
-
#context-bookmarklink {
-
display: none !important;
-
}
-
/* このページをブックマーク */
-
#context-bookmarkpage {
-
display: none !important;
-
}
-
/* 名前を付けてページを保存 */
-
#context-savepage {
-
display: none !important;
-
}
-
/* 全体or表示部分を画像として保存 */
-
#SaveVisiblePageImage,
-
#SaveEntirePageImage {
-
display: none !important;
-
}
-
/* 最近閉じたタブを復元の上のセパレーター */
-
#tm-content-undoCloseSep {
-
display: none !important;
-
}
-
/* 最近閉じたタブを復元 */
-
#tm-content-undoCloseTab {
-
display: none !important;