riot-themes

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

_DirectorySearchBox.scss (1750B)


      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 .mx_DirectorySearchBox {
     19   position: relative;
     20   border-radius: 3px;
     21   border: 1px solid $strong-input-border-color;
     22 }
     23 
     24 .mx_DirectorySearchBox_container {
     25   display: flex;
     26   padding-left: 9px;
     27   padding-right: 9px;
     28 }
     29 
     30 .mx_DirectorySearchBox_input {
     31   flex-grow: 1;
     32   border: 0;
     33   padding: 0;
     34   font-weight: 300;
     35   font-size: 13px;
     36 }
     37 input[type=text].mx_DirectorySearchBox_input:focus {
     38   border: 0;
     39 }
     40 
     41 .mx_DirectorySearchBox_joinButton {
     42   display: table-cell;
     43   padding: 3px;
     44   padding-left: 10px;
     45   padding-right: 10px;
     46   background-color: $plinth-bg-color;
     47   border-radius: 3px;
     48   background-image: url('../../img/icon-return.svg');
     49   background-position: 8px 70%;
     50   background-repeat: no-repeat;
     51   text-indent: 18px;
     52   font-weight: 600;
     53   font-size: 12px;
     54   user-select: none;
     55   cursor: pointer;
     56 }
     57 
     58 .mx_DirectorySearchBox_clear_wrapper {
     59   display: table-cell;
     60 }
     61 
     62 .mx_DirectorySearchBox_clear {
     63   display: inline-block;
     64   vertical-align: middle;
     65   background: url('../../img/icon_context_delete.svg');
     66   background-position: 0 50%;
     67   background-repeat: no-repeat;
     68   width: 15px;
     69   height: 15px;
     70   cursor: pointer;
     71   padding-bottom: 7px;
     72 }