Skip to content

Commit c7144ca

Browse files
committed
Fix couple of bugs, that i've introduced in gh-85, gh-86
1 parent 377a479 commit c7144ca

File tree

3 files changed

+90
-60
lines changed

3 files changed

+90
-60
lines changed

_theme/tarantool/_less/page-base.less

Lines changed: 78 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,12 @@
117117
padding: 15px 0 0 0;
118118

119119
.b-footer_menu {
120-
float: right;
121-
width: 729px;
120+
justify-content: space-around;
121+
display: flex;
122+
// float: right;
123+
// width: 729px;
122124

123125
.b-menu {
124-
float: center;
125126
height: auto;
126127
display: inline;
127128
.b-menu-item {
@@ -247,13 +248,42 @@
247248
display: inline-block;
248249
margin-right: -0.29em;
249250

250-
.b-menu-item-url {
251+
.b-menu-item-url {
251252
display: inline-block;
252253
text-decoration: none;
253254
}
254255
}
255256
}
256257

258+
.menu-default() {
259+
.b-menu {
260+
font-size: 16px;
261+
262+
.b-menu-item {
263+
&.p-active {
264+
.transition-ease();
265+
background:#168de2;
266+
.b-menu-item-url {
267+
color:#FFF;
268+
}
269+
}
270+
&:hover {
271+
.transition-ease();
272+
background:#e7f3fc;
273+
}
274+
.b-menu-item-url {
275+
height: 21px;
276+
padding: 11px 13px 12px 13px;
277+
font-size: 16px;
278+
}
279+
}
280+
}
281+
}
282+
283+
.b-menu_mobile {
284+
.menu-default()
285+
}
286+
257287
.b-header_menu {
258288
display: flex;
259289
flex-direction: column;
@@ -264,30 +294,13 @@
264294
justify-content: space-between;
265295
height: 44px;
266296

267-
.b-menu {
268-
font-size: 16px;
297+
.menu-default();
269298

270-
.b-menu-item-url {
271-
height: 21px;
272-
padding: 11px 13px 12px 13px;
273-
font-size: 16px;
274-
}
275-
&:hover {
276-
.transition-ease();
277-
background:#e7f3fc;
278-
}
279-
&.p-active {
280-
.transition-ease();
281-
background:#168de2;
282-
.b-menu-item-url {
283-
color:#FFF;
284-
}
285-
}
286-
}
287299
.b-header_menu-top-ctl {
288300
display: flex;
289301
flex-direction: row;
290302
justify-content: space-between;
303+
width: 150px;
291304

292305
.b-doc-language_selector-list {
293306
margin: 0;
@@ -296,6 +309,7 @@
296309
display: flex;
297310
align-items: center;
298311
justify-content: center;
312+
width: 100px;
299313

300314
.b-doc-language_selector-item {
301315
padding: 0px;
@@ -310,7 +324,7 @@
310324
background: #ffffff;
311325
color: #3366bb;
312326
font-size: 14px;
313-
padding: 3px 8px 5px 8px;
327+
padding: 5px 8px 5px 8px;
314328
position: relative;
315329
border-color: #168de2;
316330
border-width: 1px;
@@ -332,10 +346,10 @@
332346
.b-search-btn {
333347
background: #ffffff;
334348
width: 50%;
335-
border: none;
336-
margin: 3px 5px 3px 5px;
337-
padding: 9px 17px 9px 17px;
349+
margin: 3px 0px 3px 5px;
350+
padding: 9px 0px 9px 17px;
338351
outline: none;
352+
border: none;
339353
}
340354
}
341355
}
@@ -352,20 +366,24 @@
352366
width: 100%;
353367
margin: 0.75em 2em 0.75em 2em;
354368

355-
border: 2px solid #262626;
356-
border-radius: 5px;
369+
// border: 3px solid #262626;
370+
border-radius: 2px;
371+
box-shadow: 1px 1px 0 3px #e5e5e5;
357372

358373
.b-header_menu-search-text {
359374
padding: 0.2em 0 0.2em 1em;
360375
width: 100%;
361376
height: 2em;
362-
line-height: 3em;
377+
// line-height: 3em;
363378
border: none;
379+
border-radius: 0;
380+
-webkit-appearance: none;
364381
}
365382
.b-header_menu-search-but {
366383
background: #ffffff;
367384
color: #3366bb;
368-
border: none;
385+
border: none;
386+
margin: 0px;
369387
&:hover {
370388
background: #e7f3fc;
371389
}
@@ -432,30 +450,33 @@ img.align-center {
432450
z-index: 30;
433451
border-bottom: 1px solid #404040;
434452
}
435-
.b-footer {
436-
z-index: 25;
437-
position: relative;
438-
.b-footer-wrapper {
439-
margin: 0 auto;
440-
overflow: hidden;
441-
.b-footer_menu {
442-
width: auto;
443-
float: none;
444-
.b-menu {
445-
float: left;
446-
.b-menu-item {
447-
padding-right: 10px;
448-
a {
449-
font-size: 12px;
453+
.p-main {
454+
.b-footer {
455+
z-index: 25;
456+
position: relative;
457+
margin: -55px auto 0 auto;
458+
459+
.b-footer-wrapper {
460+
margin: 0 auto;
461+
overflow: hidden;
462+
463+
.b-footer_menu {
464+
width: auto;
465+
float: none;
466+
467+
.b-menu {
468+
/* float: left; */
469+
470+
.b-menu-item {
471+
padding-right: 10px;
472+
473+
a { font-size: 12px; }
450474
}
451475
}
452476
}
453477
}
454478
}
455479
}
456-
.p-main .b-footer {
457-
margin: -55px auto 0 auto;
458-
}
459480
.b-block-wrapper {
460481
padding: 30px 0;
461482
}
@@ -484,6 +505,13 @@ img.align-center {
484505
}
485506
}
486507
}
508+
.b-footer {
509+
.b-footer-wrapper {
510+
.b-footer-other {
511+
display: none;
512+
}
513+
}
514+
}
487515
}
488516
@media screen and (max-width: 992px) {
489517
#mobile-checker { display: none !important; }
@@ -524,6 +552,7 @@ img.align-center {
524552
.b-footer {
525553
.b-footer-wrapper {
526554
padding: 15px 15px 0;
555+
527556
.b-footer_menu {
528557
.b-menu {
529558
float: none;
@@ -541,7 +570,6 @@ img.align-center {
541570
}
542571
}
543572
}
544-
.p-main .b-footer,
545573
.b-footer {
546574
height: 80px;
547575
}

_theme/tarantool/_less/page-index.less

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,25 +38,21 @@
3838
flex-wrap: wrap;
3939

4040
a {
41-
margin: 5px 15px;
41+
margin: 5px 15px;
42+
padding: 10px 25px;
4243

43-
padding-top: 10px;
44-
padding-bottom: 10px;
45-
padding-right: 25px;
4644
border-radius: 4px;
4745
text-decoration: blink;
4846
font-size: 0.9em;
4947
font-family: 'helvetica-b';
5048
height: auto;
5149
&.b-button-github {
52-
background-color: white;
53-
padding-left: 25px;
50+
background-color: #ffffff;
5451
color: #262626;
5552
}
5653
&.b-button-download {
57-
background-color: #FF272C;
58-
padding-left: 25px;
59-
color: white;
54+
background-color: #ff272c;
55+
color: #ffffff;
6056
}
6157
}
6258
}
@@ -86,6 +82,12 @@
8682
}
8783
}
8884

85+
.b-cols {
86+
display: flex;
87+
justify-content: space-around;
88+
flex-flow: row wrap;
89+
}
90+
8991
.b-cols {
9092
display:table;
9193
width:100%;

_theme/tarantool/static/design.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)