Merge pull request #2 from mayerdev/patch-1

Update win95.css
This commit is contained in:
Alex 2020-04-01 15:29:41 +03:00 committed by GitHub
commit 2c1c708b62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,34 +7,38 @@
Version: 1.1.0 Version: 1.1.0
*/ */
html { html {
position: relative; position: relative;
min-height: 100%; min-height: 100%;
} }
/* /*
Body styles Body styles
*/ */
body { body {
font-family: "MS Sans Serif",Tahoma,Verdana,Segoe,sans-serif; font-family: "MS Sans Serif",Tahoma,Verdana,Segoe,sans-serif;
background: teal; background: teal;
color: white; color: white;
padding-bottom: 28px; padding-bottom: 28px;
} }
.bg-cloud{ .bg-cloud {
background-image: url(clouds2.jpg); background-image: url('clouds2.jpg');
color:#212529; color: #212529;
} }
header { header {
position: relative; position: relative;
background-color: black; background-color: #000;
height: 100vh; height: 100vh;
min-height: 25rem; min-height: 25rem;
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
} }
header video { header video {
position: absolute; position: absolute;
top: 50%; top: 50%;
@ -46,48 +50,46 @@ header video {
z-index: 0; z-index: 0;
-ms-transform: translateX(-50%) translateY(-50%); -ms-transform: translateX(-50%) translateY(-50%);
-moz-transform: translateX(-50%) translateY(-50%); -moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%);
} }
header .container {
header.container {
position: relative; position: relative;
z-index: 2; z-index: 2;
} }
/* /*
Scrollbar (only chrome & safari) Scrollbar (only chrome & safari)
*/ */
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 12px; width: 12px;
} }
::-webkit-scrollbar-button:end:increment,::-webkit-scrollbar-button:start:decrement { ::-webkit-scrollbar-button:end:increment, ::-webkit-scrollbar-button:start:decrement {
display: block display: block;
} }
::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment { ::-webkit-scrollbar-button:vertical:end:decrement, ::-webkit-scrollbar-button:vertical:start:increment {
display: none display: none;
} }
::-webkit-scrollbar-button:vertical:increment { ::-webkit-scrollbar-button:vertical:increment {
width: 18px; width: 18px;
background: silver url(combo.png) no-repeat 50%; background: #c0c0c0 url('combo.png') no-repeat 50%;
height: 18px; height: 18px;
margin: 1px 1px 1px 10px; margin: 1px 1px 1px 10px;
-webkit-transform: rotateX(-90deg); transform: rotateX(-90deg) rotateY(-90deg);
transform: rotateX(-90deg);
-webkit-transform: rotateY(-90deg);
transform: rotateY(-90deg);
border: 1px outset #fff; border: 1px outset #fff;
border-shadow: 1px 1px #000; border-shadow: 1px 1px #000;
} }
::-webkit-scrollbar-button:vertical:decrement { ::-webkit-scrollbar-button:vertical:decrement {
width: 11px; width: 11px;
background: silver url(comboup.png) no-repeat 50%; background: #c0c0c0 url('comboup.png') no-repeat 50%;
height: 16px; height: 16px;
margin: 1px 1px 1px 10px; margin: 1px 1px 1px 10px;
transform: rotateX(180deg); transform: rotateX(180deg);
-webkit-transform: rotateY(180deg);
border: 1px outset #fff; border: 1px outset #fff;
border-shadow: 1px 1px #000 border-shadow: 1px 1px #000;
} }
::-webkit-scrollbar-track{ ::-webkit-scrollbar-track{
background-image: url(background.bmp) background-image: url(background.bmp)
@ -96,35 +98,33 @@ Scrollbar (only chrome & safari)
border: 1px outset #fff; border: 1px outset #fff;
border-shadow: 1px 1px #000; border-shadow: 1px 1px #000;
height: 40px; height: 40px;
background-color: silver background-color: #c0c0c0;
} }
::-webkit-scrollbar-corner:vertical { ::-webkit-scrollbar-corner:vertical {
background-color: #000 background-color: #000;
} }
:-webkit-scrollbar-button:start:decrement,::-webkit-scrollbar-button:end:increment { :-webkit-scrollbar-button:start:decrement,::-webkit-scrollbar-button:end:increment {
display: block display: block;
} }
::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:start:increment { ::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:start:increment {
display: none display: none;
} }
::-webkit-scrollbar-button:horizontal:increment { ::-webkit-scrollbar-button:horizontal:increment {
background: silver url(comboright.png) no-repeat 50%; background: #c0c0c0 url(comboright.png) no-repeat 50%;
-webkit-transform: rotateX(-90deg); -webkit-transform: rotateY(-90deg) rotateX(-90deg);
transform: rotateX(-90deg); transform: rotateY(-90deg) rotateX(-90deg);
-webkit-transform: rotateY(-90deg);
transform: rotateY(-90deg)
} }
::-webkit-scrollbar-button:horizontal:decrement,::-webkit-scrollbar-button:horizontal:increment { ::-webkit-scrollbar-button:horizontal:decrement,::-webkit-scrollbar-button:horizontal:increment {
width: 18px; width: 18px;
height: 18px; height: 18px;
margin: 1px 1px 1px 10px; margin: 1px 1px 1px 10px;
border: 1px outset #fff; border: 1px outset #fff;
border-shadow: 1px 1px #000 border-shadow: 1px 1px #000;
} }
::-webkit-scrollbar-button:horizontal:decrement { ::-webkit-scrollbar-button:horizontal:decrement {
background: silver url(comboleft.png) no-repeat 50%; background: #c0c0c0 url(comboleft.png) no-repeat 50%;
transform: rotateX(180deg); transform: rotateX(180deg);
-webkit-transform: rotateY(180deg) -webkit-transform: rotateY(180deg);
} }
::-webkit-scrollbar-track-piece { ::-webkit-scrollbar-track-piece {
margin: 1px; margin: 1px;
@ -133,7 +133,7 @@ Scrollbar (only chrome & safari)
border: 1px outset #fff; border: 1px outset #fff;
border-shadow: 1px 1px #000; border-shadow: 1px 1px #000;
height: 40px; height: 40px;
background-color: silver background-color: #c0c0c0;
} }
/* /*
@ -141,54 +141,51 @@ Scrollbar (only chrome & safari)
Button styles Button styles
*/ */
.btn{ .btn {
border-width: 2px; border: 2px outset buttonface;
border-style: outset;
border-color: buttonface;
border-right-color: #424242; border-right-color: #424242;
border-bottom-color: #424242; border-bottom-color: #424242;
background: silver; background: #c0c0c0;
color: black; color: #000;
padding: 0 0 4px; padding: 0 0 4px;
border-radius: 1px; border-radius: 1px;
} }
.btn:hover { .btn:hover {
border: 2px inset #fff; border: 2px inset #fff;
background: silver; background: #c0c0c0;
color: #424242; color: #424242;
box-shadow: -1px -1px #000; box-shadow: -1px -1px #000;
} }
.btn:focus { .btn:focus {
border: 2px inset #fff !important; border: 2px inset #fff!important;
background: silver; background: #c0c0c0;
color: #424242; color: #424242;
box-shadow: -1px -1px #000 !important; box-shadow: -1px -1px #000!important;
outline: 0 !important; outline: 0!important;
background: url(background.bmp); background: url('background.bmp');
} }
.btn:active { .btn:active {
border: 2px inset #fff !important; border: 2px inset #fff!important;
color: #424242; color: #424242;
box-shadow: -1px -1px #000 !important; box-shadow: -1px -1px #000!important;
outline: 0 !important; outline: 0!important;
background: url(background.bmp); background: url('background.bmp');
} }
.btn-primary{ .btn-primary {
padding-left: 8px; padding-left: 8px;
padding-right: 8px; padding-right: 8px;
} }
button:focus{ button:focus {
outline: 1px dotted; outline: 1px dotted;
} }
.btn.disabled,.btn:disabled{ .btn.disabled, .btn:disabled {
cursor: default; cursor: default;
background-color: silver; background-color: #c0c0c0;
border-style: outset; border: 1px outset buttonface;
border-color: buttonface;
border-right-color: #424242; border-right-color: #424242;
border-bottom-color: #424242; border-bottom-color: #424242;
color: grey; color: #808080;
text-shadow: 1px 1px #fff; text-shadow: 1px 1px #fff;
} }
@ -197,42 +194,41 @@ button:focus{
CARDS CARDS
*/ */
.card{
border: solid; .card {
border-width: 2px; border: 2px solid;
border-bottom-color: #424242; border-bottom-color: #424242;
border-right-color: #424242; border-right-color: #424242;
border-left-color: #fff; border-left-color: #fff;
border-top-color: #fff; border-top-color: #fff;
background: silver; background: #c0c0c0;
color:#212529; color:#212529;
} }
.card.square{ .card.square {
border-radius: 0px; border-radius: 0px;
} }
.card.square .card-header{ .card.square.card-header {
border-radius: 0px; border-radius: 0px;
} }
.card.w95 .card-header{ .card.w95.card-header {
background: #08216b; background: #08216b;
/* OR #000082 is better?*/ /* OR #000082 is better?*/
} }
.card-header{ .card-header {
background: -webkit-linear-gradient(left,#08216b,#a5cef7); background: -webkit-linear-gradient(left,#08216b,#a5cef7);
color: #fff; color: #fff;
display: block; display: block;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
padding-top: 2px; padding: 2px 0 1px 0;
padding-bottom: 1px;
text-align: left; text-align: left;
} }
.card-header.icon{ .card-header.icon{
padding-left: 4px; padding-left: 4px;
} }
.header-inactive{ .header-inactive{
background: gray !important; background: #808080!important;
} }
/* /*
@ -240,64 +236,66 @@ CARDS
NAVBAR NAVBAR
*/ */
.navbar-95{
.navbar-95 {
background: silver; background: #c0c0c0;
margin: 0; margin: 0;
border: 1px outset #fff; border: 1px outset #fff;
min-height: 40px; min-height: 40px;
padding: 0 6px; padding: 0 6px;
color:#212529; color: #212529;
} }
.navbar-brand{ .navbar-brand {
color:#212529; color: #212529;
padding: 0 6px; padding: 0 6px;
} }
.nav-link{ .nav-link {
text-decoration: none; text-decoration: none;
display: inline-block; display: inline-block;
padding: 0 9px; padding: 0 9px;
color:#212529; color: #212529;
} }
.dropdown-menu{ .dropdown-menu {
display: none; display: none;
min-width: 119px; min-width: 119px;
padding: 0 0 2px; padding: 0 0 2px;
margin-left: 12px; margin-left: 12px;
font-size: 12px; font-size: 12px;
list-style-type: none; list-style-type: none;
background: silver; background: #c0c0c0;
border: 1.8px outset #fff; border: 1.8px outset #fff;
border-radius: 0; border-radius: 0;
-webkit-box-shadow: 1.5px 1.5px #000; -webkit-box-shadow: 1.5px 1.5px #000;
box-shadow: 1.5px 1.5px #000; box-shadow: 1.5px 1.5px #000;
} }
.dropdown-item{ .dropdown-item {
padding: 1px 0 1px 2px; padding: 1px 0 1px 2px;
} }
.dropdown-item:hover{ .dropdown-item:hover {
color:#08216b; color: #08216b;
} }
.navbar-light .navbar-toggler.collapsed .navbar-toggler-icon { .navbar-light .navbar-toggler.collapsed .navbar-toggler-icon {
width: 32px; width: 32px;
background: url(icons/directory_closed_cool-5.png); background: url('icons/directory_closed_cool-5.png');
} }
.navbar-light .navbar-toggler .navbar-toggler-icon { .navbar-light .navbar-toggler .navbar-toggler-icon {
width: 32px; width: 32px;
background: url(icons/directory_open_cool-5.png); background: url('icons/directory_open_cool-5.png');
} }
.navbar-toggler{ .navbar-toggler {
width: auto; width: auto;
} }
/* /*
FOOTER FOOTER
*/ */
.taskbar{
.taskbar {
cursor: default; cursor: default;
background-color: silver; background-color: #c0c0c0;
margin: 0; margin: 0;
padding: 0 8px; padding: 0 8px;
position: static; position: static;
@ -309,7 +307,7 @@ FOOTER
position: absolute; position: absolute;
bottom: 0; bottom: 0;
} }
.taskbar .start-button { .taskbar.start-button {
cursor: default; cursor: default;
display: inline-block; display: inline-block;
border: 1px outset #fff; border: 1px outset #fff;
@ -318,10 +316,9 @@ FOOTER
margin-bottom: 2px; margin-bottom: 2px;
font-size: 14px; font-size: 14px;
} }
.taskbar .time { .taskbar.time {
color:#212529; color: #212529;
margin-top: 2px; margin-top: 2px;
text-align: right; text-align: right;
font-size: 14px; font-size: 14px;
margin-right: 0px; margin-right: 0px;
@ -329,24 +326,28 @@ FOOTER
#page-content { #page-content {
flex: 1 0 auto; flex: 1 0 auto;
} }
/* /*
ICONS ICONS
*/ */
.icon-16{
margin-bottom:2px; .icon-16 {
margin-bottom: 2px;
max-height: 16px; max-height: 16px;
} }
.icon-16-4{ .icon-16-4 {
margin-bottom:4px; margin-bottom: 4px;
max-height: 16px; max-height: 16px;
} }
/* /*
FORMS FORMS
*/ */
.form-95 { .form-95 {
width: 100%; width: 100%;
border: 2px inset #d5d5d5; border: 2px inset #d5d5d5;
@ -354,8 +355,9 @@ FORMS
background: #fff; background: #fff;
box-shadow: -1px -1px 0 0 #828282; box-shadow: -1px -1px 0 0 #828282;
margin-top: 4px; margin-top: 4px;
padding-left:2px; padding-left: 2px;
} }
.bootstrap-select, .bootstrap-select,
textarea:focus, textarea:focus,
textarea.form-control:focus, textarea.form-control:focus,
@ -369,9 +371,10 @@ input[type=number]:focus,
[type=email].form-control:focus, [type=email].form-control:focus,
[type=tel].form-control:focus, [type=tel].form-control:focus,
[contenteditable].form-control:focus { [contenteditable].form-control:focus {
outline: 0 !important; outline: none!important;
} }
input[type="radio"],input[type="checkbox"] {
input[type="radio"], input[type="checkbox"] {
position: absolute; position: absolute;
left: -9999px; left: -9999px;
} }
@ -382,7 +385,8 @@ input[type="radio"],input[type="checkbox"] {
top: 0; top: 0;
left: 0; left: 0;
} }
.form-check-label{
.form-check-label {
margin-left: 6px; margin-left: 6px;
} }
@ -394,21 +398,23 @@ input[type="radio"] + .form-check-label::after {
.form-check-label::before { .form-check-label::before {
height: 20px; height: 20px;
width:20px; width: 20px;
top: 3px; top: 3px;
padding-right: 2px; padding-right: 2px;
border: 2px inset #d5d5d5; border: 2px inset #d5d5d5;
background: white; background: #fff;
box-shadow: -1px -1px 0 0 #828282; box-shadow: -1px -1px 0 0 #828282;
} }
input[type="radio"] + .form-check-label::after { input[type="radio"] + .form-check-label::after {
display: none; display: none;
width: 8px; width: 8px;
height: 8px; height: 8px;
margin: 6px; margin: 6px;
top: 3px; top: 3px;
background: black; background: #000;
} }
input[type="checkbox"] + .form-check-label::after { input[type="checkbox"] + .form-check-label::after {
display: none; display: none;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23000' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e"); background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23000' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
@ -417,24 +423,27 @@ input[type="checkbox"] + .form-check-label::after {
margin: 4px; margin: 4px;
top: 3px; top: 3px;
} }
input:checked + .form-check-label::after { input:checked + .form-check-label::after {
display: block; display: block;
} }
/* /*
Progress bar Progress bar
*/ */
.progress{ .progress{
height: 1rem; height: 1rem;
overflow: hidden; overflow: hidden;
font-size: .75rem; font-size: .75rem;
background-color: silver; background-color: #c0c0c0;
border-radius: 0rem; border-radius: 0rem;
border: 1px inset #d5d5d5; border: 1px inset #d5d5d5;
color: #424242; color: #424242;
} }
.progress-bar{ .progress-bar {
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
@ -450,8 +459,9 @@ Progress bar
background-color: #1a0094; background-color: #1a0094;
transition: width .6s ease; transition: width .6s ease;
} }
.progress-bar-blocks{
background-image: linear-gradient(90deg,transparent 75%,#d5d5d5 25%); .progress-bar-blocks {
background-image: linear-gradient(90deg, transparent 75%, #d5d5d5 25%);
background-size: 1rem 1rem; background-size: 1rem 1rem;
} }
@ -460,46 +470,45 @@ Progress bar
TABS TABS
*/ */
.tab-content { .tab-content {
background: silver; background: #c0c0c0;
border: solid; border: 2px solid;
border-width: 2px; border-color: #c0c0c0 #424242 #424242 #fff;
border-bottom-color: #424242;
border-right-color: #424242;
border-left-color: #fff;
border-top-color: silver;
padding: 1rem 1.4rem; padding: 1rem 1.4rem;
} }
.nav-tabs { .nav-tabs {
border-bottom: 2px solid white; border-bottom: 2px solid #fff;
} }
.nav-tabs .nav-item {
.nav-tabs.nav-item {
position: relative; position: relative;
margin-bottom: 0; margin-bottom: 0;
background: #c0c0c0; background: #c0c0c0;
color: black; color: #000;
border-top-left-radius: 4px; border-top-left-radius: 4px;
border-top-right-radius: 4px; border-top-right-radius: 4px;
border-right: 1px solid #5A5A5A; border-right: 1px solid #5A5A5A;
box-sizing: border-box; box-sizing: border-box;
} }
.nav-tabs .nav-item .nav-link { .nav-tabs.nav-item.nav-link {
color: black; color: #000;
padding: .2rem 1.8rem; padding: .2rem 1.8rem;
box-sizing: border-box; box-sizing: border-box;
transform: none; transform: none;
} }
.nav-tabs .nav-item .nav-link.active { .nav-tabs.nav-item.nav-link.active {
position: relative; position: relative;
background: #c0c0c0; background: #c0c0c0;
} }
.nav-tabs .nav-item:not(:first-child) .nav-link.active { .nav-tabs.nav-item:not(:first-child).nav-link.active {
border-left: 1px solid #5A5A5A; border-left: 1px solid #5A5A5A;
} }
.nav-tabs .nav-item:first-child{ .nav-tabs.nav-item:first-child {
border-left: 2px solid white; border-left: 2px solid #fff;
} }
.nav-tabs .nav-item .nav-link.active:after { .nav-tabs.nav-item.nav-link.active:after {
content: ''; content: '';
display: block; display: block;
width: 100%; width: 100%;
@ -509,7 +518,8 @@ TABS
bottom: -2px; bottom: -2px;
background: #c0c0c0; background: #c0c0c0;
} }
.nav-tabs .nav-link {
.nav-tabs.nav-link {
border: 0; border: 0;
padding: 1rem 1rem; padding: 1rem 1rem;
} }
@ -520,38 +530,44 @@ MODAL
TODO: make it draggable; TODO: make it draggable;
*/ */
.modal-content{
.modal-content {
box-shadow: 1px 1px 0 0 #424242; box-shadow: 1px 1px 0 0 #424242;
border: 1px solid #fff; border: 1px solid #fff;
border-right-color: #848484; border-right-color: #848484;
border-bottom-color: #848484; border-bottom-color: #848484;
background: silver; background: #c0c0c0;
padding: 2px; padding: 2px;
} }
.modal-header{
.modal-header {
height: 32px; height: 32px;
background: -webkit-linear-gradient(left,#08216b,#a5cef7)!important; background: -webkit-linear-gradient(left,#08216b,#a5cef7)!important;
color:white; color: #fff;
padding-top: 0px; padding-top: 0px;
padding-bottom: 0px; padding-bottom: 0px;
padding-left: 6px; padding-left: 6px;
padding-right: 6px; padding-right: 6px;
} }
.modal-header .btn{
.modal-header.btn {
margin-top: 5px; margin-top: 5px;
padding-bottom: 10px; padding-bottom: 10px;
height: 22px; height: 22px;
width: 22px; width: 22px;
} }
.modal-header .btn span{
.modal-header.btn span {
position: absolute; position: absolute;
top: 6px; top: 6px;
right: 14px; right: 14px;
} }
.modal-title{ .modal-title{
padding-top: 2px; padding-top: 2px;
padding-bottom: 1px; padding-bottom: 1px;
} }
.modal-footer{ .modal-footer{
padding: 6px; padding: 6px;
} }