summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/src/less/preferences.less
blob: 70edc3c8f0fdaf20bb10de4a1fca37108f216884 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
#tab-contentquery table td,
#tab-contentquery table th {
  text-align: left !important;
  height: 3rem;
}

#main_preferences {
  form {
    width: 100%;
  }

  fieldset {
    margin: 8px;
    border: none;
  }

  legend {
    margin: 0;
    padding: 5px 0 0 0;
    display: block;
    float: left;
    width: 300px;
  }

  .value {
    margin: 0;
    padding: 0;
    float: left;
    width: 15em;
  }

  .description {
    margin: 0;
    padding: 5px 0 0 0;
    float: left;
    width: 50%;
    color: var(--color-settings-engine-description-font);
    font-size: 90%;
  }

  select {
    width: 200px;
    font-size: inherit !important;
  }

  table {
    border-collapse: collapse;
  }

  table td {
    text-align: center;
  }

  table.cookies {
    width: auto;

    th,
    td {
      text-align: left;
      padding: 0.25em;
    }

    th:first-child,
    td:first-child {
      padding-right: 4em;
    }

    & > tbody > tr:nth-child(even) > th,
    & > tbody > tr:nth-child(even) > td {
      background-color: var(--color-settings-tr-hover);
    }
  }

  .name,
  .shortcut {
    text-align: left;
  }

  .preferences_back {
    background: none repeat scroll 0 0 var(--color-btn-background);
    color: var(--color-btn-font);
    border: 0 none;
    .rounded-corners;

    cursor: pointer;
    display: inline-block;
    margin: 2px 4px;
    padding: 0.7em;

    a {
      display: block;
      color: var(--color-settings-return-font);
    }

    a::first-letter {
      text-transform: uppercase;
    }
  }

  div.selectable_url {
    pre {
      width: 100%;
    }
  }

  th.name {
    .engine-tooltip {
      margin-top: 1.8rem;
      left: calc((100% - 85em) / 2 + 10em);
      max-width: 40rem;

      .engine-description {
        margin-top: 0.5rem;
      }
    }
  }
}

@media screen and (max-width: @tablet) {
  .preferences_back {
    clear: both;
  }

  .engine-tooltip {
    left: 10em !important;
  }
}