storj.io/minio@v0.0.0-20230509071714-0cbc90f649b1/browser/app/less/inc/form.less (about)

     1  .form-control {
     2      border: 0;
     3      border-bottom: 1px solid @input-border;
     4      color: #32393F;
     5      padding: 5px;
     6      width: 100%;
     7      font-size: 13px;
     8      background-color: transparent;
     9  }
    10  
    11  .form-control--path {
    12      color: @link-color;
    13      padding: 5px 5px 6px 0;
    14      font-size: 16px;
    15      .placeholder(@text-muted-color)
    16  }
    17  
    18  select.form-control {
    19      -webkit-appearance: none;
    20      -moz-appearance: none;
    21      border-radius: 0;
    22      background: url(../../img/select-caret.svg) no-repeat bottom 7px right;
    23  
    24  }
    25  
    26  
    27  /*--------------------------
    28      Input Group
    29  ----------------------------*/
    30  .input-group {
    31      position: relative;
    32      &:not(:last-child) {
    33          margin-bottom: 25px;
    34      }
    35  
    36      label:not(.ig-label) {
    37          font-size: 13px;
    38          display: block;
    39          margin-bottom: 10px;
    40      }
    41  }
    42  
    43  .ig-label {
    44      position: absolute;
    45      text-align: center;
    46      bottom: 7px;
    47      left: 0;
    48      width: 100%;
    49      .transition(all);
    50      .transition-duration(250ms);
    51      padding: 2px 0 3px;
    52      border-radius: 2px;
    53      font-weight: 400;
    54  }
    55  
    56  .ig-helpers {
    57      z-index: 1;
    58      width: 100%;
    59      left: 0;
    60  
    61      &,
    62      &:before,
    63      &:after {
    64          position: absolute;
    65          height: 2px;
    66          bottom: 0;
    67      }
    68  
    69      &:before,
    70      &:after {
    71          content: '';
    72          width: 0;
    73          .transition(all);
    74          .transition-duration(250ms);
    75          background-color: #03A9F4;
    76      }
    77  
    78      &:before {
    79          left: 50%;
    80      }
    81  
    82      &:after {
    83          right: 50%;
    84      }
    85  }
    86  
    87  .ig-text {
    88      width: 100%;
    89      height: 40px;
    90      border: 0;
    91      background: transparent !important;
    92      text-align: center;
    93      position: relative;
    94      z-index: 1;
    95      border-bottom: 1px solid #eee;
    96      color: #32393F;
    97      box-shadow: none;
    98      font-size: 13px;
    99  
   100  
   101      &:focus + .ig-helpers {
   102          &:before,
   103          &:after {
   104              width: 50%;
   105          }
   106      }
   107  
   108      &:valid,
   109      &:disabled,
   110      &:focus {
   111          & ~ .ig-label {
   112              bottom: 35px;
   113              font-size: 13px;
   114              z-index: 1;
   115          }
   116      }
   117  
   118      &:disabled {
   119          .opacity(0.5);
   120      }
   121  }
   122  
   123  .ig-dark {
   124      .ig-text {
   125          color: @white !important;
   126          border-color: rgba(255,255,255,0.1) !important;
   127      }
   128  
   129      .ig-helpers {
   130          &:before,
   131          &:after {
   132              background-color: #dfdfdf;
   133              height: 1px;
   134          }
   135      }
   136  }
   137  
   138  .ig-left {
   139      .ig-label,
   140      .ig-text {
   141          text-align: left;
   142      }
   143  }
   144  
   145  .ig-error {
   146      .ig-label {
   147          color: #E23F3F;
   148      }
   149      .ig-helpers i {
   150          &:first-child,
   151          &:first-child:before,
   152          &:first-child:after {
   153              background: rgba(226, 63, 63, 0.43);
   154          }
   155          &:last-child,
   156          &:last-child:before,
   157          &:last-child:after {
   158              background: #E23F3F !important;
   159          }
   160      }
   161      &:after {
   162          content: "\f05a";
   163          font-family: 'Font Awesome 5 Free';
   164          position: absolute;
   165          top: 17px;
   166          right: 9px;
   167          font-size: 20px;
   168          color: #D33D3E;
   169      }
   170  }
   171  
   172  .ig-search-dark {
   173      &:before {
   174          font-family: @font-family-icon;
   175          font-weight: 900;
   176          content: '\f002';
   177          font-size: 15px;
   178          position: absolute;
   179          left: 2px;
   180          top: 8px;
   181          color: rgba(0, 0, 0, 0.5);
   182      }
   183  
   184      .ig-text {
   185          padding-left: 25px;
   186          .placeholder(rgba(0, 0, 0, 0.5))
   187      }
   188  }
   189  
   190  .ig-search {
   191      &:before {
   192          font-family: @font-family-icon;
   193          font-weight: 900;
   194          content: '\f002';
   195          font-size: 15px;
   196          position: absolute;
   197          left: 2px;
   198          top: 8px;
   199          color: rgba(255, 255, 255, 0.5);
   200      }
   201  
   202      .ig-text {
   203          padding-left: 25px;
   204          .placeholder(rgba(255, 255, 255, 0.5))
   205      }
   206  }
   207  
   208  
   209  /*--------------------------
   210      Share Spinners
   211  ----------------------------*/
   212  .set-expire {
   213      border: 1px solid @input-border;
   214      margin: 35px 0 30px;
   215      position: relative;
   216  
   217      &:before {
   218          content: '';
   219          position: absolute;
   220          left: 0;
   221          top: 0;
   222          width: 100%;
   223          height: 100%;
   224          z-index: 1;
   225      }
   226  }
   227  
   228  .set-expire-item {
   229      padding: 9px 5px 3px;
   230      position: relative;
   231      display: table-cell;
   232      width: 1%;
   233      text-align: center;
   234      .user-select(none);
   235  
   236      &:not(:last-child) {
   237          border-right: 1px solid @input-border;
   238      }
   239  }
   240  
   241  .set-expire-title {
   242      font-size: 10px;
   243      text-transform: uppercase;
   244  }
   245  
   246  .set-expire-value {
   247      display: inline-block;
   248      overflow: hidden;
   249      position: relative;
   250      left: -8px;
   251  
   252      input {
   253          .user-select(none);
   254          font-size: 20px;
   255          text-align: center;
   256          position: relative;
   257          right: -15px;
   258          border: 0;
   259          color: @text-strong-color;
   260          padding: 0;
   261          height: 25px;
   262          width: 100%;
   263          font-weight: normal;
   264      }
   265  }
   266  
   267  .set-expire-decrease,
   268  .set-expire-increase {
   269      position: absolute;
   270      width: 20px;
   271      height: 20px;
   272      background: url(../../img/arrow.svg) no-repeat center;
   273      background-size: 85%;
   274      left: 50%;
   275      margin-left: -10px;
   276      .opacity(0.2);
   277      cursor: pointer;
   278  
   279      &:hover {
   280          .opacity(0.5);
   281      }
   282  }
   283  
   284  .set-expire-increase {
   285      top: -25px;
   286  }
   287  
   288  .set-expire-decrease {
   289      bottom: -27px;
   290      .rotate(-180deg);
   291  }