Skip to content

Телетайп фиксы EP by TrJVoRoN

Screenshot of Телетайп фиксы EP

Details

AuthorTrJVoRoN

LicenseNo License

Categoryteletype.app

Created

Updated

Code size5.6 kB

Code checksum8d347d59

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

  1. Текст шапки не обрезается, перенос на 2 строку.
  2. Шире поле новых чатов, больше текста в предпросмотре
  3. Скрытие в не отвеченных, чатов с операторами.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Телетайп фиксы EP
@version      15
@namespace    https://userstyles.world/user/TrJVoRoN
@description  Общие фиксы для EP
@author       Y.V.
@license      No License
==/UserStyle== */

@-moz-document domain("teletype.app") {

/*размер ввода текста максимального*/    
.message-input-wrapper[_ngcontent-ng-c1498303211] {
    max-height: 444px!important;
}
    
   /*скрыть дублирование шапки в левой колонке*/ 
.ng-scroll-content .from-operator-name {display:none!important; }      
    

/*размер левой колонки*/
app-sidebar {width: 240px!important;}

/*размер колонки превью*/
.main-content .column.appeals-list {
    max-width: 330px!important; 
    min-width: 330px!important; 
}

/*размер сообщений в ширину*/
[_nghost-ng-c264248352] .message-inner[_ngcontent-ng-c264248352] {
    max-width: 450px;
}
 

.user-details>span {max-width: 625px!important;    white-space: normal!important; 
    line-height: 23px!important; 
}

.chat-controls{
    height: auto!important; 
    max-height: 150px!important; 
    padding: 8px;
    background: hsl(191.71deg 100% 50% / 6%);
}



/*Компактные ссылки*/
[_nghost-ng-c264248352] .from-me.note-type[_ngcontent-ng-c264248352] a, .note-content a {
    height: 17px!important;
    width: 80px!important;
    overflow: hidden!important;
    display: inline-flex!important;
    margin-right: 10px!important;
    margin-top: 2px!important;
    color: transparent!important;
    background: rgb(135 201 182 / 15%);
    border-radius: 3px;
}

[_nghost-ng-c264248352] .from-me.note-type[_ngcontent-ng-c264248352] a:hover, .note-content a:hover {
color: transparent!important;
    background: rgba(161, 215, 200, .3);
}

[_nghost-ng-c264248352] .from-me.note-type[_ngcontent-ng-c264248352] a:after, .note-content a:after {
    font-weight: 500;
    content: "⎆ Ссылка";
    color: #49c19d;
    position: absolute;
    pointer-events: none;
    padding: 0px 0px 0px 8px;
}





/*убираем аватар из правой колонки*/
.person-info[_ngcontent-ng-c763694477] .person-details[_ngcontent-ng-c763694477] .person-avatar[_ngcontent-ng-c763694477] {
    display: none;
}

.person-info[_ngcontent-ng-c763694477] .person-details[_ngcontent-ng-c763694477] .info[_ngcontent-ng-c763694477] .name[_ngcontent-ng-c763694477]  {
    font-size: 90%;
    background: #569ca33b;
}


.person-info[_ngcontent-ng-c763694477] {
    padding: 5px;
}

/*окно заметок размер*/
.person-accordion>.panel .card .card-body .note-section .new-note .note-input{
min-height: 125px!important;}    
    

    
/*кастом поля*/    
app-person-custom-fields .info-row {
    display: -webkit-box!important;
    font-size: 14px;
}

app-person-custom-fields .info-row > :first-child {
    width: 110px;
}

app-person-custom-fields .popover.for-long-text[_ngcontent-ng-c1550893379] {
    top: 26px;
    left: -8px;
    width: 110px;
    padding: 0px;
    margin: 0px;
    background: rgba(0, 255, 85, 0)!important;
}

app-person-custom-fields .popover {display: flex!important;}

app-person-custom-fields .info-row .popover.for-long-text a {
    font-size: 0px!important;
    height: 27px!important;
    width: 110px!important;
    background: rgba(163, 255, 192, .13);
    border-radius: 3px;  
}

app-person-custom-fields .info-row .popover.for-long-text a:hover {display: flex!important;
border: solid 1px #21d159;  
background: rgba(95, 235, 153, .3);
}


app-person-custom-fields .custom-field-input[_ngcontent-ng-c1550893379] {
    width: 155px;
}

app-person-custom-fields .custom-field-input[_ngcontent-ng-c1550893379] a {
    padding-left: 10px;
}

app-person-custom-fields .custom-field-input[_ngcontent-ng-c1550893379]:focus {
    max-height: 50px;
    width: 155px;
    text-overflow: ellipsis;
    overflow-y: hidden;
}
    
}

@-moz-document url-prefix("https://rf-expert-park.teletype.app/conversations/unanswered/unanswered") {
/*неотвеченные - скрыть чаты с операторами*/    
.appeal-selector.with-label:has(.assign-label) {
  display: none;
}
    
/*неотвеченные - подсветка покупающие смены*/    
.appeal-selector.with-label[_ngcontent-ng-c3853528981]:has(.tags__tag[style*="background-color: rgb(156, 230, 98)"]) {
    background:rgba(98, 255, 0, .1);
    border-left: solid 5px #59b255;
}
    
.appeal-selector.active[_ngcontent-ng-c3853528981] {
    background: #0a86f9!important;
}    
    
    
    
}

@-moz-document url-prefix("https://rf-expert-park.teletype.app/conversations/all/open/appointed"), url-prefix("https://kgs-expert-park.teletype.app/conversations/all/open/appointed") {
/*назначенные - закрепленные сообщения тег контроль*/    
app-appeal-item:has(.tags__tag[style*="background-color: rgb(205, 148, 247)"]) {
  order: -1;
}

.appeal-selector.with-label[_ngcontent-ng-c3853528981]:has(.tags__tag[style*="background-color: rgb(205, 148, 247)"]) {
    background:rgba(174, 0, 255, .09);
    border-left: solid 5px #845c97;
}
    
.appeal-selector.with-label[_ngcontent-ng-c3853528981]:has(.tags__tag[style*="background-color: rgb(252, 132, 146)"]) {
    border-left: solid 5px #ce626e;
}    

.ng-scroll-content {
    display: flex!important;
    flex-direction: column!important;
}


.appeal-selector.active[_ngcontent-ng-c3853528981] {
    background: #0a86f9!important;
}     
       
}

Reviews

No reviews yet.