Dotclear

source: admin/style/scss/partials/_main-menu.scss @ 3513:49903df908f3

Revision 3513:49903df908f3, 1.7 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

First attempt to fix post/page edition on different screen sizes

Line 
1#main-menu {
2     div:last-child {
3          border-bottom: none;
4     }
5     h3 {
6          margin: 0;
7          padding: 10px 0 10px 8px;
8          color: #676e78;
9          font-size: 1.15em;
10     }
11     a {
12          color: #333;
13          border-bottom-color: #ccc;
14     }
15     ul {
16          margin: 0 0 1.5em 0;
17          padding: 0;
18          list-style: none;
19          li {
20               display: block;
21               margin: 0.5em 0 0;
22               padding: 4px 0 1px 32px;
23               background-repeat: no-repeat;
24               background-position: 8px .3em;
25               &:first-child {
26                    margin-top: 0;
27               }
28          }
29     }
30     .active {
31          background-color: #fff;
32          font-weight: bold;
33          a {
34               border-bottom: none;
35               color: #d30e60;
36          }
37     }
38}
39
40#favorites-menu,
41#blog-menu,
42#system-menu,
43#plugins-menu {
44     border-bottom: 1px dashed #A2CBE9;
45}
46
47#favorites-menu {
48     h3 {
49          color: #000;
50          font-variant: small-caps;
51          padding-top: .2em;
52     }
53     .active {
54          background-color: transparent;
55          a {
56               color: #000;
57          }
58     }
59}
60
61#search-menu {
62     padding: 4px 5px 0;
63     font-size: 100%;
64     * {
65          height: 2em;
66          display: inline-block;
67          vertical-align: top;
68          line-height: 24px;
69     }
70     p {
71          border: 1px solid #999;
72          border-radius: .3em;
73          position: relative;
74          width: 95%;
75          overflow: hidden;
76     }
77     input[type="submit"] {
78          padding: 0 .25em;
79          margin-left: .33em;
80          background: #dfdfdf;
81          border-color: #999;
82          color: #333;
83          border-bottom-right-radius: .3em;
84          border-top-right-radius: .3em;
85          border-top-left-radius: 0;
86          border-bottom-left-radius: 0;
87          border: none;
88          border-left: 1px solid #999;
89          font-size: .91em;
90          float: right;
91          &:hover,
92          &:focus {
93               background: #676e78;
94               color: #fff;
95          }
96     }
97}
98
99#qx {
100     width: 80%;
101     border-bottom-left-radius: .3em;
102     border-top-left-radius: .3em;
103     background: transparent url(search.png) no-repeat 4px center;
104     text-indent: 18px;
105     padding: 0;
106     border: none;
107     height: 2em;
108     &:focus {
109          border: 1px solid #bee74b;
110     }
111}
Note: See TracBrowser for help on using the repository browser.

Sites map