Compare commits
2 Commits
dda33e70a0
...
7b56082251
Author | SHA1 | Date | |
---|---|---|---|
7b56082251 | |||
ec0a08b198 |
6
projects/C/osdialog-example/.gitignore
vendored
Normal file
6
projects/C/osdialog-example/.gitignore
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
# xmake
|
||||
.xmake/
|
||||
build/
|
||||
|
||||
# 3rd party
|
||||
third/
|
1
projects/C/osdialog-example/README.md
Normal file
1
projects/C/osdialog-example/README.md
Normal file
|
@ -0,0 +1 @@
|
|||
https://github.com/AndrewBelt/osdialog.git
|
1
projects/C/osdialog-example/include/osdialog.h
Symbolic link
1
projects/C/osdialog-example/include/osdialog.h
Symbolic link
|
@ -0,0 +1 @@
|
|||
../third/osdialog/osdialog.h
|
18
projects/C/osdialog-example/src/main.c
Normal file
18
projects/C/osdialog-example/src/main.c
Normal file
|
@ -0,0 +1,18 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include "osdialog.h"
|
||||
|
||||
int main(int argc, char const *argv[]) {
|
||||
int res;
|
||||
|
||||
res = osdialog_message(OSDIALOG_INFO, OSDIALOG_OK, "Info こんにちは");
|
||||
printf("Result: %d\n", res);
|
||||
|
||||
res = osdialog_message(OSDIALOG_WARNING, OSDIALOG_OK_CANCEL, "Warning こんにちは");
|
||||
printf("Result: %d\n", res);
|
||||
|
||||
res = osdialog_message(OSDIALOG_ERROR, OSDIALOG_YES_NO, "Error こんにちは");
|
||||
printf("Result: %d\n", res);
|
||||
|
||||
return 0;
|
||||
}
|
1
projects/C/osdialog-example/src/osdialog.c
Symbolic link
1
projects/C/osdialog-example/src/osdialog.c
Symbolic link
|
@ -0,0 +1 @@
|
|||
../third/osdialog/osdialog.c
|
1
projects/C/osdialog-example/src/osdialog_zenity.c
Symbolic link
1
projects/C/osdialog-example/src/osdialog_zenity.c
Symbolic link
|
@ -0,0 +1 @@
|
|||
../third/osdialog/osdialog_zenity.c
|
9
projects/C/osdialog-example/xmake.lua
Normal file
9
projects/C/osdialog-example/xmake.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
set_project("osdialog-example")
|
||||
set_languages("c99")
|
||||
add_rules("mode.release")
|
||||
|
||||
add_includedirs("include")
|
||||
|
||||
target("osdialog-example")
|
||||
set_kind("binary")
|
||||
add_files("src/*.c")
|
5
projects/CSS/uiverse.io/Card by G4b413l/index.html
Normal file
5
projects/CSS/uiverse.io/Card by G4b413l/index.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<div class="card">
|
||||
<div class="circle"></div>
|
||||
<div class="circle"></div>
|
||||
<div class="card-inner"></div>
|
||||
</div>
|
BIN
projects/CSS/uiverse.io/Card by G4b413l/screenshot.png
Normal file
BIN
projects/CSS/uiverse.io/Card by G4b413l/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
52
projects/CSS/uiverse.io/Card by G4b413l/styles.css
Normal file
52
projects/CSS/uiverse.io/Card by G4b413l/styles.css
Normal file
|
@ -0,0 +1,52 @@
|
|||
.card {
|
||||
width: 190px;
|
||||
height: 254px;
|
||||
transition: all 0.2s;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.card-inner {
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
background: rgba(255,255,255,.05);
|
||||
box-shadow: 0 0 10px rgba(0,0,0,0.25);
|
||||
backdrop-filter: blur(10px);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
transform: scale(1.04) rotate(1deg);
|
||||
}
|
||||
|
||||
.circle {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: radial-gradient(#b0e633, #53ef7d);
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
animation: move-up6 2s ease-in infinite alternate-reverse;
|
||||
}
|
||||
|
||||
.circle:nth-child(1) {
|
||||
top: -25px;
|
||||
left: -25px;
|
||||
}
|
||||
|
||||
.circle:nth-child(2) {
|
||||
bottom: -25px;
|
||||
right: -25px;
|
||||
animation-name: move-down1;
|
||||
}
|
||||
|
||||
@keyframes move-up6 {
|
||||
to {
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes move-down1 {
|
||||
to {
|
||||
transform: translateY(10px);
|
||||
}
|
||||
}
|
1
projects/CSS/uiverse.io/Card by adamgiebl/index.html
Normal file
1
projects/CSS/uiverse.io/Card by adamgiebl/index.html
Normal file
|
@ -0,0 +1 @@
|
|||
<div class="card"></div>
|
BIN
projects/CSS/uiverse.io/Card by adamgiebl/screenshot.png
Normal file
BIN
projects/CSS/uiverse.io/Card by adamgiebl/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
6
projects/CSS/uiverse.io/Card by adamgiebl/styles.css
Normal file
6
projects/CSS/uiverse.io/Card by adamgiebl/styles.css
Normal file
|
@ -0,0 +1,6 @@
|
|||
.card {
|
||||
width: 190px;
|
||||
height: 254px;
|
||||
background: rgb(236, 236, 236);
|
||||
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
|
||||
}
|
7
projects/CSS/uiverse.io/README.md
Normal file
7
projects/CSS/uiverse.io/README.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
## Card by G4b413l
|
||||
|
||||
![Card by G4b413l](Card by G4b413l/screenshot.png)
|
||||
|
||||
## Card by adamgiebl
|
||||
|
||||
![Card by adamgiebl](Card by adamgiebl/screenshot.png)
|
Loading…
Reference in New Issue
Block a user