source: cats/SCHEMAcat/trunk/urn.org.isocat.schemacat.site/site/styles/SCHEMAcat.css @ 4567

Last change on this file since 4567 was 4567, checked in by andmor, 10 years ago

Edit panels for: name, description, access, version, status and license.
Some layout changes to match bootstrap 3.1.1

File size: 4.7 KB
Line 
1html,
2body{
3    height:100%;
4    /* The html and body elements cannot have any padding or margin. */
5}
6
7.modal {
8    overflow-y: auto;
9}
10
11body.modal-open {
12    overflow: auto;
13}
14
15/*override animation duration for the following elements*/
16#workspace, #schema-div,
17#about, #contact, #accountDetails{
18    -webkit-animation-duration: 0.25s;
19       -moz-animation-duration: 0.25s;
20         -o-animation-duration: 0.25s;
21            animation-duration: 0.25s;
22}
23
24#schema-background {
25    min-height: 350px;
26    padding-top: 10px;
27}
28
29/*since angularjs and browsers have diferent rules to conssider an input valid,
30we override the red border set by the browser (in invalid input fields)
31with the same border but set by angular*/
32input.ng-dirty.ng-invalid {
33    color: #b94a48;
34    border-color: #e9322d;
35    -webkit-box-shadow: 0 0 6px #f8b9b7;
36       -moz-box-shadow: 0 0 6px #f8b9b7;
37         -o-box-shadow: 0 0 6px #f8b9b7;
38            box-shadow: 0 0 6px #f8b9b7;
39}
40
41.cursor-pointer{
42    cursor:pointer;
43}
44
45.cursor-default{
46    cursor:default;
47}
48
49.pre-wrap {
50    white-space:pre-wrap;
51}
52
53/*sticky left side list of schemas*/
54.sidebar-nav-fixed {
55    position:fixed;
56    width:21.97%;
57    min-width: 246px;
58}
59
60.paginator{
61    white-space:nowrap;
62    min-width: 241px;
63}
64
65.img-responsive-inline{
66    display: inline-block;
67    height: auto;
68    max-width: 100%;
69}
70
71.inline{
72    display: inline;
73}
74
75.word-breaking-wraper{
76    word-wrap: break-word;
77}
78
79/*override bootstrap.css '<pre>' tags to scroll horizontaly
80  instead of wrapping the text to the page*/
81pre {
82    overflow-x: auto;
83    overflow-wrap: normal;
84    word-wrap: normal;
85}
86/*override bootstrap.css '<pre><code>' tag sequence not to use transparent
87  background and not to wrap text on white spaces.*/
88pre code {
89    background-color: inherit;
90    white-space: pre;
91    /*the following is used for the background of the code odd lines, to occupy entire document width */
92    float:left;
93    min-width: 100%;
94}
95
96
97/* Wrapper for page content to push down footer */
98#wrap{
99    min-height:100%;
100    height:auto !important;
101    height:100%;
102    /* Negative indent footer by it's height */
103    margin:0 auto -71px;
104}
105
106/* Set the fixed height of the footer here */
107#pushh,
108#pushf,
109#footer{
110    height:71px;
111}
112#footer{
113    background-color:#f5f5f5;
114    padding-top:20px;
115}
116
117.schemacat-fluid-container {
118    padding-left: 15px;
119    padding-right: 15px;
120    margin-left: auto;
121    margin-right: auto;
122}
123
124.schemacat-fluid-container .jumbotron {
125    border-radius: 6px;
126}
127
128#schema-div, 
129#contact-div {
130    font-size: 21px;
131    font-weight: 200;
132    line-height: 2.1428571435;
133}
134
135#schema-div p,
136#contact-div p {
137    line-height: 1.4;
138    font-size: inherit;
139    font-weight: inherit;
140    margin-bottom: 10px;
141}
142
143#account-details-list {
144    margin-top: 25px;
145    font-size: 18px;
146    font-weight: 200;
147}
148
149#account-details-list dt,
150#account-details-list dd {
151    margin-bottom: 5px;
152}
153
154#license-description {
155    padding-top: 65px;
156}
157
158#license-select {
159    max-height: 350px;
160}
161
162/*magnifier icon inside filter box*/
163.right-inner-addon {
164    position: relative;
165    width: 70%;
166}
167.right-inner-addon input {
168    font-size: 85%; 
169    height: 25px;
170    padding: 0px 30px 0px 12px;
171    -webkit-border-radius: 20px;
172       -moz-border-radius: 20px;
173         -o-border-radius: 20px;
174            border-radius: 20px;
175}
176.right-inner-addon i {
177    font-size: 85%; 
178    position: absolute;
179    right: 0px;
180    padding: 5px 12px;
181    pointer-events: none;
182}
183
184/*different glow colour for interface icons*/
185a.glow{
186    -webkit-text-shadow: 0px 0px 20px #00FFFF; 
187       -moz-text-shadow: 0px 0px 20px #00FFFF; 
188         -o-text-shadow: 0px 0px 20px #00FFFF; 
189            text-shadow: 0px 0px 20px #00FFFF;     
190}
191a.glow-warn{
192    color: #CFAF00;
193    -webkit-text-shadow: 0px 0px 20px #CFAF00;
194       -moz-text-shadow: 0px 0px 20px #CFAF00;
195         -0-text-shadow: 0px 0px 20px #CFAF00;
196            text-shadow: 0px 0px 20px #CFAF00;
197}
198
199.capitalize {
200    text-transform: capitalize;
201}
202
203.no-bottom-margin {
204    margin-bottom: 0px;
205}
206
207.help-block {
208    line-height: 1.428571429;
209}
210
211textarea.vertical {
212    resize: vertical;
213    max-width: 100%;
214    overflow: hidden;
215    vertical-align: top;
216}
217
218#fill-details-modal-error.help-block {
219    padding-top: 7px;
220}
221
222#description-spinner {
223    line-height: 2.8;
224}
225
226/* Lastly, apply responsive CSS fixes as necessary */
227@media (max-width: 767px) {
228    #footer {
229        margin-left:-20px;
230        margin-right:-20px;
231        padding-left:20px;
232        padding-right:20px;
233    }
234   
235    .navbar-fixed-top {
236        position: relative;
237        top: auto;
238    }
239   
240    #pushh {
241        height:0px;
242    }
243}
244
245@media (max-width: 1009px) {
246    .sidebar-nav-fixed {
247        position:static;
248        width:auto;
249    }
250}
Note: See TracBrowser for help on using the repository browser.