doubanResize

resize douban short comment

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

/* ==UserStyle==
@name           doubanResize
@namespace      mailto: [email protected]
@version        0.1.2
@author         fish-404
@description    resize douban short comment
@license        MIT
==/UserStyle== */

@-moz-document domain("douban.com") {
    /* 发现豆瓣的textarea使用的样式太多了... 或许直接使用 textarea tag 作为选择器更好? */
    .comments-app-wrapper textarea /* 笔记的回复 */
    , .txd textarea /* 豆列的回复 */
    , .comment-warapper textarea /* 小组的回复 */
    , .basic-textarea /* 豆列的描述 */ 
    , text.comment /* 书影音短评 */
    , .textarea_basic /* 豆瓣书籍 音乐的信息编辑框 */
    ,#isay-cont
    { 
        resize: vertical;
    }
    
    /* 隐藏书影音短评弹出框阴影 */
    #overlay {
        display: none;
    }
    
    /* 书影音短评弹出框上移 */
    #dialog {
        top: 37% !important;
    }
    
    /* 书影音短评弹出框短评区域高度调整 按350字高度调整 */
    #dialog textarea {
        height: 178px;
    }
}