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
128
129
130
131
132
133
134
135
136
137
|
/* Main classes */
html {
box-sizing: border-box;
width: 400px;
height: 500px;
font-family: "Trebuchet MS", "Fira Sans", "Liberation Sans", sans-serif;
}
body {
width: 400px;
height: 500px;
}
/*
Maximal height of a panel in WebExtention seems to be 500px.
When going over this limit, a scrollbar appears which destructs the
horizontal balance of elements.
--> vertical scrolling is done with overflow in #page.
#page must have the same height than body.
*/
#main {
display: flex;
background-color: hsl(210, 0%, 100%);
min-height: 100%;
}
#menu {
width: 50px;
border-right: solid 1px hsl(210, 0%, 70%);
background-color: hsl(210, 10%, 96%);
color: hsl(210, 10%, 96%);
}
#logo {
padding: 10px;
}
#menu li {
padding: 10px 0;
border-bottom: 1px solid hsl(210, 10%, 90%);
text-align: center;
cursor: pointer;
color: hsl(210, 10%, 50%);
list-style-type: none;
font-size: 20px;
}
#menu li:hover {
background-color: hsl(210, 10%, 92%);
color: hsl(210, 80%, 50%);
text-shadow: 0px 0px 1px hsl(210, 100%, 70%);
}
#page {
background-color: hsl(210, 0%, 100%);
min-width: calc(100% - 51px);
height: 500px;
overflow: auto;
}
#page h1 {
margin: 0 0 10px 0;
color: hsl(210, 50%, 50%);
font: bold 30px 'Yanone Kaffeesatz', "Oswald", "Liberation Sans Narrow", sans-serif;
|
|
|
|
>
|
>
<
|
>
>
>
|
|
|
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
/* Main classes */
html {
box-sizing: border-box;
width: 450px;
height: 500px;
font-family: "Trebuchet MS", "Fira Sans", "Liberation Sans", sans-serif;
}
body {
width: 450px;
height: 500px;
}
/*
Maximal height of a panel in WebExtention seems to be 500px.
When going over this limit, a scrollbar appears which destructs the
horizontal balance of elements.
--> vertical scrolling is done with overflow in #page.
#page must have the same height than body.
*/
#main {
display: flex;
background-color: hsl(210, 0%, 100%);
min-height: 100%;
}
#menu {
width: 100px;
border-right: solid 1px hsl(210, 0%, 70%);
background-color: hsl(210, 10%, 96%);
color: hsl(210, 10%, 96%);
}
#logo {
padding: 10px;
text-align: center;
}
#menu .select_block {
min-width: 100px;
padding: 10px 0;
border-bottom: 1px solid hsl(210, 10%, 90%);
text-align: center;
cursor: pointer;
color: hsl(210, 10%, 50%);
font-size: 20px;
}
#menu .select_block:hover {
background-color: hsl(210, 10%, 92%);
color: hsl(210, 80%, 50%);
text-shadow: 0px 0px 1px hsl(210, 100%, 70%);
}
.select_label {
font-size: 12px;
font-variant-caps: small-caps;
}
#page {
background-color: hsl(210, 0%, 100%);
min-width: calc(100% - 101px);
height: 500px;
overflow: auto;
}
#page h1 {
margin: 0 0 10px 0;
color: hsl(210, 50%, 50%);
font: bold 30px 'Yanone Kaffeesatz', "Oswald", "Liberation Sans Narrow", sans-serif;
|