-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnav.css
125 lines (121 loc) · 2.15 KB
/
nav.css
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
body {
background: #fefefe;
color: #444444;
font-family:sans-serif;
}
nav {
height: 64px;
background: #e74c3c;
padding: 0px 32px;
border-bottom: 1px solid #C24032;
text-align: left;
box-shadow: 0px 0px 4px #C24032;
}
nav ul {
margin: 0px;
padding: 0px;
}
.button-nav {
font-size: 16px;
font-weight: bold;
text-align: center;
margin: 0 8px;
padding: 0px 32px;
display: block;
height: 100%;
min-width:9px;
line-height: 64px;
border: 1px solid #C24032;
border-width: 0px 1px;
box-shadow: 0px 0px 4px #C24032;
transition: box-shadow .2s linear;
}
nav ul li, .radio > .button-nav {
display: inline-block;
vertical-align:top;
}
.add
{
transition: box-shadow .2s linear, margin .3s linear .5s;
}
.add.active
{
margin:0 98px;
transition: box-shadow .2s linear, margin .3s linear;
}
.button-nav:link
{
color: #eee;
text-decoration: none;
}
.button-nav:visited
{
color: #eee;
}
.button-nav:hover
{
box-shadow:none;
}
.button-nav:active,
.button-nav.active {
color: #eee;
border-color: #C24032;
box-shadow: 0px 0px 4px #C24032 inset;
}
nav ul li a:active {
color: #eee;
}
nav ul li a.active {
color: #eee;
}
.dialog {
position: relative;
text-align: center;
background: #4478a0;
margin: 13px 0 4px 4px;
display: inline-block;
width: 256px;
box-shadow: 0px 0px 8px rgba(68, 140, 160, 0.5);
}
.dialog:after,
.dialog:before {
bottom: 100%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
.dialog:after {
border-color: rgba(255, 255, 255, 0);
border-bottom-color: #5C9CCE;
border-width: 15px;
left: 50%;
margin-left: -15px;
}
.dialog:before {
border-color: rgba(170, 170, 170, 0);
border-width: 16px;
left: 50%;
margin-left: -16px;
}
.dialog .title {
color: #fff;
font-weight: bold;
text-align: center;
border: 1px solid #5189B5;
border-width: 0px 0px 1px 0px;
margin-left: 0;
margin-right: 0;
margin-bottom: 4px;
margin-top: 8px;
padding: 8px 16px;
background: #5C9CCE;
box-shadow: 0px 1px 4px rgba(68, 120, 160, 0.1);
font-size: 16px;
line-height:2em;
}
.dialog .title:first-child {
margin-top: -4px;
}