summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/src/less/preferences.less
blob: 8b000c0e33af5903c1f4799bd6f5e0dba1546134 (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
#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: darken(#dcdcdc, 30%);
    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: @color-settings-tr-hover;
    }
  }

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

  .preferences_back {
    background: none repeat scroll 0 0 @color-settings-return-background;
    color: white;
    border: 0 none;
    .rounded-corners;

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

    a {
      display: block;
      color: @color-settings-return-font;
    }

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

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

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