riot-themes

A Repo containing various custom Themes
git clone git://archive.git.mtrnord.blog/Nordgedanken/riot-themes.git
Log | Files | Refs | README | LICENSE

_ChatInviteDialog.scss (1777B)


      1 /*
      2 Copyright 2016 OpenMarket Ltd
      3 Copyright 2017 MTRNord <info@nordgedanken.de>
      4 
      5 Licensed under the Apache License, Version 2.0 (the "License");
      6 you may not use this file except in compliance with the License.
      7 You may obtain a copy of the License at
      8 
      9     http://www.apache.org/licenses/LICENSE-2.0
     10 
     11 Unless required by applicable law or agreed to in writing, software
     12 distributed under the License is distributed on an "AS IS" BASIS,
     13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14 See the License for the specific language governing permissions and
     15 limitations under the License.
     16 */
     17 
     18 /* Using a textarea for this element, to circumvent autofill */
     19 .mx_ChatInviteDialog_input,
     20 .mx_ChatInviteDialog_input:focus
     21 {
     22   height: 26px;
     23   font-size: 14px;
     24   font-family: 'Open Sans', Arial, Helvetica, Sans-Serif;
     25   padding-left: 12px;
     26   padding-right: 12px;
     27   margin: 0 !important;
     28   border: 0 !important;
     29   outline: 0 !important;
     30   width: 1000%; /* Pretend that this is an "input type=text" */
     31   resize: none;
     32   overflow: hidden;
     33   vertical-align: middle;
     34   box-sizing: border-box;
     35   word-wrap: nowrap;
     36 }
     37 
     38 .mx_ChatInviteDialog .mx_Dialog_content {
     39   min-height: 50px
     40 }
     41 
     42 .mx_ChatInviteDialog_inputContainer {
     43   border-radius: 3px;
     44   border: solid 1px $input-border-color;
     45   line-height: 36px;
     46   padding-left: 4px;
     47   padding-right: 4px;
     48   padding-top: 1px;
     49   padding-bottom: 1px;
     50   max-height: 150px;
     51   overflow-x: hidden;
     52   overflow-y: auto;
     53   box-shadow: inset 2px 2px 4px 1px rgba(0,0,0,.1);
     54 }
     55 
     56 .mx_ChatInviteDialog_error {
     57   position: absolute;
     58   color: $warning-color;
     59   line-height: 36px;
     60 }
     61 
     62 .mx_ChatInviteDialog_cancel {
     63   position: absolute;
     64   right: 11px;
     65   top: 13px;
     66   cursor: pointer;
     67 }
     68 
     69 .mx_ChatInviteDialog_cancel object {
     70   pointer-events: none;
     71 }