PluginProbe
Force Refresh / 2.0.0
Force Refresh v2.0.0
3.2.1 3.2.0 3.1.2 3.1.1 3.1.0 trunk 1.0.0 1.1.0 1.1.1 1.1.2 1.2.0 2.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.10.0 2.10.1 2.10.2 2.11.0 2.11.1 2.12.0 All 54 releases
force-refresh / node_modules / bootstrap-timepicker / css / timepicker.less

timepicker.less in Force Refresh 2.0.0, at node_modules/bootstrap-timepicker/css/timepicker.less

173 lines 3.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*!
2 * Timepicker Component for Twitter Bootstrap
3 *
4 * Copyright 2013 Joris de Wit
5 *
6 * Contributors https://github.com/jdewit/bootstrap-timepicker/graphs/contributors
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11 .bootstrap-timepicker {
12 position: relative;
13
14 &.pull-right {
15 .bootstrap-timepicker-widget {
16 &.dropdown-menu {
17 left: auto;
18 right: 0;
19
20 &:before {
21 left: auto;
22 right: 12px;
23 }
24 &:after {
25 left: auto;
26 right: 13px;
27 }
28 }
29 }
30 }
31
32 .input-group-addon {
33 cursor: pointer;
34 i {
35 display: inline-block;
36 width: 16px;
37 height: 16px;
38 }
39 }
40 }
41 .bootstrap-timepicker-widget {
42 &.dropdown-menu {
43 padding: 4px;
44 &.open {
45 display: inline-block;
46 }
47 &:before {
48 border-bottom: 7px solid rgba(0, 0, 0, 0.2);
49 border-left: 7px solid transparent;
50 border-right: 7px solid transparent;
51 content: "";
52 display: inline-block;
53 position: absolute;
54 }
55 &:after {
56 border-bottom: 6px solid #FFFFFF;
57 border-left: 6px solid transparent;
58 border-right: 6px solid transparent;
59 content: "";
60 display: inline-block;
61 position: absolute;
62 }
63 }
64 &.timepicker-orient-left {
65 &:before {
66 left: 6px;
67 }
68 &:after {
69 left: 7px;
70 }
71 }
72 &.timepicker-orient-right {
73 &:before {
74 right: 6px;
75 }
76 &:after {
77 right: 7px;
78 }
79 }
80 &.timepicker-orient-top {
81 &:before {
82 top: -7px;
83 }
84 &:after {
85 top: -6px;
86 }
87 }
88 &.timepicker-orient-bottom {
89 &:before {
90 bottom: -7px;
91 border-bottom: 0;
92 border-top: 7px solid #999;
93 }
94 &:after {
95 bottom: -6px;
96 border-bottom: 0;
97 border-top: 6px solid #ffffff;
98 }
99 }
100 a.btn, input {
101 border-radius: 4px;
102 }
103
104 table {
105 width: 100%;
106 margin: 0;
107
108 td {
109 text-align: center;
110 height: 30px;
111 margin: 0;
112 padding: 2px;
113
114 &:not(.separator) {
115 min-width: 30px;
116 }
117
118 span {
119 width: 100%;
120 }
121 a {
122 border: 1px transparent solid;
123 width: 100%;
124 display: inline-block;
125 margin: 0;
126 padding: 8px 0;
127 outline: 0;
128 color: #333;
129
130 &:hover {
131 text-decoration: none;
132 background-color: #eee;
133 -webkit-border-radius: 4px;
134 -moz-border-radius: 4px;
135 border-radius: 4px;
136 border-color: #ddd;
137 }
138
139 i {
140 margin-top: 2px;
141 font-size: 18px;
142 }
143 }
144 input {
145 width: 25px;
146 margin: 0;
147 text-align: center;
148 }
149 }
150 }
151 }
152
153 .bootstrap-timepicker-widget .modal-content {
154 padding: 4px;
155 }
156
157 @media (min-width: 767px) {
158 .bootstrap-timepicker-widget.modal {
159 width: 200px;
160 margin-left: -100px;
161 }
162 }
163
164 @media (max-width: 767px) {
165 .bootstrap-timepicker {
166 width: 100%;
167
168 .dropdown-menu {
169 width: 100%;
170 }
171 }
172 }
173