Skip to content

Commit 5bd9caf

Browse files
committed
[#246] [add] impl
1 parent 3f4f45a commit 5bd9caf

File tree

7 files changed

+95
-20
lines changed

7 files changed

+95
-20
lines changed

Diff for: src/SampleApps/SampleApp.Classic/Styles/Footer.scss

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@import "Variables";
2+
3+
.ExecutionTimeFooter {
4+
position: block;
5+
6+
border-top: $primary-border;
7+
text-align: center;
8+
margin-top: 1em;
9+
padding-top: 0.3em;
10+
}

Diff for: src/SampleApps/SampleApp.Classic/Styles/Forms.scss

+55-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,52 @@
11
@import "Variables";
22

3+
.form-horizontal {
4+
margin-left: auto;
5+
margin-right: auto;
6+
}
7+
8+
.form-group {
9+
margin-right: -15px;
10+
margin-left: -15px;
11+
margin-bottom: 15px;
12+
}
13+
14+
.form-control {
15+
display: block;
16+
width: 100%;
17+
// height: 34px;
18+
padding: 6px 12px;
19+
font-size: 14px;
20+
line-height: 1.42857143;
21+
color: #555;
22+
background-color: #fff;
23+
background-image: none;
24+
border: 1px solid #ccc;
25+
border-radius: 4px;
26+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
27+
transition:
28+
border-color ease-in-out 0.15s,
29+
box-shadow ease-in-out 0.15s;
30+
transition:
31+
border-color ease-in-out 0.15s,
32+
box-shadow ease-in-out 0.15s;
33+
}
34+
35+
.form-control:focus {
36+
border-color: #66afe9;
37+
outline: 0;
38+
box-shadow:
39+
inset 0 1px 1px rgba(0, 0, 0, 0.075),
40+
0 0 8px rgba(102, 175, 233, 0.6);
41+
}
42+
43+
input[type="checkbox"],
44+
input[type="radio"] {
45+
margin: 4px 0 0;
46+
margin-top: 1px\9;
47+
line-height: normal;
48+
}
49+
350
textarea,
451
input[type="text"],
552
input[type="password"],
@@ -50,17 +97,23 @@ input[type="color"]:focus,
5097
}
5198

5299
.btn {
100+
padding: 6px 12px;
101+
53102
background: $primary-color;
54103
color: $primary-color-opposite;
55104
border-color: $button-border;
56-
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.2) inset, 0px 1px 2px rgba(0, 0, 0, 0.05);
105+
box-shadow:
106+
0px 1px 0px rgba(255, 255, 255, 0.2) inset,
107+
0px 1px 2px rgba(0, 0, 0, 0.05);
57108
}
58109

59110
.btn:hover {
60111
background-color: $primary-color-active;
61112
border-color: $button-border;
62113
transition: background-position 0.2s linear 0s;
63114
color: $primary-color-opposite;
115+
116+
cursor: pointer;
64117
}
65118

66119
.btn:active,
@@ -79,4 +132,4 @@ input[type="checkbox"] {
79132

80133
label {
81134
font-weight: normal !important;
82-
}
135+
}

Diff for: src/SampleApps/SampleApp.Classic/Styles/Main.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: src/SampleApps/SampleApp.Classic/Styles/Main.scss

+15-14
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import "Header";
2+
@import "Footer";
23
@import "Navbar";
34
@import "Forms";
45
@import "Panels";
@@ -21,20 +22,6 @@ body {
2122
padding: 0 !important;
2223
}
2324

24-
.ExecutionTimeFooter {
25-
position: block;
26-
27-
border-top: $primary-border;
28-
text-align: center;
29-
margin-top: 1em;
30-
padding-top: 0.3em;
31-
}
32-
33-
div.Http404MessageBox {
34-
color: $primary-color-colorized-text;
35-
padding: 4em 2em;
36-
}
37-
3825
a {
3926
color: $primary-color;
4027
text-decoration: none;
@@ -47,3 +34,17 @@ a:hover {
4734
.text-center {
4835
text-align: center;
4936
}
37+
38+
h3 {
39+
margin-top: 20px;
40+
margin-bottom: 10px;
41+
42+
font-weight: 500;
43+
font-size: 24px;
44+
line-height: 1.1;
45+
}
46+
47+
ul {
48+
margin-top: 0;
49+
margin-bottom: 10px;
50+
}

Diff for: src/SampleApps/SampleApp.Classic/Styles/MessageBox.scss

+5
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,8 @@ div.inline-error-message-box {
1414
@extend .inline-message-box;
1515
color: #ff4753;
1616
}
17+
18+
div.Http404MessageBox {
19+
color: $primary-color;
20+
padding: 4em 2em;
21+
}

Diff for: src/SampleApps/SampleApp.Classic/Styles/Panels.scss

+8
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,11 @@
3333
background-color: $secondary-color;
3434
border: $primary-border;
3535
}
36+
37+
.container {
38+
margin-left: auto;
39+
margin-right: auto;
40+
padding-left: 15px;
41+
padding-right: 15px;
42+
// width: 750px;
43+
}

Diff for: src/SampleApps/SampleApp.Classic/Styles/Variables.scss

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@ $primary-color-opposite: white;
88
$primary-text-color: #dad8d8;
99
$primary-color-text-hover: #c5562e;
1010

11-
$primary-color-colorized-text: #0d85c9;
12-
1311
$primary-border: 1px solid #3a3a3a;
1412
$primary-active-border: 1px solid #636363;
1513

1614
$secondary-color: #292929;
1715

1816
$no-box-shadow: 0 0;
19-
$button-border: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) #3a3a3a;
17+
$button-border: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) #3a3a3a;

0 commit comments

Comments
 (0)